;;;; ddraw

DIRECTDRAW_VERSION               = 0700h
; IUnknown                         = void     ; problem with definition of "typedef void"
_FACDD                           = 876h
;DUMMYUNIONNAMEN                  = n
DDENUM_ATTACHEDSECONDARYDEVICES  = 00000001h
DDENUM_DETACHEDSECONDARYDEVICES  = 00000002h
DDENUM_NONDISPLAYDEVICES         = 00000004h
DDCREATE_HARDWAREONLY            = 00000001h
DDCREATE_EMULATIONONLY           = 00000002h
DD_ROP_SPACE                     = 256/32
MAX_DDDEVICEID_STRING            = 512
DDGDI_GETHOSTIDENTIFIER          = 00000001h
;INTERFACE                        = IDirectDraw
DDSD_CAPS                        = 00000001h
DDSD_HEIGHT                      = 00000002h
DDSD_WIDTH                       = 00000004h
DDSD_PITCH                       = 00000008h
DDSD_BACKBUFFERCOUNT             = 00000020h
DDSD_ZBUFFERBITDEPTH             = 00000040h
DDSD_ALPHABITDEPTH               = 00000080h
DDSD_LPSURFACE                   = 00000800h
DDSD_PIXELFORMAT                 = 00001000h
DDSD_CKDESTOVERLAY               = 00002000h
DDSD_CKDESTBLT                   = 00004000h
DDSD_CKSRCOVERLAY                = 00008000h
DDSD_CKSRCBLT                    = 00010000h
DDSD_MIPMAPCOUNT                 = 00020000h
DDSD_REFRESHRATE                 = 00040000h
DDSD_LINEARSIZE                  = 00080000h
DDSD_TEXTURESTAGE                = 00100000h
DDSD_FVF                         = 00200000h
DDSD_SRCVBHANDLE                 = 00400000h
DDSD_DEPTH                       = 00800000h
DDSD_ALL                         = 00FFF9EEh
DDOSD_GUID                       = 00000001h
DDOSD_COMPRESSION_RATIO          = 00000002h
DDOSD_SCAPS                      = 00000004h
DDOSD_OSCAPS                     = 00000008h
DDOSD_ALL                        = 0000000Fh
DDOSDCAPS_OPTCOMPRESSED          = 00000001h
DDOSDCAPS_OPTREORDERED           = 00000002h
DDOSDCAPS_MONOLITHICMIPMAP       = 00000004h
DDOSDCAPS_VALIDSCAPS             = 30004800h
DDOSDCAPS_VALIDOSCAPS            = 00000007h
DDCOLOR_BRIGHTNESS               = 00000001h
DDCOLOR_CONTRAST                 = 00000002h
DDCOLOR_HUE                      = 00000004h
DDCOLOR_SATURATION               = 00000008h
DDCOLOR_SHARPNESS                = 00000010h
DDCOLOR_GAMMA                    = 00000020h
DDCOLOR_COLORENABLE              = 00000040h
DDSCAPS_RESERVED1                = 00000001h
DDSCAPS_ALPHA                    = 00000002h
DDSCAPS_BACKBUFFER               = 00000004h
DDSCAPS_COMPLEX                  = 00000008h
DDSCAPS_FLIP                     = 00000010h
DDSCAPS_FRONTBUFFER              = 00000020h
DDSCAPS_OFFSCREENPLAIN           = 00000040h
DDSCAPS_OVERLAY                  = 00000080h
DDSCAPS_PALETTE                  = 00000100h
DDSCAPS_PRIMARYSURFACE           = 00000200h
DDSCAPS_RESERVED3                = 00000400h
DDSCAPS_PRIMARYSURFACELEFT       = 00000000h
DDSCAPS_SYSTEMMEMORY             = 00000800h
DDSCAPS_TEXTURE                  = 00001000h
DDSCAPS_3DDEVICE                 = 00002000h
DDSCAPS_VIDEOMEMORY              = 00004000h
DDSCAPS_VISIBLE                  = 00008000h
DDSCAPS_WRITEONLY                = 00010000h
DDSCAPS_ZBUFFER                  = 00020000h
DDSCAPS_OWNDC                    = 00040000h
DDSCAPS_LIVEVIDEO                = 00080000h
DDSCAPS_HWCODEC                  = 00100000h
DDSCAPS_MODEX                    = 00200000h
DDSCAPS_MIPMAP                   = 00400000h
DDSCAPS_RESERVED2                = 00800000h
DDSCAPS_ALLOCONLOAD              = 04000000h
DDSCAPS_VIDEOPORT                = 08000000h
DDSCAPS_LOCALVIDMEM              = 10000000h
DDSCAPS_NONLOCALVIDMEM           = 20000000h
DDSCAPS_STANDARDVGAMODE          = 40000000h
DDSCAPS_OPTIMIZED                = 80000000h
DDSCAPS2_RESERVED4               = 00000002h
DDSCAPS2_HARDWAREDEINTERLACE     = 00000000h
DDSCAPS2_HINTDYNAMIC             = 00000004h
DDSCAPS2_HINTSTATIC              = 00000008h
DDSCAPS2_TEXTUREMANAGE           = 00000010h
DDSCAPS2_RESERVED1               = 00000020h
DDSCAPS2_RESERVED2               = 00000040h
DDSCAPS2_OPAQUE                  = 00000080h
DDSCAPS2_HINTANTIALIASING        = 00000100h
DDSCAPS2_CUBEMAP                 = 00000200h
DDSCAPS2_CUBEMAP_POSITIVEX       = 00000400h
DDSCAPS2_CUBEMAP_NEGATIVEX       = 00000800h
DDSCAPS2_CUBEMAP_POSITIVEY       = 00001000h
DDSCAPS2_CUBEMAP_NEGATIVEY       = 00002000h
DDSCAPS2_CUBEMAP_POSITIVEZ       = 00004000h
DDSCAPS2_CUBEMAP_NEGATIVEZ       = 00008000h
DDSCAPS2_MIPMAPSUBLEVEL          = 00010000h
DDSCAPS2_D3DTEXTUREMANAGE        = 00020000h
DDSCAPS2_DONOTPERSIST            = 00040000h
DDSCAPS2_STEREOSURFACELEFT       = 00080000h
DDSCAPS2_VOLUME                  = 00200000h
DDSCAPS2_NOTUSERLOCKABLE         = 00400000h
DDSCAPS2_POINTS                  = 00800000h
DDSCAPS2_RTPATCHES               = 01000000h
DDSCAPS2_NPATCHES                = 02000000h
DDSCAPS2_RESERVED3               = 04000000h
DDSCAPS2_DISCARDBACKBUFFER       = 10000000h
DDSCAPS2_ENABLEALPHACHANNEL      = 20000000h
DDSCAPS2_EXTENDEDFORMATPRIMARY   = 40000000h
DDSCAPS2_ADDITIONALPRIMARY       = 80000000h
DDSCAPS3_MULTISAMPLE_MASK        = 0000001Fh
DDSCAPS3_MULTISAMPLE_QUALITY_MASK = 000000E0h
DDSCAPS3_MULTISAMPLE_QUALITY_SHIFT = 5
DDSCAPS3_RESERVED1               = 00000100h
DDSCAPS3_RESERVED2               = 00000200h
DDSCAPS3_LIGHTWEIGHTMIPMAP       = 00000400h
DDSCAPS3_AUTOGENMIPMAP           = 00000800h
DDSCAPS3_DMAP                    = 00001000h
DDSCAPS3_CREATESHAREDRESOURCE    = 00002000h
DDSCAPS3_READONLYRESOURCE        = 00004000h
DDSCAPS3_OPENSHAREDRESOURCE      = 00008000h
DDCAPS_3D                        = 00000001h
DDCAPS_ALIGNBOUNDARYDEST         = 00000002h
DDCAPS_ALIGNSIZEDEST             = 00000004h
DDCAPS_ALIGNBOUNDARYSRC          = 00000008h
DDCAPS_ALIGNSIZESRC              = 00000010h
DDCAPS_ALIGNSTRIDE               = 00000020h
DDCAPS_BLT                       = 00000040h
DDCAPS_BLTQUEUE                  = 00000080h
DDCAPS_BLTFOURCC                 = 00000100h
DDCAPS_BLTSTRETCH                = 00000200h
DDCAPS_GDI                       = 00000400h
DDCAPS_OVERLAY                   = 00000800h
DDCAPS_OVERLAYCANTCLIP           = 00001000h
DDCAPS_OVERLAYFOURCC             = 00002000h
DDCAPS_OVERLAYSTRETCH            = 00004000h
DDCAPS_PALETTE                   = 00008000h
DDCAPS_PALETTEVSYNC              = 00010000h
DDCAPS_READSCANLINE              = 00020000h
DDCAPS_RESERVED1                 = 00040000h
DDCAPS_VBI                       = 00080000h
DDCAPS_ZBLTS                     = 00100000h
DDCAPS_ZOVERLAYS                 = 00200000h
DDCAPS_COLORKEY                  = 00400000h
DDCAPS_ALPHA                     = 00800000h
DDCAPS_COLORKEYHWASSIST          = 01000000h
DDCAPS_NOHARDWARE                = 02000000h
DDCAPS_BLTCOLORFILL              = 04000000h
DDCAPS_BANKSWITCHED              = 08000000h
DDCAPS_BLTDEPTHFILL              = 10000000h
DDCAPS_CANCLIP                   = 20000000h
DDCAPS_CANCLIPSTRETCHED          = 40000000h
DDCAPS_CANBLTSYSMEM              = 80000000h
DDCAPS2_CERTIFIED                = 00000001h
DDCAPS2_NO2DDURING3DSCENE        = 00000002h
DDCAPS2_VIDEOPORT                = 00000004h
DDCAPS2_AUTOFLIPOVERLAY          = 00000008h
DDCAPS2_CANBOBINTERLEAVED        = 00000010h
DDCAPS2_CANBOBNONINTERLEAVED     = 00000020h
DDCAPS2_COLORCONTROLOVERLAY      = 00000040h
DDCAPS2_COLORCONTROLPRIMARY      = 00000080h
DDCAPS2_CANDROPZ16BIT            = 00000100h
DDCAPS2_NONLOCALVIDMEM           = 00000200h
DDCAPS2_NONLOCALVIDMEMCAPS       = 00000400h
DDCAPS2_NOPAGELOCKREQUIRED       = 00000800h
DDCAPS2_WIDESURFACES             = 00001000h
DDCAPS2_CANFLIPODDEVEN           = 00002000h
DDCAPS2_CANBOBHARDWARE           = 00004000h
DDCAPS2_COPYFOURCC               = 00008000h
DDCAPS2_PRIMARYGAMMA             = 00020000h
DDCAPS2_CANRENDERWINDOWED        = 00080000h
DDCAPS2_CANCALIBRATEGAMMA        = 00100000h
DDCAPS2_FLIPINTERVAL             = 00200000h
DDCAPS2_FLIPNOVSYNC              = 00400000h
DDCAPS2_CANMANAGETEXTURE         = 00800000h
DDCAPS2_TEXMANINNONLOCALVIDMEM   = 01000000h
DDCAPS2_STEREO                   = 02000000h
DDCAPS2_SYSTONONLOCAL_AS_SYSTOLOCAL = 04000000h
DDCAPS2_RESERVED1                = 08000000h
DDCAPS2_CANMANAGERESOURCE        = 10000000h
DDCAPS2_DYNAMICTEXTURES          = 20000000h
DDCAPS2_CANAUTOGENMIPMAP         = 40000000h
DDCAPS2_CANSHARERESOURCE         = 80000000h
DDFXALPHACAPS_BLTALPHAEDGEBLEND  = 00000001h
DDFXALPHACAPS_BLTALPHAPIXELS     = 00000002h
DDFXALPHACAPS_BLTALPHAPIXELSNEG  = 00000004h
DDFXALPHACAPS_BLTALPHASURFACES   = 00000008h
DDFXALPHACAPS_BLTALPHASURFACESNEG = 00000010h
DDFXALPHACAPS_OVERLAYALPHAEDGEBLEND = 00000020h
DDFXALPHACAPS_OVERLAYALPHAPIXELS = 00000040h
DDFXALPHACAPS_OVERLAYALPHAPIXELSNEG = 00000080h
DDFXALPHACAPS_OVERLAYALPHASURFACES = 00000100h
DDFXALPHACAPS_OVERLAYALPHASURFACESNEG = 00000200h
DDFXCAPS_BLTARITHSTRETCHY        = 00000020h
DDFXCAPS_BLTARITHSTRETCHYN       = 00000010h
DDFXCAPS_BLTMIRRORLEFTRIGHT      = 00000040h
DDFXCAPS_BLTMIRRORUPDOWN         = 00000080h
DDFXCAPS_BLTROTATION             = 00000100h
DDFXCAPS_BLTROTATION90           = 00000200h
DDFXCAPS_BLTSHRINKX              = 00000400h
DDFXCAPS_BLTSHRINKXN             = 00000800h
DDFXCAPS_BLTSHRINKY              = 00001000h
DDFXCAPS_BLTSHRINKYN             = 00002000h
DDFXCAPS_BLTSTRETCHX             = 00004000h
DDFXCAPS_BLTSTRETCHXN            = 00008000h
DDFXCAPS_BLTSTRETCHY             = 00010000h
DDFXCAPS_BLTSTRETCHYN            = 00020000h
DDFXCAPS_OVERLAYARITHSTRETCHY    = 00040000h
DDFXCAPS_OVERLAYARITHSTRETCHYN   = 00000008h
DDFXCAPS_OVERLAYSHRINKX          = 00080000h
DDFXCAPS_OVERLAYSHRINKXN         = 00100000h
DDFXCAPS_OVERLAYSHRINKY          = 00200000h
DDFXCAPS_OVERLAYSHRINKYN         = 00400000h
DDFXCAPS_OVERLAYSTRETCHX         = 00800000h
DDFXCAPS_OVERLAYSTRETCHXN        = 01000000h
DDFXCAPS_OVERLAYSTRETCHY         = 02000000h
DDFXCAPS_OVERLAYSTRETCHYN        = 04000000h
DDFXCAPS_OVERLAYMIRRORLEFTRIGHT  = 08000000h
DDFXCAPS_OVERLAYMIRRORUPDOWN     = 10000000h
DDFXCAPS_OVERLAYDEINTERLACE      = 20000000h
DDFXCAPS_BLTALPHA                = 00000001h
DDFXCAPS_BLTFILTER               = DDFXCAPS_BLTARITHSTRETCHY
DDFXCAPS_OVERLAYALPHA            = 00000004h
DDFXCAPS_OVERLAYFILTER           = DDFXCAPS_OVERLAYARITHSTRETCHY
DDSVCAPS_RESERVED1               = 00000001h
DDSVCAPS_RESERVED2               = 00000002h
DDSVCAPS_RESERVED3               = 00000004h
DDSVCAPS_RESERVED4               = 00000008h
DDSVCAPS_STEREOSEQUENTIAL        = 00000010h
DDPCAPS_4BIT                     = 00000001h
DDPCAPS_8BITENTRIES              = 00000002h
DDPCAPS_8BIT                     = 00000004h
DDPCAPS_INITIALIZE               = 00000000h
DDPCAPS_PRIMARYSURFACE           = 00000010h
DDPCAPS_PRIMARYSURFACELEFT       = 00000020h
DDPCAPS_ALLOW256                 = 00000040h
DDPCAPS_VSYNC                    = 00000080h
DDPCAPS_1BIT                     = 00000100h
DDPCAPS_2BIT                     = 00000200h
DDPCAPS_ALPHA                    = 00000400h
DDSPD_IUNKNOWNPOINTER            = 00000001h
DDSPD_VOLATILE                   = 00000002h
DDBD_1                           = 00004000h
DDBD_2                           = 00002000h
DDBD_4                           = 00001000h
DDBD_8                           = 00000800h
DDBD_16                          = 00000400h
DDBD_24                          = 00000200h
DDBD_32                          = 00000100h
DDCKEY_COLORSPACE                = 00000001h
DDCKEY_DESTBLT                   = 00000002h
DDCKEY_DESTOVERLAY               = 00000004h
DDCKEY_SRCBLT                    = 00000008h
DDCKEY_SRCOVERLAY                = 00000010h
DDCKEYCAPS_DESTBLT               = 00000001h
DDCKEYCAPS_DESTBLTCLRSPACE       = 00000002h
DDCKEYCAPS_DESTBLTCLRSPACEYUV    = 00000004h
DDCKEYCAPS_DESTBLTYUV            = 00000008h
DDCKEYCAPS_DESTOVERLAY           = 00000010h
DDCKEYCAPS_DESTOVERLAYCLRSPACE   = 00000020h
DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV = 00000040h
DDCKEYCAPS_DESTOVERLAYONEACTIVE  = 00000080h
DDCKEYCAPS_DESTOVERLAYYUV        = 00000100h
DDCKEYCAPS_SRCBLT                = 00000200h
DDCKEYCAPS_SRCBLTCLRSPACE        = 00000400h
DDCKEYCAPS_SRCBLTCLRSPACEYUV     = 00000800h
DDCKEYCAPS_SRCBLTYUV             = 00001000h
DDCKEYCAPS_SRCOVERLAY            = 00002000h
DDCKEYCAPS_SRCOVERLAYCLRSPACE    = 00004000h
DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV = 00008000h
DDCKEYCAPS_SRCOVERLAYONEACTIVE   = 00010000h
DDCKEYCAPS_SRCOVERLAYYUV         = 00020000h
DDCKEYCAPS_NOCOSTOVERLAY         = 00040000h
DDPF_ALPHAPIXELS                 = 00000001h
DDPF_ALPHA                       = 00000002h
DDPF_FOURCC                      = 00000004h
DDPF_PALETTEINDEXED4             = 00000008h
DDPF_PALETTEINDEXEDTO8           = 00000010h
DDPF_PALETTEINDEXED8             = 00000020h
DDPF_RGB                         = 00000040h
DDPF_COMPRESSED                  = 00000080h
DDPF_RGBTOYUV                    = 00000100h
DDPF_YUV                         = 00000200h
DDPF_ZBUFFER                     = 00000400h
DDPF_PALETTEINDEXED1             = 00000800h
DDPF_PALETTEINDEXED2             = 00001000h
DDPF_ZPIXELS                     = 00002000h
DDPF_STENCILBUFFER               = 00004000h
DDPF_ALPHAPREMULT                = 00008000h
DDPF_LUMINANCE                   = 00020000h
DDPF_BUMPLUMINANCE               = 00040000h
DDPF_BUMPDUDV                    = 00080000h
DDENUMSURFACES_ALL               = 00000001h
DDENUMSURFACES_MATCH             = 00000002h
DDENUMSURFACES_NOMATCH           = 00000004h
DDENUMSURFACES_CANBECREATED      = 00000008h
DDENUMSURFACES_DOESEXIST         = 00000010h
DDSDM_STANDARDVGAMODE            = 00000001h
DDEDM_REFRESHRATES               = 00000001h
DDEDM_STANDARDVGAMODES           = 00000002h
DDSCL_FULLSCREEN                 = 00000001h
DDSCL_ALLOWREBOOT                = 00000002h
DDSCL_NOWINDOWCHANGES            = 00000004h
DDSCL_NORMAL                     = 00000008h
DDSCL_EXCLUSIVE                  = 00000010h
DDSCL_ALLOWMODEX                 = 00000040h
DDSCL_SETFOCUSWINDOW             = 00000080h
DDSCL_SETDEVICEWINDOW            = 00000100h
DDSCL_CREATEDEVICEWINDOW         = 00000200h
DDSCL_MULTITHREADED              = 00000400h
DDSCL_FPUSETUP                   = 00000800h
DDSCL_FPUPRESERVE                = 00001000h
DDBLT_ALPHADEST                  = 00000001h
DDBLT_ALPHADESTCONSTOVERRIDE     = 00000002h
DDBLT_ALPHADESTNEG               = 00000004h
DDBLT_ALPHADESTSURFACEOVERRIDE   = 00000008h
DDBLT_ALPHAEDGEBLEND             = 00000010h
DDBLT_ALPHASRC                   = 00000020h
DDBLT_ALPHASRCCONSTOVERRIDE      = 00000040h
DDBLT_ALPHASRCNEG                = 00000080h
DDBLT_ALPHASRCSURFACEOVERRIDE    = 00000100h
DDBLT_ASYNC                      = 00000200h
DDBLT_COLORFILL                  = 00000400h
DDBLT_DDFX                       = 00000800h
DDBLT_DDROPS                     = 00001000h
DDBLT_KEYDEST                    = 00002000h
DDBLT_KEYDESTOVERRIDE            = 00004000h
DDBLT_KEYSRC                     = 00008000h
DDBLT_KEYSRCOVERRIDE             = 00010000h
DDBLT_ROP                        = 00020000h
DDBLT_ROTATIONANGLE              = 00040000h
DDBLT_ZBUFFER                    = 00080000h
DDBLT_ZBUFFERDESTCONSTOVERRIDE   = 00100000h
DDBLT_ZBUFFERDESTOVERRIDE        = 00200000h
DDBLT_ZBUFFERSRCCONSTOVERRIDE    = 00400000h
DDBLT_ZBUFFERSRCOVERRIDE         = 00800000h
DDBLT_WAIT                       = 01000000h
DDBLT_DEPTHFILL                  = 02000000h
DDBLT_DONOTWAIT                  = 08000000h
DDBLT_PRESENTATION               = 10000000h
DDBLT_LAST_PRESENTATION          = 20000000h
DDBLT_EXTENDED_FLAGS             = 40000000h
DDBLT_EXTENDED_LINEAR_CONTENT    = 00000004h
DDBLTFAST_NOCOLORKEY             = 00000000h
DDBLTFAST_SRCCOLORKEY            = 00000001h
DDBLTFAST_DESTCOLORKEY           = 00000002h
DDBLTFAST_WAIT                   = 00000010h
DDBLTFAST_DONOTWAIT              = 00000020h
DDFLIP_WAIT                      = 00000001h
DDFLIP_EVEN                      = 00000002h
DDFLIP_ODD                       = 00000004h
DDFLIP_NOVSYNC                   = 00000008h
DDFLIP_INTERVAL2                 = 02000000h
DDFLIP_INTERVAL3                 = 03000000h
DDFLIP_INTERVAL4                 = 04000000h
DDFLIP_STEREO                    = 00000010h
DDFLIP_DONOTWAIT                 = 00000020h
DDOVER_ALPHADEST                 = 00000001h
DDOVER_ALPHADESTCONSTOVERRIDE    = 00000002h
DDOVER_ALPHADESTNEG              = 00000004h
DDOVER_ALPHADESTSURFACEOVERRIDE  = 00000008h
DDOVER_ALPHAEDGEBLEND            = 00000010h
DDOVER_ALPHASRC                  = 00000020h
DDOVER_ALPHASRCCONSTOVERRIDE     = 00000040h
DDOVER_ALPHASRCNEG               = 00000080h
DDOVER_ALPHASRCSURFACEOVERRIDE   = 00000100h
DDOVER_HIDE                      = 00000200h
DDOVER_KEYDEST                   = 00000400h
DDOVER_KEYDESTOVERRIDE           = 00000800h
DDOVER_KEYSRC                    = 00001000h
DDOVER_KEYSRCOVERRIDE            = 00002000h
DDOVER_SHOW                      = 00004000h
DDOVER_ADDDIRTYRECT              = 00008000h
DDOVER_REFRESHDIRTYRECTS         = 00010000h
DDOVER_REFRESHALL                = 00020000h
DDOVER_DDFX                      = 00080000h
DDOVER_AUTOFLIP                  = 00100000h
DDOVER_BOB                       = 00200000h
DDOVER_OVERRIDEBOBWEAVE          = 00400000h
DDOVER_INTERLEAVED               = 00800000h
DDOVER_BOBHARDWARE               = 01000000h
DDOVER_ARGBSCALEFACTORS          = 02000000h
DDOVER_DEGRADEARGBSCALING        = 04000000h
DDSETSURFACEDESC_RECREATEDC      = 00000000h
DDSETSURFACEDESC_PRESERVEDC      = 00000001h
DDLOCK_SURFACEMEMORYPTR          = 00000000h
DDLOCK_WAIT                      = 00000001h
DDLOCK_EVENT                     = 00000002h
DDLOCK_READONLY                  = 00000010h
DDLOCK_WRITEONLY                 = 00000020h
DDLOCK_NOSYSLOCK                 = 00000800h
DDLOCK_NOOVERWRITE               = 00001000h
DDLOCK_DISCARDCONTENTS           = 00002000h
DDLOCK_OKTOSWAP                  = 00002000h
DDLOCK_DONOTWAIT                 = 00004000h
DDLOCK_HASVOLUMETEXTUREBOXRECT   = 00008000h
DDLOCK_NODIRTYUPDATE             = 00010000h
DDBLTFX_ARITHSTRETCHY            = 00000001h
DDBLTFX_MIRRORLEFTRIGHT          = 00000002h
DDBLTFX_MIRRORUPDOWN             = 00000004h
DDBLTFX_NOTEARING                = 00000008h
DDBLTFX_ROTATE180                = 00000010h
DDBLTFX_ROTATE270                = 00000020h
DDBLTFX_ROTATE90                 = 00000040h
DDBLTFX_ZBUFFERRANGE             = 00000080h
DDBLTFX_ZBUFFERBASEDEST          = 00000100h
DDOVERFX_ARITHSTRETCHY           = 00000001h
DDOVERFX_MIRRORLEFTRIGHT         = 00000002h
DDOVERFX_MIRRORUPDOWN            = 00000004h
DDOVERFX_DEINTERLACE             = 00000008h
DDWAITVB_BLOCKBEGIN              = 00000001h
DDWAITVB_BLOCKBEGINEVENT         = 00000002h
DDWAITVB_BLOCKEND                = 00000004h
DDGFS_CANFLIP                    = 00000001h
DDGFS_ISFLIPDONE                 = 00000002h
DDGBS_CANBLT                     = 00000001h
DDGBS_ISBLTDONE                  = 00000002h
DDENUMOVERLAYZ_BACKTOFRONT       = 00000000h
DDENUMOVERLAYZ_FRONTTOBACK       = 00000001h
DDOVERZ_SENDTOFRONT              = 00000000h
DDOVERZ_SENDTOBACK               = 00000001h
DDOVERZ_MOVEFORWARD              = 00000002h
DDOVERZ_MOVEBACKWARD             = 00000003h
DDOVERZ_INSERTINFRONTOF          = 00000004h
DDOVERZ_INSERTINBACKOF           = 00000005h
DDSGR_CALIBRATE                  = 00000001h
DDSMT_ISTESTREQUIRED             = 00000001h
DDEM_MODEPASSED                  = 00000001h
DDEM_MODEFAILED                  = 00000002h
DD_OK                            = S_OK
DD_FALSE                         = S_FALSE
DDENUMRET_CANCEL                 = 0
DDENUMRET_OK                     = 1
DDERR_GENERIC                    = E_FAIL
DDERR_INVALIDPARAMS              = E_INVALIDARG
DDERR_OUTOFMEMORY                = E_OUTOFMEMORY
DDERR_UNSUPPORTED                = E_NOTIMPL
DDERR_NOTINITIALIZED             = CO_E_NOTINITIALIZED

;;;; end ddraw
;;;; misc

SHTDN_REASON_FLAG_COMMENT_REQUIRED = 01000000h
SHTDN_REASON_FLAG_DIRTY_PROBLEM_ID_REQUIRED = 02000000h
SHTDN_REASON_FLAG_CLEAN_UI       = 04000000h
SHTDN_REASON_FLAG_DIRTY_UI       = 08000000h
SHTDN_REASON_FLAG_USER_DEFINED   = 40000000h
SHTDN_REASON_FLAG_PLANNED        = 80000000h
SHTDN_REASON_MAJOR_OTHER         = 00000000h
SHTDN_REASON_MAJOR_NONE          = 00000000h
SHTDN_REASON_MAJOR_HARDWARE      = 00010000h
SHTDN_REASON_MAJOR_OPERATINGSYSTEM = 00020000h
SHTDN_REASON_MAJOR_SOFTWARE      = 00030000h
SHTDN_REASON_MAJOR_APPLICATION   = 00040000h
SHTDN_REASON_MAJOR_SYSTEM        = 00050000h
SHTDN_REASON_MAJOR_POWER         = 00060000h
SHTDN_REASON_MAJOR_LEGACY_API    = 00070000h
SHTDN_REASON_MINOR_OTHER         = 00000000h
SHTDN_REASON_MINOR_NONE          = 000000FFh
SHTDN_REASON_MINOR_MAINTENANCE   = 00000001h
SHTDN_REASON_MINOR_INSTALLATION  = 00000002h
SHTDN_REASON_MINOR_UPGRADE       = 00000003h
SHTDN_REASON_MINOR_RECONFIG      = 00000004h
SHTDN_REASON_MINOR_HUNG          = 00000005h
SHTDN_REASON_MINOR_UNSTABLE      = 00000006h
SHTDN_REASON_MINOR_DISK          = 00000007h
SHTDN_REASON_MINOR_PROCESSOR     = 00000008h
SHTDN_REASON_MINOR_NETWORKCARD   = 00000009h
SHTDN_REASON_MINOR_POWER_SUPPLY  = 0000000Ah
SHTDN_REASON_MINOR_CORDUNPLUGGED = 0000000Bh
SHTDN_REASON_MINOR_ENVIRONMENT   = 0000000Ch
SHTDN_REASON_MINOR_HARDWARE_DRIVER = 0000000Dh
SHTDN_REASON_MINOR_OTHERDRIVER   = 0000000Eh
SHTDN_REASON_MINOR_BLUESCREEN    = 0000000Fh
SHTDN_REASON_MINOR_SERVICEPACK   = 00000010h
SHTDN_REASON_MINOR_HOTFIX        = 00000011h
SHTDN_REASON_MINOR_SECURITYFIX   = 00000012h
SHTDN_REASON_MINOR_SECURITY      = 00000013h
SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY = 00000014h
SHTDN_REASON_MINOR_WMI           = 00000015h
SHTDN_REASON_MINOR_SERVICEPACK_UNINSTALL = 00000016h
SHTDN_REASON_MINOR_HOTFIX_UNINSTALL = 00000017h
SHTDN_REASON_MINOR_SECURITYFIX_UNINSTALL = 00000018h
SHTDN_REASON_MINOR_MMC           = 00000019h
SHTDN_REASON_MINOR_SYSTEMRESTORE = 0000001Ah
SHTDN_REASON_MINOR_TERMSRV       = 00000020h
SHTDN_REASON_MINOR_DC_PROMOTION  = 00000021h
SHTDN_REASON_MINOR_DC_DEMOTION   = 00000022h
SHTDN_REASON_UNKNOWN             = SHTDN_REASON_MINOR_NONE
SHTDN_REASON_VALID_BIT_MASK      = 0C0FFFFFFh
UCLEANUI                         = SHTDN_REASON_FLAG_CLEAN_UI
UDIRTYUI                         = SHTDN_REASON_FLAG_DIRTY_UI
MAX_REASON_NAME_LEN              = 64
MAX_REASON_DESC_LEN              = 256
MAX_REASON_BUGID_LEN             = 32
MAX_REASON_COMMENT_LEN           = 512
SHUTDOWN_TYPE_LEN                = 32
POLICY_SHOWREASONUI_NEVER        = 0
POLICY_SHOWREASONUI_ALWAYS       = 1
POLICY_SHOWREASONUI_WORKSTATIONONLY = 2
POLICY_SHOWREASONUI_SERVERONLY   = 3
SNAPSHOT_POLICY_NEVER            = 0
SNAPSHOT_POLICY_ALWAYS           = 1
SNAPSHOT_POLICY_UNPLANNED        = 2
MAX_NUM_REASONS                  = 256

; richole

REO_GETOBJ_NO_INTERFACES         = 00000000h
REO_GETOBJ_POLEOBJ               = 00000001h
REO_GETOBJ_PSTG                  = 00000002h
REO_GETOBJ_POLESITE              = 00000004h
REO_GETOBJ_ALL_INTERFACES        = 00000007h
REO_NULL                         = 00000000h
REO_READWRITEMASK                = 0000003Fh
REO_DONTNEEDPALETTE              = 00000020h
REO_BLANK                        = 00000010h
REO_DYNAMICSIZE                  = 00000008h
REO_INVERTEDSELECT               = 00000004h
REO_BELOWBASELINE                = 00000002h
REO_RESIZABLE                    = 00000001h
REO_LINK                         = 80000000h
REO_STATIC                       = 40000000h
REO_SELECTED                     = 08000000h
REO_OPEN                         = 04000000h
REO_INPLACEACTIVE                = 02000000h
REO_HILITED                      = 01000000h
REO_LINKAVAILABLE                = 00800000h
REO_GETMETAFILE                  = 00400000h
RECO_PASTE                       = 00000000h
RECO_DROP                        = 00000001h
RECO_COPY                        = 00000002h
RECO_CUT                         = 00000003h
RECO_DRAG                        = 00000004h

; rtutils

TRACE_USE_FILE                   = 00000001h
TRACE_USE_CONSOLE                = 00000002h
TRACE_NO_SYNCH                   = 00000004h
TRACE_NO_STDINFO                 = 00000001h
TRACE_USE_MASK                   = 00000002h
TRACE_USE_MSEC                   = 00000004h
TRACE_USE_DATE                   = 00000008h
INVALID_TRACEID                  = 0FFFFFFFFh
;RTASSERT                         = exp
RTUTILS_MAX_PROTOCOL_NAME_LEN    = 40
RTUTILS_MAX_PROTOCOL_DLL_LEN     = 48
MAX_PROTOCOL_NAME_LEN            = RTUTILS_MAX_PROTOCOL_NAME_LEN
MAX_PROTOCOL_DLL_LEN             = RTUTILS_MAX_PROTOCOL_DLL_LEN

; scrnsave

IDS_DESCRIPTION                  = 1
ID_APP                           = 100
DLG_SCRNSAVECONFIGURE            = 2003
idsIsPassword                    = 1000
idsIniFile                       = 1001
idsScreenSaver                   = 1002
idsPassword                      = 1003
idsDifferentPW                   = 1004
idsChangePW                      = 1005
idsBadOldPW                      = 1006
idsAppName                       = 1007
idsNoHelpMemory                  = 1008
idsHelpFile                      = 1009
idsDefKeyword                    = 1010
MAXFILELEN                       = 13
TITLEBARNAMELEN                  = 40
APPNAMEBUFFERLEN                 = 40
BUFFLEN                          = 255
SCRM_VERIFYPW                    = WM_APP

; setupAPI

;WINSETUPAPI                      = DECLSPEC_IMPORT
_SETUPAPI_VER                    = _WIN32_WINNT
LINE_LEN                         = 256
MAX_INF_STRING_LENGTH            = 4096
MAX_INF_SECTION_NAME_LENGTH      = 255
MAX_TITLE_LEN                    = 60
MAX_INSTRUCTION_LEN              = 256
MAX_LABEL_LEN                    = 30
MAX_SERVICE_NAME_LEN             = 256
MAX_SUBTITLE_LEN                 = 256
SP_ALTPLATFORM_FLAGS_VERSION_RANGE = 0001h
INF_STYLE_NONE                   = 00000000h
INF_STYLE_OLDNT                  = 00000001h
INF_STYLE_WIN4                   = 00000002h
INF_STYLE_CACHE_ENABLE           = 00000010h
INF_STYLE_CACHE_DISABLE          = 00000020h
INF_STYLE_CACHE_IGNORE           = 00000040h
DIRID_ABSOLUTE                   = -1
DIRID_ABSOLUTE_16BIT             = 0FFFFh
DIRID_NULL                       = 0
DIRID_SRCPATH                    = 1
DIRID_WINDOWS                    = 10
DIRID_SYSTEM                     = 11
DIRID_DRIVERS                    = 12
DIRID_IOSUBSYS                   = DIRID_DRIVERS
DIRID_INF                        = 17
DIRID_HELP                       = 18
DIRID_FONTS                      = 20
DIRID_VIEWERS                    = 21
DIRID_COLOR                      = 23
DIRID_APPS                       = 24
DIRID_SHARED                     = 25
DIRID_BOOT                       = 30
DIRID_SYSTEM16                   = 50
DIRID_SPOOL                      = 51
DIRID_SPOOLDRIVERS               = 52
DIRID_USERPROFILE                = 53
DIRID_LOADER                     = 54
DIRID_PRINTPROCESSOR             = 55
DIRID_DEFAULT                    = DIRID_SYSTEM
DIRID_COMMON_STARTMENU           = 16406
DIRID_COMMON_PROGRAMS            = 16407
DIRID_COMMON_STARTUP             = 16408
DIRID_COMMON_DESKTOPDIRECTORY    = 16409
DIRID_COMMON_FAVORITES           = 16415
DIRID_COMMON_APPDATA             = 16419
DIRID_PROGRAM_FILES              = 16422
DIRID_SYSTEM_X86                 = 16425
DIRID_PROGRAM_FILES_X86          = 16426
DIRID_PROGRAM_FILES_COMMON       = 16427
DIRID_PROGRAM_FILES_COMMONX86    = 16428
DIRID_COMMON_TEMPLATES           = 16429
DIRID_COMMON_DOCUMENTS           = 16430
DIRID_USER                       = 8000h
;PSP_FILE_CALLBACK                = PSP_FILE_CALLBACK_W
TYPEDEF PSP_FILE_CALLBACK, PVOID
SPFILENOTIFY_STARTQUEUE          = 00000001h
SPFILENOTIFY_ENDQUEUE            = 00000002h
SPFILENOTIFY_STARTSUBQUEUE       = 00000003h
SPFILENOTIFY_ENDSUBQUEUE         = 00000004h
SPFILENOTIFY_STARTDELETE         = 00000005h
SPFILENOTIFY_ENDDELETE           = 00000006h
SPFILENOTIFY_DELETEERROR         = 00000007h
SPFILENOTIFY_STARTRENAME         = 00000008h
SPFILENOTIFY_ENDRENAME           = 00000009h
SPFILENOTIFY_RENAMEERROR         = 0000000Ah
SPFILENOTIFY_STARTCOPY           = 0000000Bh
SPFILENOTIFY_ENDCOPY             = 0000000Ch
SPFILENOTIFY_COPYERROR           = 0000000Dh
SPFILENOTIFY_NEEDMEDIA           = 0000000Eh
SPFILENOTIFY_QUEUESCAN           = 0000000Fh
SPFILENOTIFY_CABINETINFO         = 00000010h
SPFILENOTIFY_FILEINCABINET       = 00000011h
SPFILENOTIFY_NEEDNEWCABINET      = 00000012h
SPFILENOTIFY_FILEEXTRACTED       = 00000013h
SPFILENOTIFY_FILEOPDELAYED       = 00000014h
SPFILENOTIFY_STARTBACKUP         = 00000015h
SPFILENOTIFY_BACKUPERROR         = 00000016h
SPFILENOTIFY_ENDBACKUP           = 00000017h
SPFILENOTIFY_QUEUESCAN_EX        = 00000018h
SPFILENOTIFY_STARTREGISTRATION   = 00000019h
SPFILENOTIFY_ENDREGISTRATION     = 00000020h
SPFILENOTIFY_QUEUESCAN_SIGNERINFO = 00000040h
SPFILENOTIFY_LANGMISMATCH        = 00010000h
SPFILENOTIFY_TARGETEXISTS        = 00020000h
SPFILENOTIFY_TARGETNEWER         = 00040000h
FILEOP_COPY                      = 0
FILEOP_RENAME                    = 1
FILEOP_DELETE                    = 2
FILEOP_BACKUP                    = 3
FILEOP_ABORT                     = 0
FILEOP_DOIT                      = 1
FILEOP_SKIP                      = 2
FILEOP_RETRY                     = FILEOP_DOIT
FILEOP_NEWPATH                   = 4
COPYFLG_WARN_IF_SKIP             = 00000001h
COPYFLG_NOSKIP                   = 00000002h
COPYFLG_NOVERSIONCHECK           = 00000004h
COPYFLG_FORCE_FILE_IN_USE        = 00000008h
COPYFLG_NO_OVERWRITE             = 00000010h
COPYFLG_NO_VERSION_DIALOG        = 00000020h
COPYFLG_OVERWRITE_OLDER_ONLY     = 00000040h
COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE = 00000100h
COPYFLG_REPLACEONLY              = 00000400h
COPYFLG_NODECOMP                 = 00000800h
COPYFLG_REPLACE_BOOT_FILE        = 00001000h
COPYFLG_NOPRUNE                  = 00002000h
COPYFLG_IN_USE_TRY_RENAME        = 00004000h
DELFLG_IN_USE                    = 00000001h
DELFLG_IN_USE1                   = 00010000h
SPREG_SUCCESS                    = 00000000h
SPREG_LOADLIBRARY                = 00000001h
SPREG_GETPROCADDR                = 00000002h
SPREG_REGSVR                     = 00000003h
SPREG_DLLINSTALL                 = 00000004h
SPREG_TIMEOUT                    = 00000005h
SPREG_UNKNOWN                    = 0FFFFFFFFh
SPINT_ACTIVE                     = 00000001h
SPINT_DEFAULT                    = 00000002h
SPINT_REMOVED                    = 00000004h
SPID_ACTIVE                      = SPINT_ACTIVE
SPID_DEFAULT                     = SPINT_DEFAULT
SPID_REMOVED                     = SPINT_REMOVED
DIF_SELECTDEVICE                 = 00000001h
DIF_INSTALLDEVICE                = 00000002h
DIF_ASSIGNRESOURCES              = 00000003h
DIF_PROPERTIES                   = 00000004h
DIF_REMOVE                       = 00000005h
DIF_FIRSTTIMESETUP               = 00000006h
DIF_FOUNDDEVICE                  = 00000007h
DIF_SELECTCLASSDRIVERS           = 00000008h
DIF_VALIDATECLASSDRIVERS         = 00000009h
DIF_INSTALLCLASSDRIVERS          = 0000000Ah
DIF_CALCDISKSPACE                = 0000000Bh
DIF_DESTROYPRIVATEDATA           = 0000000Ch
DIF_VALIDATEDRIVER               = 0000000Dh
DIF_DETECT                       = 0000000Fh
DIF_INSTALLWIZARD                = 00000010h
DIF_DESTROYWIZARDDATA            = 00000011h
DIF_PROPERTYCHANGE               = 00000012h
DIF_ENABLECLASS                  = 00000013h
DIF_DETECTVERIFY                 = 00000014h
DIF_INSTALLDEVICEFILES           = 00000015h
DIF_UNREMOVE                     = 00000016h
DIF_SELECTBESTCOMPATDRV          = 00000017h
DIF_ALLOW_INSTALL                = 00000018h
DIF_REGISTERDEVICE               = 00000019h
DIF_NEWDEVICEWIZARD_PRESELECT    = 0000001Ah
DIF_NEWDEVICEWIZARD_SELECT       = 0000001Bh
DIF_NEWDEVICEWIZARD_PREANALYZE   = 0000001Ch
DIF_NEWDEVICEWIZARD_POSTANALYZE  = 0000001Dh
DIF_NEWDEVICEWIZARD_FINISHINSTALL = 0000001Eh
DIF_UNUSED1                      = 0000001Fh
DIF_INSTALLINTERFACES            = 00000020h
DIF_DETECTCANCEL                 = 00000021h
DIF_REGISTER_COINSTALLERS        = 00000022h
DIF_ADDPROPERTYPAGE_ADVANCED     = 00000023h
DIF_ADDPROPERTYPAGE_BASIC        = 00000024h
DIF_RESERVED1                    = 00000025h
DIF_TROUBLESHOOTER               = 00000026h
DIF_POWERMESSAGEWAKE             = 00000027h
DIF_ADDREMOTEPROPERTYPAGE_ADVANCED = 00000028h
DIF_UPDATEDRIVER_UI              = 00000029h
DIF_FINISHINSTALL_ACTION         = 0000002Ah
DIF_RESERVED2                    = 00000030h
DIF_MOVEDEVICE                   = 0000000Eh
DI_SHOWOEM                       = 00000001h
DI_SHOWCOMPAT                    = 00000002h
DI_SHOWCLASS                     = 00000004h
DI_SHOWALL                       = 00000007h
DI_NOVCP                         = 00000008h
DI_DIDCOMPAT                     = 00000010h
DI_DIDCLASS                      = 00000020h
DI_AUTOASSIGNRES                 = 00000040h
DI_NEEDRESTART                   = 00000080h
DI_NEEDREBOOT                    = 00000100h
DI_NOBROWSE                      = 00000200h
DI_MULTMFGS                      = 00000400h
DI_DISABLED                      = 00000800h
DI_GENERALPAGE_ADDED             = 00001000h
DI_RESOURCEPAGE_ADDED            = 00002000h
DI_PROPERTIES_CHANGE             = 00004000h
DI_INF_IS_SORTED                 = 00008000h
DI_ENUMSINGLEINF                 = 00010000h
DI_DONOTCALLCONFIGMG             = 00020000h
DI_INSTALLDISABLED               = 00040000h
DI_COMPAT_FROM_CLASS             = 00080000h
DI_CLASSINSTALLPARAMS            = 00100000h
DI_NODI_DEFAULTACTION            = 00200000h
DI_QUIETINSTALL                  = 00800000h
DI_NOFILECOPY                    = 01000000h
DI_FORCECOPY                     = 02000000h
DI_DRIVERPAGE_ADDED              = 04000000h
DI_USECI_SELECTSTRINGS           = 08000000h
DI_OVERRIDE_INFFLAGS             = 10000000h
DI_PROPS_NOCHANGEUSAGE           = 20000000h
DI_NOSELECTICONS                 = 40000000h
DI_NOWRITE_IDS                   = 80000000h
DI_FLAGSEX_RESERVED2             = 00000001h
DI_FLAGSEX_RESERVED3             = 00000002h
DI_FLAGSEX_CI_FAILED             = 00000004h
DI_FLAGSEX_FINISHINSTALL_ACTION  = 00000008h
DI_FLAGSEX_DIDINFOLIST           = 00000010h
DI_FLAGSEX_DIDCOMPATINFO         = 00000020h
DI_FLAGSEX_FILTERCLASSES         = 00000040h
DI_FLAGSEX_SETFAILEDINSTALL      = 00000080h
DI_FLAGSEX_DEVICECHANGE          = 00000100h
DI_FLAGSEX_ALWAYSWRITEIDS        = 00000200h
DI_FLAGSEX_PROPCHANGE_PENDING    = 00000400h
DI_FLAGSEX_ALLOWEXCLUDEDDRVS     = 00000800h
DI_FLAGSEX_NOUIONQUERYREMOVE     = 00001000h
DI_FLAGSEX_USECLASSFORCOMPAT     = 00002000h
DI_FLAGSEX_RESERVED4             = 00004000h
DI_FLAGSEX_NO_DRVREG_MODIFY      = 00008000h
DI_FLAGSEX_IN_SYSTEM_SETUP       = 00010000h
DI_FLAGSEX_INET_DRIVER           = 00020000h
DI_FLAGSEX_APPENDDRIVERLIST      = 00040000h
DI_FLAGSEX_PREINSTALLBACKUP      = 00080000h
DI_FLAGSEX_BACKUPONREPLACE       = 00100000h
DI_FLAGSEX_DRIVERLIST_FROM_URL   = 00200000h
DI_FLAGSEX_RESERVED1             = 00400000h
DI_FLAGSEX_EXCLUDE_OLD_INET_DRIVERS = 00800000h
DI_FLAGSEX_POWERPAGE_ADDED       = 01000000h
DI_FLAGSEX_FILTERSIMILARDRIVERS  = 02000000h
DI_FLAGSEX_INSTALLEDDRIVER       = 04000000h
DI_FLAGSEX_NO_CLASSLIST_NODE_MERGE = 08000000h
DI_FLAGSEX_ALTPLATFORM_DRVSEARCH = 10000000h
DI_FLAGSEX_RESTART_DEVICE_ONLY   = 20000000h
DI_FLAGSEX_RECURSIVESEARCH       = 40000000h
DI_FLAGSEX_SEARCH_PUBLISHED_INFS = 80000000h
ENABLECLASS_QUERY                = 0
ENABLECLASS_SUCCESS              = 1
ENABLECLASS_FAILURE              = 2
DICS_ENABLE                      = 00000001h
DICS_DISABLE                     = 00000002h
DICS_PROPCHANGE                  = 00000003h
DICS_START                       = 00000004h
DICS_STOP                        = 00000005h
DICS_FLAG_GLOBAL                 = 00000001h
DICS_FLAG_CONFIGSPECIFIC         = 00000002h
DICS_FLAG_CONFIGGENERAL          = 00000004h
DI_REMOVEDEVICE_GLOBAL           = 00000001h
DI_REMOVEDEVICE_CONFIGSPECIFIC   = 00000002h
DI_UNREMOVEDEVICE_CONFIGSPECIFIC = 00000002h
MAX_INSTALLWIZARD_DYNAPAGES      = 20
NDW_INSTALLFLAG_DIDFACTDEFS      = 00000001h
NDW_INSTALLFLAG_HARDWAREALLREADYIN = 00000002h
NDW_INSTALLFLAG_NEEDRESTART      = DI_NEEDRESTART
NDW_INSTALLFLAG_NEEDREBOOT       = DI_NEEDREBOOT
NDW_INSTALLFLAG_NEEDSHUTDOWN     = 00000200h
NDW_INSTALLFLAG_EXPRESSINTRO     = 00000400h
NDW_INSTALLFLAG_SKIPISDEVINSTALLED = 00000800h
NDW_INSTALLFLAG_NODETECTEDDEVS   = 00001000h
NDW_INSTALLFLAG_INSTALLSPECIFIC  = 00002000h
NDW_INSTALLFLAG_SKIPCLASSLIST    = 00004000h
NDW_INSTALLFLAG_CI_PICKED_OEM    = 00008000h
NDW_INSTALLFLAG_PCMCIAMODE       = 00010000h
NDW_INSTALLFLAG_PCMCIADEVICE     = 00020000h
NDW_INSTALLFLAG_USERCANCEL       = 00040000h
NDW_INSTALLFLAG_KNOWNCLASS       = 00080000h
DYNAWIZ_FLAG_PAGESADDED          = 00000001h
DYNAWIZ_FLAG_ANALYZE_HANDLECONFLICT = 00000008h
DYNAWIZ_FLAG_INSTALLDET_NEXT     = 00000002h
DYNAWIZ_FLAG_INSTALLDET_PREV     = 00000004h
MIN_IDD_DYNAWIZ_RESOURCE_ID      = 10000
MAX_IDD_DYNAWIZ_RESOURCE_ID      = 11000
IDD_DYNAWIZ_FIRSTPAGE            = 10000
IDD_DYNAWIZ_SELECT_PREVPAGE      = 10001
IDD_DYNAWIZ_SELECT_NEXTPAGE      = 10002
IDD_DYNAWIZ_ANALYZE_PREVPAGE     = 10003
IDD_DYNAWIZ_ANALYZE_NEXTPAGE     = 10004
IDD_DYNAWIZ_SELECTDEV_PAGE       = 10009
IDD_DYNAWIZ_ANALYZEDEV_PAGE      = 10010
IDD_DYNAWIZ_INSTALLDETECTEDDEVS_PAGE = 10011
IDD_DYNAWIZ_SELECTCLASS_PAGE     = 10012
IDD_DYNAWIZ_INSTALLDETECTED_PREVPAGE = 10006
IDD_DYNAWIZ_INSTALLDETECTED_NEXTPAGE = 10007
IDD_DYNAWIZ_INSTALLDETECTED_NODEVS = 10008
DNF_DUPDESC                      = 00000001h
DNF_OLDDRIVER                    = 00000002h
DNF_EXCLUDEFROMLIST              = 00000004h
DNF_NODRIVER                     = 00000008h
DNF_LEGACYINF                    = 00000010h
DNF_CLASS_DRIVER                 = 00000020h
DNF_COMPATIBLE_DRIVER            = 00000040h
DNF_INET_DRIVER                  = 00000080h
DNF_UNUSED1                      = 00000100h
DNF_UNUSED2                      = 00000200h
DNF_OLD_INET_DRIVER              = 00000400h
DNF_BAD_DRIVER                   = 00000800h
DNF_DUPPROVIDER                  = 00001000h
DNF_INF_IS_SIGNED                = 00002000h
DNF_OEM_F6_INF                   = 00004000h
DNF_DUPDRIVERVER                 = 00008000h
DNF_BASIC_DRIVER                 = 00010000h
DNF_AUTHENTICODE_SIGNED          = 00020000h
DNF_INSTALLEDDRIVER              = 00040000h
DNF_ALWAYSEXCLUDEFROMLIST        = 00080000h
DNF_INBOX_DRIVER                 = 00100000h
DNF_UNUSED_21                    = 00200000h
DNF_UNUSED_22                    = 00400000h
DNF_UNUSED_23                    = 00800000h
DNF_UNUSED_24                    = 01000000h
DNF_UNUSED_25                    = 02000000h
DNF_UNUSED_26                    = 04000000h
DNF_UNUSED_27                    = 08000000h
DNF_UNUSED_28                    = 10000000h
DNF_UNUSED_29                    = 20000000h
DNF_UNUSED_30                    = 40000000h
DNF_UNUSED_31                    = 80000000h
DRIVER_HARDWAREID_RANK           = 00000FFFh
DRIVER_HARDWAREID_MASK           = 80000FFFh
DRIVER_UNTRUSTED_RANK            = 80000000h
DRIVER_W9X_SUSPECT_RANK          = 0C0000000h
DRIVER_COMPATID_RANK             = 00003FFFh
DRIVER_UNTRUSTED_HARDWAREID_RANK = 00008FFFh
DRIVER_UNTRUSTED_COMPATID_RANK   = 0000BFFFh
DRIVER_W9X_SUSPECT_HARDWAREID_RANK = 0000CFFFh
DRIVER_W9X_SUSPECT_COMPATID_RANK = 0000FFFFh
SPPSR_SELECT_DEVICE_RESOURCES    = 1
SPPSR_ENUM_BASIC_DEVICE_PROPERTIES = 2
SPPSR_ENUM_ADV_DEVICE_PROPERTIES = 3
ERROR_EXPECTED_SECTION_NAME      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0
ERROR_BAD_SECTION_NAME_LINE      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 1
ERROR_SECTION_NAME_TOO_LONG      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 2
ERROR_GENERAL_SYNTAX             = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 3
ERROR_WRONG_INF_STYLE            = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x100
ERROR_SECTION_NOT_FOUND          = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x101
ERROR_LINE_NOT_FOUND             = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x102
ERROR_NO_BACKUP                  = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x103
ERROR_NO_ASSOCIATED_CLASS        = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x200
ERROR_CLASS_MISMATCH             = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x201
ERROR_DUPLICATE_FOUND            = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x202
ERROR_NO_DRIVER_SELECTED         = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x203
ERROR_KEY_DOES_NOT_EXIST         = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x204
ERROR_INVALID_DEVINST_NAME       = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x205
ERROR_INVALID_CLASS              = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x206
ERROR_DEVINST_ALREADY_EXISTS     = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x207
ERROR_DEVINFO_NOT_REGISTERED     = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x208
ERROR_INVALID_REG_PROPERTY       = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x209
ERROR_NO_INF                     = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x20A
ERROR_NO_SUCH_DEVINST            = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x20B
ERROR_CANT_LOAD_CLASS_ICON       = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x20C
ERROR_INVALID_CLASS_INSTALLER    = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x20D
ERROR_DI_DO_DEFAULT              = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x20E
ERROR_DI_NOFILECOPY              = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x20F
ERROR_INVALID_HWPROFILE          = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x210
ERROR_NO_DEVICE_SELECTED         = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x211
ERROR_DEVINFO_LIST_LOCKED        = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x212
ERROR_DEVINFO_DATA_LOCKED        = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x213
ERROR_DI_BAD_PATH                = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x214
ERROR_NO_CLASSINSTALL_PARAMS     = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x215
ERROR_FILEQUEUE_LOCKED           = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x216
ERROR_BAD_SERVICE_INSTALLSECT    = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x217
ERROR_NO_CLASS_DRIVER_LIST       = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x218
ERROR_NO_ASSOCIATED_SERVICE      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x219
ERROR_NO_DEFAULT_DEVICE_INTERFACE = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x21A
ERROR_DEVICE_INTERFACE_ACTIVE    = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x21B
ERROR_DEVICE_INTERFACE_REMOVED   = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x21C
ERROR_BAD_INTERFACE_INSTALLSECT  = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x21D
ERROR_NO_SUCH_INTERFACE_CLASS    = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x21E
ERROR_INVALID_REFERENCE_STRING   = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x21F
ERROR_INVALID_MACHINENAME        = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x220
ERROR_REMOTE_COMM_FAILURE        = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x221
ERROR_MACHINE_UNAVAILABLE        = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x222
ERROR_NO_CONFIGMGR_SERVICES      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x223
ERROR_INVALID_PROPPAGE_PROVIDER  = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x224
ERROR_NO_SUCH_DEVICE_INTERFACE   = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x225
ERROR_DI_POSTPROCESSING_REQUIRED = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x226
ERROR_INVALID_COINSTALLER        = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x227
ERROR_NO_COMPAT_DRIVERS          = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x228
ERROR_NO_DEVICE_ICON             = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x229
ERROR_INVALID_INF_LOGCONFIG      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x22A
ERROR_DI_DONT_INSTALL            = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x22B
ERROR_INVALID_FILTER_DRIVER      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x22C
ERROR_NON_WINDOWS_NT_DRIVER      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x22D
ERROR_NON_WINDOWS_DRIVER         = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x22E
ERROR_NO_CATALOG_FOR_OEM_INF     = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x22F
ERROR_DEVINSTALL_QUEUE_NONNATIVE = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x230
ERROR_NOT_DISABLEABLE            = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x231
ERROR_CANT_REMOVE_DEVINST        = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x232
ERROR_INVALID_TARGET             = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x233
ERROR_DRIVER_NONNATIVE           = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x234
ERROR_IN_WOW64                   = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x235
ERROR_SET_SYSTEM_RESTORE_POINT   = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x236
ERROR_SCE_DISABLED               = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x238
ERROR_UNKNOWN_EXCEPTION          = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x239
ERROR_PNP_REGISTRY_ERROR         = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x23A
ERROR_REMOTE_REQUEST_UNSUPPORTED = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x23B
ERROR_NOT_AN_INSTALLED_OEM_INF   = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x23C
ERROR_INF_IN_USE_BY_DEVICES      = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x23D
ERROR_DI_FUNCTION_OBSOLETE       = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x23E
ERROR_NO_AUTHENTICODE_CATALOG    = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x23F
ERROR_AUTHENTICODE_DISALLOWED    = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x240
ERROR_AUTHENTICODE_TRUSTED_PUBLISHER = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x241
ERROR_AUTHENTICODE_TRUST_NOT_ESTABLISHED = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x242
ERROR_AUTHENTICODE_PUBLISHER_NOT_TRUSTED = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x243
ERROR_SIGNATURE_OSATTRIBUTE_MISMATCH = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x244
ERROR_ONLY_VALIDATE_VIA_AUTHENTICODE = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x245
ERROR_DEVICE_INSTALLER_NOT_READY = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x246
ERROR_DRIVER_STORE_ADD_FAILED    = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x247
ERROR_DEVICE_INSTALL_BLOCKED     = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x248
ERROR_DRIVER_INSTALL_BLOCKED     = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x249
ERROR_WRONG_INF_TYPE             = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x24A
ERROR_FILE_HASH_NOT_IN_CATALOG   = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x24B
ERROR_DRIVER_STORE_DELETE_FAILED = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x24C
ERROR_UNRECOVERABLE_STACK_OVERFLOW = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x300
EXCEPTION_SPAPI_UNRECOVERABLE_STACK_OVERFLOW = ERROR_UNRECOVERABLE_STACK_OVERFLOW
ERROR_NO_DEFAULT_INTERFACE_DEVICE = ERROR_NO_DEFAULT_DEVICE_INTERFACE
ERROR_INTERFACE_DEVICE_ACTIVE    = ERROR_DEVICE_INTERFACE_ACTIVE
ERROR_INTERFACE_DEVICE_REMOVED   = ERROR_DEVICE_INTERFACE_REMOVED
ERROR_NO_SUCH_INTERFACE_DEVICE   = ERROR_NO_SUCH_DEVICE_INTERFACE
ERROR_NOT_INSTALLED              = APPLICATION_ERROR_MASK or ERROR_SEVERITY_ERROR or 0x1000
INFINFO_INF_SPEC_IS_HINF         = 1
INFINFO_INF_NAME_IS_ABSOLUTE     = 2
INFINFO_DEFAULT_SEARCH           = 3
INFINFO_REVERSE_DEFAULT_SEARCH   = 4
INFINFO_INF_PATH_LIST_SEARCH     = 5
FILE_COMPRESSION_NONE            = 0
FILE_COMPRESSION_WINLZA          = 1
FILE_COMPRESSION_MSZIP           = 2
FILE_COMPRESSION_NTCAB           = 3
SRCLIST_TEMPORARY                = 00000001h
SRCLIST_NOBROWSE                 = 00000002h
SRCLIST_SYSTEM                   = 00000010h
SRCLIST_USER                     = 00000020h
SRCLIST_SYSIFADMIN               = 00000040h
SRCLIST_SUBDIRS                  = 00000100h
SRCLIST_APPEND                   = 00000200h
SRCLIST_NOSTRIPPLATFORM          = 00000400h
IDF_NOBROWSE                     = 00000001h
IDF_NOSKIP                       = 00000002h
IDF_NODETAILS                    = 00000004h
IDF_NOCOMPRESSED                 = 00000008h
IDF_CHECKFIRST                   = 00000100h
IDF_NOBEEP                       = 00000200h
IDF_NOFOREGROUND                 = 00000400h
IDF_WARNIFSKIP                   = 00000800h
IDF_NOREMOVABLEMEDIAPROMPT       = 00001000h
IDF_USEDISKNAMEASPROMPT          = 00002000h
IDF_OEMDISK                      = 80000000h
DPROMPT_SUCCESS                  = 0
DPROMPT_CANCEL                   = 1
DPROMPT_SKIPFILE                 = 2
DPROMPT_BUFFERTOOSMALL           = 3
DPROMPT_OUTOFMEMORY              = 4
SETDIRID_NOT_FULL_PATH           = 00000001h
SRCINFO_PATH                     = 1
SRCINFO_TAGFILE                  = 2
SRCINFO_DESCRIPTION              = 3
SRCINFO_FLAGS                    = 4
SRCINFO_TAGFILE2                 = 5
SRC_FLAGS_CABFILE                = 0010h
SP_COPY_DELETESOURCE             = 0000001h
SP_COPY_REPLACEONLY              = 0000002h
SP_COPY_NEWER                    = 0000004h
SP_COPY_NEWER_OR_SAME            = SP_COPY_NEWER
SP_COPY_NOOVERWRITE              = 0000008h
SP_COPY_NODECOMP                 = 0000010h
SP_COPY_LANGUAGEAWARE            = 0000020h
SP_COPY_SOURCE_ABSOLUTE          = 0000040h
SP_COPY_SOURCEPATH_ABSOLUTE      = 0000080h
SP_COPY_IN_USE_NEEDS_REBOOT      = 0000100h
SP_COPY_FORCE_IN_USE             = 0000200h
SP_COPY_NOSKIP                   = 0000400h
SP_FLAG_CABINETCONTINUATION      = 0000800h
SP_COPY_FORCE_NOOVERWRITE        = 0001000h
SP_COPY_FORCE_NEWER              = 0002000h
SP_COPY_WARNIFSKIP               = 0004000h
SP_COPY_NOBROWSE                 = 0008000h
SP_COPY_NEWER_ONLY               = 0010000h
SP_COPY_RESERVED                 = 0020000h
SP_COPY_OEMINF_CATALOG_ONLY      = 0040000h
SP_COPY_REPLACE_BOOT_FILE        = 0080000h
SP_COPY_NOPRUNE                  = 0100000h
SP_COPY_OEM_F6_INF               = 0200000h
SP_COPY_ALREADYDECOMP            = 0400000h
SP_COPY_WINDOWS_SIGNED           = 1000000h
SP_COPY_PNPLOCKED                = 2000000h
SP_COPY_IN_USE_TRY_RENAME        = 4000000h
SP_COPY_INBOX_INF                = 8000000h
SP_BACKUP_BACKUPPASS             = 00000001h
SP_BACKUP_DEMANDPASS             = 00000002h
SP_BACKUP_SPECIAL                = 00000004h
SP_BACKUP_BOOTFILE               = 00000008h
SPQ_SCAN_FILE_PRESENCE           = 00000001h
SPQ_SCAN_FILE_VALIDITY           = 00000002h
SPQ_SCAN_USE_CALLBACK            = 00000004h
SPQ_SCAN_USE_CALLBACKEX          = 00000008h
SPQ_SCAN_INFORM_USER             = 00000010h
SPQ_SCAN_PRUNE_COPY_QUEUE        = 00000020h
SPQ_SCAN_USE_CALLBACK_SIGNERINFO = 00000040h
SPQ_SCAN_PRUNE_DELREN            = 00000080h
SPQ_SCAN_FILE_PRESENCE_WITHOUT_SOURCE = 00000100h
SPQ_SCAN_FILE_COMPARISON         = 00000200h
SPQ_SCAN_ACTIVATE_DRP            = 00000400h
SPQ_DELAYED_COPY                 = 00000001h
SPQ_FLAG_BACKUP_AWARE            = 00000001h
SPQ_FLAG_ABORT_IF_UNSIGNED       = 00000002h
SPQ_FLAG_FILES_MODIFIED          = 00000004h
SPQ_FLAG_DO_SHUFFLEMOVE          = 00000008h
SPQ_FLAG_VALID                   = 0000000Fh
SPOST_NONE                       = 0
SPOST_PATH                       = 1
SPOST_URL                        = 2
SPOST_MAX                        = 3
SUOI_FORCEDELETE                 = 00000001h
SUOI_INTERNAL1                   = 00000002h
SPDSL_IGNORE_DISK                = 00000001h
SPDSL_DISALLOW_NEGATIVE_ADJUST   = 00000002h
SPFILEQ_FILE_IN_USE              = 00000001h
SPFILEQ_REBOOT_RECOMMENDED       = 00000002h
SPFILEQ_REBOOT_IN_PROGRESS       = 00000004h
FLG_ADDREG_DELREG_BIT            = 00008000h
FLG_ADDREG_BINVALUETYPE          = 00000001h
FLG_ADDREG_TYPE_BINARY           = FLG_ADDREG_BINVALUETYPE
FLG_ADDREG_NOCLOBBER             = 00000002h
FLG_ADDREG_DELVAL                = 00000004h
FLG_ADDREG_APPEND                = 00000008h
FLG_ADDREG_KEYONLY               = 00000010h
FLG_ADDREG_OVERWRITEONLY         = 00000020h
FLG_ADDREG_64BITKEY              = 00001000h
FLG_ADDREG_KEYONLY_COMMON        = 00002000h
FLG_ADDREG_32BITKEY              = 00004000h
FLG_ADDREG_TYPE_SZ               = 00000000h
FLG_ADDREG_TYPE_MULTI_SZ         = 00010000h
FLG_ADDREG_TYPE_DWORD            = 00010001h
FLG_ADDREG_TYPE_EXPAND_SZ        = 00020000h
FLG_ADDREG_TYPE_NONE             = 00020001h
FLG_ADDREG_TYPE_MASK = FLG_ADDREG_DELREG_BIT or \
    FLG_ADDREG_BINVALUETYPE or \
    FLG_ADDREG_NOCLOBBER or \
    FLG_ADDREG_DELVAL or \
    FLG_ADDREG_APPEND or \
    FLG_ADDREG_KEYONLY or \
    FLG_ADDREG_OVERWRITEONLY or \
    FLG_ADDREG_64BITKEY or \
    FLG_ADDREG_KEYONLY_COMMON or \
    FLG_ADDREG_32BITKEY or \
    FLG_ADDREG_TYPE_SZ or \
    FLG_ADDREG_TYPE_MULTI_SZ or \
    FLG_ADDREG_TYPE_EXPAND_SZ or \
    FLG_ADDREG_TYPE_DWORD or \
    FLG_ADDREG_TYPE_NONE
FLG_DELREG_VALUE                 = 00000000h
FLG_DELREG_TYPE_MASK             = FLG_ADDREG_TYPE_MASK
FLG_DELREG_TYPE_SZ               = FLG_ADDREG_TYPE_SZ
FLG_DELREG_TYPE_MULTI_SZ         = FLG_ADDREG_TYPE_MULTI_SZ
FLG_DELREG_TYPE_EXPAND_SZ        = FLG_ADDREG_TYPE_EXPAND_SZ
FLG_DELREG_TYPE_BINARY           = FLG_ADDREG_TYPE_BINARY
FLG_DELREG_TYPE_DWORD            = FLG_ADDREG_TYPE_DWORD
FLG_DELREG_TYPE_NONE             = FLG_ADDREG_TYPE_NONE
FLG_DELREG_64BITKEY              = FLG_ADDREG_64BITKEY
FLG_DELREG_KEYONLY_COMMON        = FLG_ADDREG_KEYONLY_COMMON
FLG_DELREG_32BITKEY              = FLG_ADDREG_32BITKEY
FLG_DELREG_OPERATION_MASK        = 000000FEh
FLG_BITREG_CLEARBITS             = 00000000h
FLG_BITREG_SETBITS               = 00000001h
FLG_BITREG_64BITKEY              = 00001000h
FLG_BITREG_32BITKEY              = 00004000h
FLG_INI2REG_64BITKEY             = 00001000h
FLG_INI2REG_32BITKEY             = 00004000h
FLG_REGSVR_DLLREGISTER           = 00000001h
FLG_REGSVR_DLLINSTALL            = 00000002h
FLG_PROFITEM_CURRENTUSER         = 00000001h
FLG_PROFITEM_DELETE              = 00000002h
FLG_PROFITEM_GROUP               = 00000004h
FLG_PROFITEM_CSIDL               = 00000008h
FLG_ADDPROPERTY_NOCLOBBER        = 00000001h
FLG_ADDPROPERTY_OVERWRITEONLY    = 00000002h
FLG_ADDPROPERTY_APPEND           = 00000004h
FLG_ADDPROPERTY_OR               = 00000008h
FLG_ADDPROPERTY_AND              = 00000010h
FLG_DELPROPERTY_MULTI_SZ_DELSTRING = 00000001h
SPINST_LOGCONFIG                 = 00000001h
SPINST_INIFILES                  = 00000002h
SPINST_REGISTRY                  = 00000004h
SPINST_INI2REG                   = 00000008h
SPINST_FILES                     = 00000010h
SPINST_BITREG                    = 00000020h
SPINST_REGSVR                    = 00000040h
SPINST_UNREGSVR                  = 00000080h
SPINST_PROFILEITEMS              = 00000100h
SPINST_COPYINF                   = 00000200h
SPINST_PROPERTIES                = 00000400h
SPINST_ALL                       = 000007FFh
SPINST_SINGLESECTION             = 00010000h
SPINST_LOGCONFIG_IS_FORCED       = 00020000h
SPINST_LOGCONFIGS_ARE_OVERRIDES  = 00040000h
SPINST_REGISTERCALLBACKAWARE     = 00080000h
SPINST_DEVICEINSTALL             = 00100000h
SPSVCINST_TAGTOFRONT             = 00000001h
SPSVCINST_ASSOCSERVICE           = 00000002h
SPSVCINST_DELETEEVENTLOGENTRY    = 00000004h
SPSVCINST_NOCLOBBER_DISPLAYNAME  = 00000008h
SPSVCINST_NOCLOBBER_STARTTYPE    = 00000010h
SPSVCINST_NOCLOBBER_ERRORCONTROL = 00000020h
SPSVCINST_NOCLOBBER_LOADORDERGROUP = 00000040h
SPSVCINST_NOCLOBBER_DEPENDENCIES = 00000080h
SPSVCINST_NOCLOBBER_DESCRIPTION  = 00000100h
SPSVCINST_STOPSERVICE            = 00000200h
SPSVCINST_CLOBBER_SECURITY       = 00000400h
SPSVCINST_STARTSERVICE           = 00000800h
SPFILELOG_SYSTEMLOG              = 00000001h
SPFILELOG_FORCENEW               = 00000002h
SPFILELOG_QUERYONLY              = 00000004h
SPFILELOG_OEMFILE                = 00000001h
TYPEDEF LogSeverity, DWORD
LogSevInformation                = 00000000h
LogSevWarning                    = 00000001h
LogSevError                      = 00000002h
LogSevFatalError                 = 00000003h
LogSevMaximum                    = 00000004h
DICD_GENERATE_ID                 = 00000001h
DICD_INHERIT_CLASSDRVS           = 00000002h
DIOD_INHERIT_CLASSDRVS           = 00000002h
DIOD_CANCEL_REMOVE               = 00000004h
;SetupDiEnumInterfaceDevice       = SetupDiEnumDeviceInterfaces
;SetupDiCreateInterfaceDeviceW    = SetupDiCreateDeviceInterfaceW
;SetupDiCreateInterfaceDeviceA    = SetupDiCreateDeviceInterfaceA
;SetupDiCreateInterfaceDevice     = SetupDiCreateDeviceInterfaceW
DIODI_NO_ADD                     = 00000001h
;SetupDiOpenInterfaceDeviceW      = SetupDiOpenDeviceInterfaceW
;SetupDiOpenInterfaceDeviceA      = SetupDiOpenDeviceInterfaceA
;SetupDiOpenInterfaceDevice       = SetupDiOpenDeviceInterfaceW
;SetupDiGetInterfaceDeviceAlias   = SetupDiGetDeviceInterfaceAlias
;SetupDiDeleteInterfaceDeviceData = SetupDiDeleteDeviceInterfaceData
;SetupDiRemoveInterfaceDevice     = SetupDiRemoveDeviceInterface
;SetupDiGetInterfaceDeviceDetailW = SetupDiGetDeviceInterfaceDetailW
;SetupDiGetInterfaceDeviceDetailA = SetupDiGetDeviceInterfaceDetailA
;SetupDiGetInterfaceDeviceDetail  = SetupDiGetDeviceInterfaceDetailW
;SetupDiInstallInterfaceDevices   = SetupDiInstallDeviceInterfaces
SPRDI_FIND_DUPS                  = 00000001h
SPDIT_NODRIVER                   = 00000000h
SPDIT_CLASSDRIVER                = 00000001h
SPDIT_COMPATDRIVER               = 00000002h
DIGCF_DEFAULT                    = 00000001h
DIGCF_PRESENT                    = 00000002h
DIGCF_ALLCLASSES                 = 00000004h
DIGCF_PROFILE                    = 00000008h
DIGCF_DEVICEINTERFACE            = 00000010h
DIGCF_INTERFACEDEVICE            = DIGCF_DEVICEINTERFACE
DIBCI_NOINSTALLCLASS             = 00000001h
DIBCI_NODISPLAYCLASS             = 00000002h
DIOCR_INSTALLER                  = 00000001h
DIOCR_INTERFACE                  = 00000002h
;SetupDiCreateInterfaceDeviceRegKeyW = SetupDiCreateDeviceInterfaceRegKeyW
;SetupDiCreateInterfaceDeviceRegKeyA = SetupDiCreateDeviceInterfaceRegKeyA
;SetupDiCreateInterfaceDeviceRegKey = SetupDiCreateDeviceInterfaceRegKeyW
;SetupDiOpenInterfaceDeviceRegKey = SetupDiOpenDeviceInterfaceRegKey
;SetupDiDeleteInterfaceDeviceRegKey = SetupDiDeleteDeviceInterfaceRegKey
DIREG_DEV                        = 00000001h
DIREG_DRV                        = 00000002h
DIREG_BOTH                       = 00000004h
DICLASSPROP_INSTALLER            = 00000001h
DICLASSPROP_INTERFACE            = 00000002h
SPDRP_DEVICEDESC                 = 00000000h
SPDRP_HARDWAREID                 = 00000001h
SPDRP_COMPATIBLEIDS              = 00000002h
SPDRP_UNUSED0                    = 00000003h
SPDRP_SERVICE                    = 00000004h
SPDRP_UNUSED1                    = 00000005h
SPDRP_UNUSED2                    = 00000006h
SPDRP_CLASS                      = 00000007h
SPDRP_CLASSGUID                  = 00000008h
SPDRP_DRIVER                     = 00000009h
SPDRP_CONFIGFLAGS                = 0000000Ah
SPDRP_MFG                        = 0000000Bh
SPDRP_FRIENDLYNAME               = 0000000Ch
SPDRP_LOCATION_INFORMATION       = 0000000Dh
SPDRP_PHYSICAL_DEVICE_OBJECT_NAME = 0000000Eh
SPDRP_CAPABILITIES               = 0000000Fh
SPDRP_UI_NUMBER                  = 00000010h
SPDRP_UPPERFILTERS               = 00000011h
SPDRP_LOWERFILTERS               = 00000012h
SPDRP_BUSTYPEGUID                = 00000013h
SPDRP_LEGACYBUSTYPE              = 00000014h
SPDRP_BUSNUMBER                  = 00000015h
SPDRP_ENUMERATOR_NAME            = 00000016h
SPDRP_SECURITY                   = 00000017h
SPDRP_SECURITY_SDS               = 00000018h
SPDRP_DEVTYPE                    = 00000019h
SPDRP_EXCLUSIVE                  = 0000001Ah
SPDRP_CHARACTERISTICS            = 0000001Bh
SPDRP_ADDRESS                    = 0000001Ch
SPDRP_UI_NUMBER_DESC_FORMAT      = 0000001Dh
SPDRP_DEVICE_POWER_DATA          = 0000001Eh
SPDRP_REMOVAL_POLICY             = 0000001Fh
SPDRP_REMOVAL_POLICY_HW_DEFAULT  = 00000020h
SPDRP_REMOVAL_POLICY_OVERRIDE    = 00000021h
SPDRP_INSTALL_STATE              = 00000022h
SPDRP_LOCATION_PATHS             = 00000023h
SPDRP_MAXIMUM_PROPERTY           = 00000024h
SPCRP_UPPERFILTERS               = 00000011h
SPCRP_LOWERFILTERS               = 00000012h
SPCRP_SECURITY                   = 00000017h
SPCRP_SECURITY_SDS               = 00000018h
SPCRP_DEVTYPE                    = 00000019h
SPCRP_EXCLUSIVE                  = 0000001Ah
SPCRP_CHARACTERISTICS            = 0000001Bh
SPCRP_MAXIMUM_PROPERTY           = 0000001Ch
DMI_MASK                         = 00000001h
DMI_BKCOLOR                      = 00000002h
DMI_USERECT                      = 00000004h
DIGCDP_FLAG_BASIC                = 00000001h
DIGCDP_FLAG_ADVANCED             = 00000002h
DIGCDP_FLAG_REMOTE_BASIC         = 00000003h
DIGCDP_FLAG_REMOTE_ADVANCED      = 00000004h
IDI_RESOURCEFIRST                = 159
IDI_RESOURCE                     = 159
IDI_RESOURCELAST                 = 161
IDI_RESOURCEOVERLAYFIRST         = 161
IDI_RESOURCEOVERLAYLAST          = 161
IDI_CONFLICT                     = 161
IDI_CLASSICON_OVERLAYFIRST       = 500
IDI_CLASSICON_OVERLAYLAST        = 502
IDI_PROBLEM_OVL                  = 500
IDI_DISABLED_OVL                 = 501
IDI_FORCED_OVL                   = 502
SPWPT_SELECTDEVICE               = 00000001h
SPWP_USE_DEVINFO_DATA            = 00000001h
SIGNERSCORE_UNKNOWN              = 0FF000000h
SIGNERSCORE_W9X_SUSPECT          = 0C0000000h
SIGNERSCORE_UNSIGNED             = 80000000h
SIGNERSCORE_AUTHENTICODE         = 0F000000h
SIGNERSCORE_WHQL                 = 0D000005h
SIGNERSCORE_UNCLASSIFIED         = 0D000004h
SIGNERSCORE_INBOX                = 0D000003h
SIGNERSCORE_LOGO_STANDARD        = 0D000002h
SIGNERSCORE_LOGO_PREMIUM         = 0D000001h
SIGNERSCORE_MASK                 = 0FF000000h
SIGNERSCORE_SIGNED_MASK          = 0F0000000h
DICUSTOMDEVPROP_MERGE_MULTISZ    = 00000001h
SCWMI_CLOBBER_SECURITY           = 00000001h

; shellAPI

;WINSHELLAPI                      = DECLSPEC_IMPORT
;SHSTDAPI                         = STDAPI
;SHDOCAPI                         = STDAPI
ABM_SETSTATE                     = 0000000Ah
SEE_MASK_NOASYNC                 = 00000100h
SEE_MASK_NOZONECHECKS            = 00800000h
SEE_MASK_NOQUERYCLASSSTORE       = 01000000h
SEE_MASK_WAITFORINPUTIDLE        = 02000000h
SEE_MASK_FLAG_LOG_USAGE          = 04000000h
;DUMMYUNIONNAME                   = u
;DUMMYUNIONNAME2                  = u2
;DUMMYUNIONNAME3                  = u3
;DUMMYUNIONNAME4                  = u4
;DUMMYUNIONNAME5                  = u5
NOTIFYICONDATA_V1_SIZE           = sizeof.NOTIFYICONDATA
NOTIFYICONDATA_V2_SIZE           = sizeof.NOTIFYICONDATA
NOTIFYICONDATA_V3_SIZE           = sizeof.NOTIFYICONDATA
NINF_KEY                         = 1h
NIM_SETFOCUS                     = 00000003h
NIM_SETVERSION                   = 00000004h
NOTIFYICON_VERSION               = 3
NOTIFYICON_VERSION_4             = 4
NIF_STATE                        = 00000008h
NIF_INFO                         = 00000010h
NIF_GUID                         = 00000020h
NIF_REALTIME                     = 00000040h
NIF_SHOWTIP                      = 00000080h
NIS_HIDDEN                       = 00000001h
NIS_SHAREDICON                   = 00000002h
NIIF_NONE                        = 00000000h
NIIF_INFO                        = 00000001h
NIIF_WARNING                     = 00000002h
NIIF_ERROR                       = 00000003h
NIIF_USER                        = 00000004h
NIIF_ICON_MASK                   = 0000000Fh
NIIF_NOSOUND                     = 00000010h
NIIF_LARGE_ICON                  = 00000020h
SHGFI_ADDOVERLAYS                = 00000020h
SHGFI_OVERLAYINDEX               = 00000040h
SHGSI_ICONLOCATION               = 0
SHGSI_ICON                       = SHGFI_ICON
SHGSI_SYSICONINDEX               = SHGFI_SYSICONINDEX
SHGSI_LINKOVERLAY                = SHGFI_LINKOVERLAY
SHGSI_SELECTED                   = SHGFI_SELECTED
SHGSI_LARGEICON                  = SHGFI_LARGEICON
SHGSI_SMALLICON                  = SHGFI_SMALLICON
SHGSI_SHELLICONSIZE              = SHGFI_SHELLICONSIZE
;SHGetDiskFreeSpace               = SHGetDiskFreeSpaceEx
SHGNLI_NOLNK                     = 000000008h
SHGNLI_NOLOCNAME                 = 000000010h
PRINT_PROP_FORCE_NAME            = 01h
OFFLINE_STATUS_LOCAL             = 0001h
OFFLINE_STATUS_REMOTE            = 0002h
OFFLINE_STATUS_INCOMPLETE        = 0004h
SHIL_LARGE                       = 0
SHIL_SMALL                       = 1
SHIL_EXTRALARGE                  = 2
SHIL_SYSSMALL                    = 3
SHIL_JUMBO                       = 4
SHIL_LAST                        = SHIL_JUMBO
NCM_GETADDRESS                   = WM_USER+1
NCM_SETALLOWTYPE                 = WM_USER+2
NCM_GETALLOWTYPE                 = WM_USER+3
NCM_DISPLAYERRORTIP              = WM_USER+4

; shlobj

;SHSTDDOCAPI                      = STDAPI
;BROWSEUIAPI                      = STDAPI
;SHFOLDERAPI                      = STDAPI
;IExtractIconVtbl                 = IExtractIconWVtbl
;IShellExecuteHookVtbl            = IShellExecuteHookWVtbl
;INewShortcutHookVtbl             = INewShortcutHookWVtbl
;ICopyHookVtbl                    = ICopyHookWVtbl
;CMDID_INTSHORTCUTCREATE          = ISHCUTCMDID_INTSHORTCUTCREATE
CFSTR_SHELLURL                   equ 'UniformResourceLocator'
CFSTR_INETURLA                   equ CFSTR_SHELLURL
;ILCloneFull                      = ILClone
;ILCloneChild                     = ILCloneFirst
SFVSOC_NOSCROLL                  = LVSICF_NOSCROLL

;;;; end misc
;;;; shlobj

ADDURL_SILENT                    = 0001h
AD_APPLY_ALL                     = (AD_APPLY_SAVE or AD_APPLY_HTMLGEN or AD_APPLY_REFRESH)
AD_APPLY_BUFFERED_REFRESH        = 00000010h
AD_APPLY_DYNAMICREFRESH          = 00000020h
AD_APPLY_FORCE                   = 00000008h
AD_APPLY_HTMLGEN                 = 00000002h
AD_APPLY_REFRESH                 = 00000004h
AD_APPLY_SAVE                    = 00000001h
AD_GETWP_BMP                     = 00000000h
AD_GETWP_IMAGE                   = 00000001h
AD_GETWP_LAST_APPLIED            = 00000002h
BFFM_ENABLEOK                    = (WM_USER + 101)
BFFM_INITIALIZED                 = 1
BFFM_IUNKNOWN                    = 5
BFFM_SELCHANGED                  = 2
BFFM_SETEXPANDED                 = (WM_USER + 106)
BFFM_SETOKTEXT                   = (WM_USER + 105)
BFFM_VALIDATEFAILEDA             = 3
BFFM_VALIDATEFAILEDW             = 4
if UNICODE eq TRUE
    BFFM_VALIDATEFAILED = BFFM_VALIDATEFAILEDW
else
    BFFM_VALIDATEFAILED = BFFM_VALIDATEFAILEDA
end if

BIF_BROWSEFORCOMPUTER            = 1000h
BIF_BROWSEFORPRINTER             = 2000h
BIF_BROWSEINCLUDEFILES           = 4000h
BIF_BROWSEINCLUDEURLS            = 0080h
BIF_DONTGOBELOWDOMAIN            = 0002h
BIF_EDITBOX                      = 0010h
BIF_NEWDIALOGSTYLE               = 0040h
BIF_NONEWFOLDERBUTTON            = 0200h
BIF_NOTRANSLATETARGETS           = 0400h
BIF_RETURNFSANCESTORS            = 0008h
BIF_RETURNONLYFSDIRS             = 0001h
BIF_SHAREABLE                    = 8000h
BIF_STATUSTEXT                   = 0004h
BIF_UAHINT                       = 0100h
BIF_USENEWUI                     = (BIF_NEWDIALOGSTYLE or BIF_EDITBOX)
BIF_VALIDATE                     = 0020h
CABINETSTATE_VERSION             = 2
CDB2GVF_SHOWALLFILES             = 00000001h
CDB2N_CONTEXTMENU_DONE           = 00000001h
CDB2N_CONTEXTMENU_START          = 00000002h
CDBOSC_STATECHANGE               = 00000004h
CLOSEPROPS_DISCARD               = 0001h
CLOSEPROPS_NONE                  = 0000h
CMF_EXTENDEDVERBS                = 00000100h
CMF_FINDHACK                     = 00000080h
CMIC_MASK_CONTROL_DOWN           = 40000000h
CMIC_MASK_SHIFT_DOWN             = 10000000h
COMPONENT_DEFAULT_LEFT           = 0FFFFh
COMPONENT_DEFAULT_TOP            = 0FFFFh
COMPONENT_TOP                    = 3fffffffh
COMP_ELEM_CHECKED                = 00000002h
COMP_ELEM_CURITEMSTATE           = 00004000h
COMP_ELEM_DIRTY                  = 00000004h
COMP_ELEM_FRIENDLYNAME           = 00000400h
COMP_ELEM_NOSCROLL               = 00000008h
COMP_ELEM_ORIGINAL_CSI           = 00001000h
COMP_ELEM_POS_LEFT               = 00000010h
COMP_ELEM_POS_TOP                = 00000020h
COMP_ELEM_POS_ZINDEX             = 00000100h
COMP_ELEM_RESTORED_CSI           = 00002000h
COMP_ELEM_SIZE_HEIGHT            = 00000080h
COMP_ELEM_SIZE_WIDTH             = 00000040h
COMP_ELEM_SOURCE                 = 00000200h
COMP_ELEM_SUBSCRIBEDURL          = 00000800h
COMP_ELEM_TYPE                   = 00000001h
COMP_TYPE_CFHTML                 = 4
COMP_TYPE_CONTROL                = 3
COMP_TYPE_HTMLDOC                = 0
COMP_TYPE_MAX                    = 4
COMP_TYPE_PICTURE                = 1
COMP_TYPE_WEBSITE                = 2
CSIDL_ADMINTOOLS                 = 0030h
CSIDL_ALTSTARTUP                 = 001dh
CSIDL_APPDATA                    = 001ah
CSIDL_BITBUCKET                  = 000ah
CSIDL_CDBURN_AREA                = 003bh
CSIDL_COMMON_ADMINTOOLS          = 002fh
CSIDL_COMMON_ALTSTARTUP          = 001eh
CSIDL_COMMON_APPDATA             = 0023h
CSIDL_COMMON_DESKTOPDIRECTORY    = 0019h
CSIDL_COMMON_DOCUMENTS           = 002eh
CSIDL_COMMON_FAVORITES           = 001fh
CSIDL_COMMON_MUSIC               = 0035h
CSIDL_COMMON_OEM_LINKS           = 003ah
CSIDL_COMMON_PICTURES            = 0036h
CSIDL_COMMON_PROGRAMS            = 0017h
CSIDL_COMMON_STARTMENU           = 0016h
CSIDL_COMMON_STARTUP             = 0018h
CSIDL_COMMON_TEMPLATES           = 002dh
CSIDL_COMMON_VIDEO               = 0037h
CSIDL_COMPUTERSNEARME            = 003dh
CSIDL_CONNECTIONS                = 0031h
CSIDL_CONTROLS                   = 0003h
CSIDL_COOKIES                    = 0021h
CSIDL_DESKTOP                    = 0000h
CSIDL_DESKTOPDIRECTORY           = 0010h
CSIDL_DRIVES                     = 0011h
CSIDL_FAVORITES                  = 0006h
CSIDL_FLAG_CREATE                = 8000h
CSIDL_FLAG_DONT_UNEXPAND         = 2000h
CSIDL_FLAG_DONT_VERIFY           = 4000h
CSIDL_FLAG_MASK                  = 0FF00h
CSIDL_FLAG_NO_ALIAS              = 1000h
CSIDL_FLAG_PER_USER_INIT         = 0800h
CSIDL_FONTS                      = 0014h
CSIDL_HISTORY                    = 0022h
CSIDL_INTERNET                   = 0001h
CSIDL_INTERNET_CACHE             = 0020h
CSIDL_LOCAL_APPDATA              = 001ch
CSIDL_MYDOCUMENTS                = CSIDL_PERSONAL
CSIDL_MYMUSIC                    = 000dh
CSIDL_MYPICTURES                 = 0027h
CSIDL_MYVIDEO                    = 000eh
CSIDL_NETHOOD                    = 0013h
CSIDL_NETWORK                    = 0012h
CSIDL_PERSONAL                   = 0005h
CSIDL_PRINTERS                   = 0004h
CSIDL_PRINTHOOD                  = 001bh
CSIDL_PROFILE                    = 0028h
CSIDL_PROGRAMS                   = 0002h
CSIDL_PROGRAM_FILES              = 0026h
CSIDL_PROGRAM_FILESX86           = 002ah
CSIDL_PROGRAM_FILES_COMMON       = 002bh
CSIDL_PROGRAM_FILES_COMMONX86    = 002ch
CSIDL_RECENT                     = 0008h
CSIDL_RESOURCES                  = 0038h
CSIDL_RESOURCES_LOCALIZED        = 0039h
CSIDL_SENDTO                     = 0009h
CSIDL_STARTMENU                  = 000bh
CSIDL_STARTUP                    = 0007h
CSIDL_SYSTEM                     = 0025h
CSIDL_SYSTEMX86                  = 0029h
CSIDL_TEMPLATES                  = 0015h
CSIDL_WINDOWS                    = 0024h
DBC_GS_IDEAL                     = 0
DBC_GS_SIZEDOWN                  = 1
DBC_HIDE                         = 0
DBC_SHOW                         = 1
DBC_SHOWOBSCURE                  = 2
DFM_CMD_COPY                     = -3
DFM_CMD_DELETE                   = -1
DFM_CMD_LINK                     = -4
DFM_CMD_MODALPROP                = -12
DFM_CMD_MOVE                     = -2
DFM_CMD_NEWFOLDER                = -6
DFM_CMD_PASTE                    = -7
DFM_CMD_PASTELINK                = -10
DFM_CMD_PASTESPECIAL             = -11
DFM_CMD_PROPERTIES               = -5
DFM_CMD_RENAME                   = -13
DFM_CMD_VIEWDETAILS              = -9
DFM_CMD_VIEWLIST                 = -8
DFM_GETDEFSTATICID               = 14
DFM_GETHELPTEXT                  = 5
DFM_GETHELPTEXTW                 = 11
DFM_GETVERBA                     = 16
DFM_GETVERBW                     = 15
DFM_INVOKECOMMAND                = 2
DFM_INVOKECOMMANDEX              = 12
DFM_MAPCOMMANDNAME               = 13
DFM_MERGECONTEXTMENU             = 1
DFM_MERGECONTEXTMENU_BOTTOM      = 17
DFM_MERGECONTEXTMENU_TOP         = 10
DFM_VALIDATECMD                  = 9
DFM_WM_DRAWITEM                  = 7
DFM_WM_INITMENUPOPUP             = 8
DFM_WM_MEASUREITEM               = 6
DVASPECT_COPY                    = 3
DVASPECT_LINK                    = 4
DVASPECT_SHORTNAME               = 2
DWFAF_AUTOHIDE                   = 0010h
DWFAF_GROUP1                     = 0002h
DWFAF_GROUP2                     = 0004h
DWFAF_HIDDEN                     = 0001h
DWFRF_DELETECONFIGDATA           = 0001h
DWFRF_NORMAL                     = 0000h
EXP_DARWIN_ID_SIG                = 0A0000006h
EXP_LOGO3_ID_SIG                 = 0A0000007h
EXP_PROPERTYSTORAGE_SIG          = 0A0000009h
EXP_SPECIAL_FOLDER_SIG           = 0A0000005h
EXP_SZ_ICON_SIG                  = 0A0000007h
EXP_SZ_LINK_SIG                  = 0A0000001h
FCIDM_BROWSERFIRST               = 0a000h
FCIDM_BROWSERLAST                = 0bf00h
FCIDM_GLOBALFIRST                = 8000h
FCIDM_GLOBALLAST                 = 9fffh
FCIDM_MENU_EDIT                  = FCIDM_GLOBALFIRST+0040h
FCIDM_MENU_EXPLORE               = FCIDM_GLOBALFIRST+0150h
FCIDM_MENU_FAVORITES             = FCIDM_GLOBALFIRST+0170h
FCIDM_MENU_FILE                  = FCIDM_GLOBALFIRST+0000h
FCIDM_MENU_FIND                  = FCIDM_GLOBALFIRST+0140h
FCIDM_MENU_HELP                  = FCIDM_GLOBALFIRST+0100h
FCIDM_MENU_TOOLS                 = FCIDM_GLOBALFIRST+00c0h
FCIDM_MENU_TOOLS_SEP_GOTO        = FCIDM_GLOBALFIRST+00c1h
FCIDM_MENU_VIEW                  = FCIDM_GLOBALFIRST+0080h
FCIDM_MENU_VIEW_SEP_OPTIONS      = FCIDM_GLOBALFIRST+0081h
FCIDM_SHVIEWFIRST                = 0000h
FCIDM_SHVIEWLAST                 = 7fffh
FCIDM_STATUS                     = FCIDM_BROWSERFIRST + 1
FCIDM_TOOLBAR                    = FCIDM_BROWSERFIRST + 0
FCSM_CLSID                       = 00000008h
FCSM_FLAGS                       = 00000040h
FCSM_ICONFILE                    = 00000010h
FCSM_INFOTIP                     = 00000004h
FCSM_LOGO                        = 00000020h
FCSM_VIEWID                      = 00000001h
FCSM_WEBVIEWTEMPLATE             = 00000002h
FCS_FLAG_DRAGDROP                = 2
FCS_FORCEWRITE                   = 00000002h
FCS_READ                         = 00000001h
FCS_WRITE                        = (FCS_READ or FCS_FORCEWRITE)
FOF_NORECURSEREPARSE             = 8000h
FOF_NORECURSION                  = 1000h
FOF_NO_CONNECTED_ELEMENTS        = 2000h
FOF_WANTNUKEWARNING              = 4000h
FVSIF_CANVIEWIT                  = 40000000h
FVSIF_NEWFAILED                  = 08000000h
FVSIF_NEWFILE                    = 80000000h
FVSIF_PINNED                     = 00000002h
FVSIF_RECT                       = 00000001h
GADOF_DIRTY                      = 00000001h
GETPROPS_NONE                    = 0000h
GIL_ASYNC                        = 0020h
GIL_CHECKSHIELD                  = 0200h
GIL_DEFAULTICON                  = 0040h
GIL_DONTCACHE                    = 0010h
GIL_FORCENOSHIELD                = 0400h
GIL_FORSHELL                     = 0002h
GIL_FORSHORTCUT                  = 0080h
GIL_NOTFILENAME                  = 0008h
GIL_OPENICON                     = 0001h
GIL_PERCLASS                     = 0004h
GIL_PERINSTANCE                  = 0002h
GIL_SHIELD                       = 0200h
GIL_SIMULATEDOC                  = 0001h
IDC_OFFLINE_HAND                 = 103
IDC_PANTOOL_HAND_CLOSED          = 105
IDC_PANTOOL_HAND_OPEN            = 104
IDO_SHGIOI_LINK                  = 0FFFFFFEh
IDO_SHGIOI_SHARE                 = 0FFFFFFFh
IDO_SHGIOI_SLOWFILE              = 0FFFFFFFDh
IEIFLAG_ASPECT                   = 0004h
IEIFLAG_ASYNC                    = 0001h
IEIFLAG_CACHE                    = 0002h
IEIFLAG_GLEAM                    = 0010h
IEIFLAG_OFFLINE                  = 0008h
IEIFLAG_ORIGSIZE                 = 0040h
IEIFLAG_SCREEN                   = 0020h
IRTIR_TASK_FINISHED              = 4
IRTIR_TASK_NOT_RUNNING           = 0
IRTIR_TASK_PENDING               = 3
IRTIR_TASK_RUNNING               = 1
IRTIR_TASK_SUSPENDED             = 2
ISFBVIEWMODE_LARGEICONS          = 0002h
ISFBVIEWMODE_LOGOS               = 0003h
ISFBVIEWMODE_SMALLICONS          = 0001h
ISFB_MASK_BKCOLOR                = 00000002h
ISFB_MASK_COLORS                 = 00000020h
ISFB_MASK_IDLIST                 = 00000010h
ISFB_MASK_SHELLFOLDER            = 00000008h
ISFB_MASK_STATE                  = 00000001h
ISFB_MASK_VIEWMODE               = 00000004h
ISFB_STATE_ALLOWRENAME           = 00000002h
ISFB_STATE_BTNMINSIZE            = 00000100h
ISFB_STATE_CHANNELBAR            = 00000010h
ISFB_STATE_DEBOSSED              = 00000001h
ISFB_STATE_DEFAULT               = 00000000h
ISFB_STATE_FULLOPEN              = 00000040h
ISFB_STATE_NONAMESORT            = 00000080h
ISFB_STATE_NOSHOWTEXT            = 00000004h
ISFB_STATE_QLINKSMODE            = 00000020h
ISIOI_ICONFILE                   = 00000001h
ISIOI_ICONINDEX                  = 00000002h
IS_FULLSCREEN                    = 00000002h
IS_NORMAL                        = 00000001h
IS_SPLIT                         = 00000004h
IS_VALIDSIZESTATEBITS            = IS_NORMAL or IS_SPLIT or IS_FULLSCREEN
IS_VALIDSTATEBITS                = IS_NORMAL or IS_SPLIT or IS_FULLSCREEN or 80000000h or 40000000h
ITSAT_DEFAULT_LPARAM             = 0ffffffffh
ITSAT_DEFAULT_PRIORITY           = 10000000h
ITSAT_MAX_PRIORITY               = 7fffffffh
ITSAT_MIN_PRIORITY               = 00000000h
ITSSFLAG_COMPLETE_ON_DESTROY     = 0000h
ITSSFLAG_FLAGS_MASK              = 0003h
ITSSFLAG_KILL_ON_DESTROY         = 0001h
ITSSFLAG_SUPPORTS_TERMINATE      = 0002h
ITSSFLAG_TASK_PLACEINBACK        = 00000002h
ITSSFLAG_TASK_PLACEINFRONT       = 00000001h
ITSSFLAG_THREAD_POOL_TIMEOUT     = 0020h
ITSSFLAG_THREAD_TERMINATE_TIMEOUT = 0010h
ITSS_THREAD_DESTROY_DEFAULT_TIMEOUT = 60000
ITSS_THREAD_TERMINATE_TIMEOUT    = (INFINITE)
ITSS_THREAD_TIMEOUT_NO_CHANGE    = (INFINITE - 1)
KF_FLAG_CREATE                   = 00008000h
KF_FLAG_DEFAULT_PATH             = 00000400h
KF_FLAG_DONT_UNEXPAND            = 00002000h
KF_FLAG_DONT_VERIFY              = 00004000h
KF_FLAG_INIT                     = 00000800h
KF_FLAG_NOT_PARENT_RELATIVE      = 00000200h
KF_FLAG_NO_ALIAS                 = 00001000h
KF_FLAG_SIMPLE_IDLIST            = 00000100h
MAX_COLUMN_DESC_LEN              = 128
MAX_COLUMN_NAME_LEN              = 80
MM_ADDSEPARATOR                  = 00000001h
MM_DONTREMOVESEPS                = 00000004h
MM_SUBMENUSHAVEIDS               = 00000002h
NT_CONSOLE_PROPS_SIG             = 0A0000002h
NT_FE_CONSOLE_PROPS_SIG          = 0A0000004h
NUM_POINTS                       = 3
OFASI_EDIT                       = 0001h
OFASI_OPENDESKTOP                = 0002h
OI_ASYNC                         = 0FFFFEEEEh
OI_DEFAULT                       = 00000000h
OPENPROPS_INHIBITPIF             = 8000h
OPENPROPS_NONE                   = 0000h
PANE_NAVIGATION                  = 5
PANE_NONE                        = -1
PANE_OFFLINE                     = 2
PANE_PRINTER                     = 3
PANE_PRIVACY                     = 7
PANE_PROGRESS                    = 6
PANE_SSL                         = 4
PANE_ZONE                        = 1
PCS_FATAL                        = 80000000h
PCS_PATHTOOLONG                  = 00000008h
PCS_REMOVEDCHAR                  = 00000002h
PCS_REPLACEDCHAR                 = 00000001h
PCS_TRUNCATED                    = 00000004h
PDTIMER_PAUSE                    = 00000002h
PDTIMER_RESET                    = 00000001h
PDTIMER_RESUME                   = 00000003h
PIDISF_CACHEDSTICKY              = 00000002h
PIDISF_CACHEIMAGES               = 00000010h
PIDISF_FOLLOWALLLINKS            = 00000020h
PIDISF_RECENTLYCHANGED           = 00000001h
PIDISM_DONTWATCH                 = 2
PIDISM_GLOBAL                    = 0
PIDISM_WATCH                     = 1
PID_INTSITE_AUTHOR               = 3
PID_INTSITE_CODEPAGE             = 18
PID_INTSITE_COMMENT              = 8
PID_INTSITE_CONTENTCODE          = 11
PID_INTSITE_CONTENTLEN           = 10
PID_INTSITE_DESCRIPTION          = 7
PID_INTSITE_FLAGS                = 9
PID_INTSITE_ICONFILE             = 21
PID_INTSITE_ICONINDEX            = 20
PID_INTSITE_LASTMOD              = 5
PID_INTSITE_LASTVISIT            = 4
PID_INTSITE_RECURSE              = 12
PID_INTSITE_SUBSCRIPTION         = 14
PID_INTSITE_TITLE                = 16
PID_INTSITE_TRACKING             = 19
PID_INTSITE_URL                  = 15
PID_INTSITE_VISITCOUNT           = 6
PID_INTSITE_WATCH                = 13
PID_INTSITE_WHATSNEW             = 2
PID_IS_AUTHOR                    = 11
PID_IS_COMMENT                   = 13
PID_IS_DESCRIPTION               = 12
PID_IS_HOTKEY                    = 6
PID_IS_ICONFILE                  = 9
PID_IS_ICONINDEX                 = 8
PID_IS_NAME                      = 4
PID_IS_SHOWCMD                   = 7
PID_IS_URL                       = 2
PID_IS_WHATSNEW                  = 10
PID_IS_WORKINGDIR                = 5
PIFDEFFILESIZE                   = 80
PIFDEFPATHSIZE                   = 64
PIFMAXFILEPATH                   = 260
PIFNAMESIZE                      = 30
PIFPARAMSSIZE                    = 64
PIFSHDATASIZE                    = 64
PIFSHPROGSIZE                    = 64
PIFSTARTLOCSIZE                  = 63
PPCF_ADDARGUMENTS                = 00000003h
PPCF_ADDQUOTES                   = 00000001h
PPCF_FORCEQUALIFY                = 00000040h
PPCF_LONGESTPOSSIBLE             = 00000080h
PPCF_NODIRECTORIES               = 00000010h
PRF_DONTFINDLNK                  = 0008h
PRF_FIRSTDIRDEF                  = 0004h
PRF_REQUIREABSOLUTE              = 0010h
PRF_TRYPROGRAMEXTENSIONS         = (0002h or PRF_VERIFYEXISTS)
PRF_VERIFYEXISTS                 = 0001h
PROGDLG_AUTOTIME                 = 00000002h
PROGDLG_MARQUEEPROGRESS          = 00000020h
PROGDLG_MODAL                    = 00000001h
PROGDLG_NOCANCEL                 = 00000040h
PROGDLG_NOMINIMIZE               = 00000008h
PROGDLG_NOPROGRESSBAR            = 00000010h
PROGDLG_NORMAL                   = 00000000h
PROGDLG_NOTIME                   = 00000004h
QCMINFO_PLACE_AFTER              = 1
QCMINFO_PLACE_BEFORE             = 0
QIF_CACHED                       = 00000001h
QIF_DONTEXPANDFOLDER             = 00000002h
QITIPF_DEFAULT                   = 00000000h
QITIPF_LINKNOTARGET              = 00000002h
QITIPF_LINKUSETARGET             = 00000004h
QITIPF_SINGLELINE                = 00000010h
QITIPF_USENAME                   = 00000001h
QITIPF_USESLOWTIP                = 00000008h
SBSP_HELPMODE                    = 0040h
SBSP_NOTRANSFERHIST              = 0080h
SCHEME_CREATE                    = 0080h
SCHEME_DISPLAY                   = 0001h
SCHEME_DONOTUSE                  = 0040h
SCHEME_EDIT                      = 0002h
SCHEME_GLOBAL                    = 0008h
SCHEME_LOCAL                     = 0004h
SCHEME_REFRESH                   = 0010h
SCHEME_UPDATE                    = 0020h
SETPROPS_NONE                    = 0000h
SFGAO_CANMONIKER                 = 00400000h
SFVM_ADDOBJECT                   = 00000003h
SFVM_ADDPROPERTYPAGES            = 47
SFVM_BACKGROUNDENUM              = 32
SFVM_BACKGROUNDENUMDONE          = 48
SFVM_COLUMNCLICK                 = 24
SFVM_DEFITEMCOUNT                = 26
SFVM_DEFVIEWMODE                 = 27
SFVM_DIDDRAGDROP                 = 36
SFVM_FSNOTIFY                    = 14
SFVM_GETANIMATION                = 68
SFVM_GETBUTTONINFO               = 5
SFVM_GETBUTTONS                  = 6
SFVM_GETDETAILSOF                = 23
SFVM_GETHELPTEXT                 = 3
SFVM_GETHELPTOPIC                = 63
SFVM_GETNOTIFY                   = 49
SFVM_GETPANE                     = 59
SFVM_GETSELECTEDOBJECTS          = 00000009h
SFVM_GETSORTDEFAULTS             = 53
SFVM_GETTOOLTIPTEXT              = 4
SFVM_GETZONE                     = 58
SFVM_INITMENUPOPUP               = 7
SFVM_INVOKECOMMAND               = 2
SFVM_MERGEMENU                   = 1
SFVM_QUERYFSNOTIFY               = 25
SFVM_REARRANGE                   = 00000001h
SFVM_REMOVEOBJECT                = 00000006h
SFVM_SETCLIPBOARD                = 00000010h
SFVM_SETISFV                     = 39
SFVM_SETITEMPOS                  = 0000000eh
SFVM_SETPOINTS                   = 00000017h
SFVM_SIZE                        = 57
SFVM_THISIDLIST                  = 41
SFVM_UNMERGEMENU                 = 28
SFVM_UPDATEOBJECT                = 00000007h
SFVM_UPDATESTATUSBAR             = 31
SFVM_WINDOWCREATED               = 15
SFVSOC_INVALIDATE_ALL            = 00000001h
SFVS_SELECT_ALLITEMS             = 1h
SFVS_SELECT_INVERT               = 2h
SFVS_SELECT_NONE                 = 0h
SHARD_PATHA                      = 00000002h
SHARD_PATHW                      = 00000003h
if UNICODE eq TRUE
    SHARD_PATH = SHARD_PATHW
else
    SHARD_PATH = SHARD_PATHA
end if

SHARD_PIDL                       = 00000001h
SHCDF_UPDATEITEM                 = 00000001h
SHCIDS_ALLFIELDS                 = 80000000h
SHCIDS_COLUMNMASK                = 0000FFFFh
SHCNEE_MSI_CHANGE                = 4
SHCNEE_MSI_UNINSTALL             = 5
SHCNEE_ORDERCHANGED              = 2
SHCNE_ALLEVENTS                  = 7FFFFFFFh
SHCNE_ASSOCCHANGED               = 08000000h
SHCNE_ATTRIBUTES                 = 00000800h
SHCNE_CREATE                     = 00000002h
SHCNE_DELETE                     = 00000004h
SHCNE_DISKEVENTS                 = 0002381Fh
SHCNE_DRIVEADD                   = 00000100h
SHCNE_DRIVEADDGUI                = 00010000h
SHCNE_DRIVEREMOVED               = 00000080h
SHCNE_EXTENDED_EVENT             = 04000000h
SHCNE_FREESPACE                  = 00040000h
SHCNE_GLOBALEVENTS               = 0C0581E0h
SHCNE_INTERRUPT                  = 80000000h
SHCNE_MEDIAINSERTED              = 00000020h
SHCNE_MEDIAREMOVED               = 00000040h
SHCNE_MKDIR                      = 00000008h
SHCNE_NETSHARE                   = 00000200h
SHCNE_NETUNSHARE                 = 00000400h
SHCNE_RENAMEFOLDER               = 00020000h
SHCNE_RENAMEITEM                 = 00000001h
SHCNE_RMDIR                      = 00000010h
SHCNE_SERVERDISCONNECT           = 00004000h
SHCNE_UPDATEDIR                  = 00001000h
SHCNE_UPDATEIMAGE                = 00008000h
SHCNE_UPDATEITEM                 = 00002000h
SHCNF_DWORD                      = 0003h
SHCNF_FLUSH                      = 1000h
SHCNF_FLUSHNOWAIT                = 2000h
SHCNF_IDLIST                     = 0000h
SHCNF_NOTIFYRECURSIVE            = 10000h

SHCNF_PATHA                      = 0001h
SHCNF_PATHW                      = 0005h
SHCNF_PRINTERA                   = 0002h
SHCNF_PRINTERW                   = 0006h
if UNICODE eq TRUE
    SHCNF_PATH = SHCNF_PATHW
    SHCNF_PRINTER = SHCNF_PRINTERW
else
    SHCNF_PATH = SHCNF_PATHA
    SHCNF_PRINTER = SHCNF_PRINTERA
end if

SHCNF_TYPE                       = 00FFh
SHCNRF_InterruptLevel            = 0001h
SHCNRF_NewDelivery               = 8000h
SHCNRF_RecursiveInterrupt        = 1000h
SHCNRF_ShellLevel                = 0002h
SHDID_COMPUTER_AUDIO             = 19
SHDID_COMPUTER_CDROM             = 10
SHDID_COMPUTER_DRIVE35           = 5
SHDID_COMPUTER_DRIVE525          = 6
SHDID_COMPUTER_FIXED             = 8
SHDID_COMPUTER_IMAGING           = 18
SHDID_COMPUTER_NETDRIVE          = 9
SHDID_COMPUTER_OTHER             = 12
SHDID_COMPUTER_RAMDISK           = 11
SHDID_COMPUTER_REMOVABLE         = 7
SHDID_COMPUTER_SHAREDDOCS        = 20
SHDID_FS_DIRECTORY               = 3
SHDID_FS_FILE                    = 2
SHDID_FS_OTHER                   = 4
SHDID_MOBILE_DEVICE              = 21
SHDID_NET_DOMAIN                 = 13
SHDID_NET_OTHER                  = 17
SHDID_NET_RESTOFNET              = 16
SHDID_NET_SERVER                 = 14
SHDID_NET_SHARE                  = 15
SHDID_ROOT_REGITEM               = 1
SHELLSTATEVERSION_IE4            = 9
SHELLSTATEVERSION_WIN2K          = 10
SHFMT_CANCEL                     = 0FFFFFFFEh
SHFMT_ERROR                      = 0FFFFFFFFh
SHFMT_ID_DEFAULT                 = 0FFFFh
SHFMT_NOFORMAT                   = 0FFFFFFFDh
SHFMT_OPT_FULL                   = 0001h
SHFMT_OPT_SYSONLY                = 0002h
SHGDFIL_DESCRIPTIONID            = 3
SHGDFIL_FINDDATA                 = 1
SHGDFIL_NETRESOURCE              = 2
SHIMSTCAPFLAG_LOCKABLE           = 0001h
SHIMSTCAPFLAG_PURGEABLE          = 0002h
SHOP_FILEPATH                    = 00000002h
SHOP_PRINTERNAME                 = 00000001h
SHOP_VOLUMEGUID                  = 00000004h
SHPPFW_ASKDIRCREATE              = 00000002h
SHPPFW_DEFAULT                   = SHPPFW_DIRCREATE
SHPPFW_DIRCREATE                 = 00000001h
SHPPFW_IGNOREFILENAME            = 00000004h
SHPPFW_MEDIACHECKONLY            = 00000010h
SHPPFW_NONE                      = 00000000h
SHPPFW_NOWRITECHECK              = 00000008h
SIOM_ICONINDEX                   = 2
SIOM_OVERLAYINDEX                = 1
SIOM_RESERVED_LINK               = 1
SIOM_RESERVED_SHARED             = 0
SIOM_RESERVED_SLOWFILE           = 2
SSF_AUTOCHECKSELECT              = 00800000h
SSF_DESKTOPHTML                  = 00000200h
SSF_DONTPRETTYPATH               = 00000800h
SSF_DOUBLECLICKINWEBVIEW         = 00000080h
SSF_FILTER                       = 00010000h
SSF_HIDDENFILEEXTS               = 00000004h
SSF_HIDEICONS                    = 00004000h
SSF_ICONSONLY                    = 01000000h
SSF_MAPNETDRVBUTTON              = 00001000h
SSF_NOCONFIRMRECYCLE             = 00008000h
SSF_NONETCRAWLING                = 00100000h
SSF_SEPPROCESS                   = 00080000h
SSF_SERVERADMINUI                = 00000004h
SSF_SHOWALLOBJECTS               = 00000001h
SSF_SHOWATTRIBCOL                = 00000100h
SSF_SHOWCOMPCOLOR                = 00000008h
SSF_SHOWEXTENSIONS               = 00000002h
SSF_SHOWINFOTIP                  = 00002000h
SSF_SHOWSTARTPAGE                = 00400000h
SSF_SHOWSUPERHIDDEN              = 00040000h
SSF_SHOWSYSFILES                 = 00000020h
SSF_SHOWTYPEOVERLAY              = 02000000h
SSF_SORTCOLUMNS                  = 00000010h
SSF_STARTPANELON                 = 00200000h
SSF_WEBVIEW                      = 00020000h
SSF_WIN95CLASSIC                 = 00000400h
SSM_CLEAR                        = 0000h
SSM_REFRESH                      = 0002h
SSM_SET                          = 0001h
SSM_UPDATE                       = 0004h
TBIF_APPEND                      = 0
TBIF_DEFAULT                     = 00000000h
TBIF_INTERNETBAR                 = 00010000h
TBIF_NOTOOLBAR                   = 00030000h
TBIF_PREPEND                     = 1
TBIF_REPLACE                     = 2
TBIF_STANDARDTOOLBAR             = 00020000h
VALIDATEUNC_CONNECT              = 0001h
VALIDATEUNC_NOUI                 = 0002h
VALIDATEUNC_PERSIST              = 0008h
VALIDATEUNC_PRINT                = 0004h
VALIDATEUNC_VALID                = 0007h
WPSTYLE_CENTER                   = 0
WPSTYLE_MAX                      = 3
WPSTYLE_STRETCH                  = 2
WPSTYLE_TILE                     = 1

;;;; end shlobj

;;;; vfw

;comment * ------------------------

;    Equates from Video for Windows

;        ------------------------ *

BI_1632                     = 32333631h
ICERR_OK                    = 0
ICERR_DONTDRAW              = 1
ICERR_NEWPALETTE            = 2
ICERR_GOTOKEYFRAME          = 3
ICERR_STOPDRAWING           = 4
ICERR_UNSUPPORTED           = -1
ICERR_BADFORMAT             = -2
ICERR_MEMORY                = -3
ICERR_INTERNAL              = -4
ICERR_BADFLAGS              = -5
ICERR_BADPARAM              = -6
ICERR_BADSIZE               = -7
ICERR_BADHANDLE             = -8
ICERR_CANTUPDATE            = -9
ICERR_ABORT                 = -10
ICERR_ERROR                 = -100
ICERR_BADBITDEPTH           = -200
ICERR_BADIMAGESIZE          = -201
ICERR_CUSTOM                = -400
ICMODE_COMPRESS             = 1
ICMODE_DECOMPRESS           = 2
ICMODE_FASTDECOMPRESS       = 3
ICMODE_QUERY                = 4
ICMODE_FASTCOMPRESS         = 5
ICMODE_DRAW                 = 8
ICMODE_INTERNALF_FUNCTION32 = 8000h
ICMODE_INTERNALF_MASK       = 8000h
AVIIF_LIST                  = 00000001h
AVIIF_TWOCC                 = 00000002h
AVIIF_KEYFRAME              = 00000010h
ICQUALITY_LOW               = 0
ICQUALITY_HIGH              = 10000
ICQUALITY_DEFAULT           = -1
ICM_USER                    = DRV_USER+0000h
ICM_RESERVED                = ICM_RESERVED_LOW
ICM_RESERVED_LOW            = DRV_USER+1000h
ICM_RESERVED_HIGH           = DRV_USER+2000h
ICM_GETSTATE                = ICM_RESERVED+0
ICM_SETSTATE                = ICM_RESERVED+1
ICM_GETINFO                 = ICM_RESERVED+2
ICM_CONFIGURE               = ICM_RESERVED+10
ICM_ABOUT                   = ICM_RESERVED+11
ICM_GETERRORTEXT            = ICM_RESERVED+12
ICM_GETFORMATNAME           = ICM_RESERVED+20
ICM_ENUMFORMATS             = ICM_RESERVED+21
ICM_GETDEFAULTQUALITY       = ICM_RESERVED+30
ICM_GETQUALITY              = ICM_RESERVED+31
ICM_SETQUALITY              = ICM_RESERVED+32
ICM_SET                     = ICM_RESERVED+40
ICM_GET                     = ICM_RESERVED+41
ICM_COMPRESS_GET_FORMAT     = ICM_USER+4
ICM_COMPRESS_GET_SIZE       = ICM_USER+5
ICM_COMPRESS_QUERY          = ICM_USER+6
ICM_COMPRESS_BEGIN          = ICM_USER+7
ICM_COMPRESS                = ICM_USER+8
ICM_COMPRESS_END            = ICM_USER+9
ICM_DECOMPRESS_GET_FORMAT   = ICM_USER+10
ICM_DECOMPRESS_QUERY        = ICM_USER+11
ICM_DECOMPRESS_BEGIN        = ICM_USER+12
ICM_DECOMPRESS              = ICM_USER+13
ICM_DECOMPRESS_END          = ICM_USER+14
ICM_DECOMPRESS_SET_PALETTE  = ICM_USER+29
ICM_DECOMPRESS_GET_PALETTE  = ICM_USER+30
ICM_DRAW_QUERY              = ICM_USER+31
ICM_DRAW_BEGIN              = ICM_USER+15
ICM_DRAW_GET_PALETTE        = ICM_USER+16
ICM_DRAW_UPDATE             = ICM_USER+17
ICM_DRAW_START              = ICM_USER+18
ICM_DRAW_STOP               = ICM_USER+19
ICM_DRAW_BITS               = ICM_USER+20
ICM_DRAW_END                = ICM_USER+21
ICM_DRAW_GETTIME            = ICM_USER+32
ICM_DRAW                    = ICM_USER+33
ICM_DRAW_WINDOW             = ICM_USER+34
ICM_DRAW_SETTIME            = ICM_USER+35
ICM_DRAW_REALIZE            = ICM_USER+36
ICM_DRAW_FLUSH              = ICM_USER+37
ICM_DRAW_RENDERBUFFER       = ICM_USER+38
ICM_DRAW_START_PLAY         = ICM_USER+39
ICM_DRAW_STOP_PLAY          = ICM_USER+40
ICM_DRAW_SUGGESTFORMAT      = ICM_USER+50
ICM_DRAW_CHANGEPALETTE      = ICM_USER+51
ICM_DRAW_IDLE               = ICM_USER+52
ICM_GETBUFFERSWANTED        = ICM_USER+41
ICM_GETDEFAULTKEYFRAMERATE  = ICM_USER+42
ICM_DECOMPRESSEX_BEGIN      = ICM_USER+60
ICM_DECOMPRESSEX_QUERY      = ICM_USER+61
ICM_DECOMPRESSEX            = ICM_USER+62
ICM_DECOMPRESSEX_END        = ICM_USER+63
ICM_COMPRESS_FRAMES_INFO    = ICM_USER+70
ICM_COMPRESS_FRAMES         = ICM_USER+71
ICM_SET_STATUS_PROC         = ICM_USER+72
VIDCF_QUALITY               = 0001h
VIDCF_CRUNCH                = 0002h
VIDCF_TEMPORAL              = 0004h
VIDCF_COMPRESSFRAMES        = 0008h
VIDCF_DRAW                  = 0010h
VIDCF_FASTTEMPORALC         = 0020h
VIDCF_FASTTEMPORALD         = 0080h
ICCOMPRESS_KEYFRAME         = 00000001h
ICCOMPRESSFRAMES_PADDING    = 00000001h
ICSTATUS_START              = 0
ICSTATUS_STATUS             = 1
ICSTATUS_END                = 2
ICSTATUS_ERROR              = 3
ICSTATUS_YIELD              = 4
ICDECOMPRESS_HURRYUP        = 80000000h
ICDECOMPRESS_UPDATE         = 40000000h
ICDECOMPRESS_PREROLL        = 20000000h
ICDECOMPRESS_NULLFRAME      = 10000000h
ICDECOMPRESS_NOTKEYFRAME    = 08000000h
ICDRAW_QUERY                = 00000001h
ICDRAW_FULLSCREEN           = 00000002h
ICDRAW_HDC                  = 00000004h
ICDRAW_ANIMATE              = 00000008h
ICDRAW_CONTINUE             = 00000010h
ICDRAW_MEMORYDC             = 00000020h
ICDRAW_UPDATING             = 00000040h
ICDRAW_RENDER               = 00000080h
ICDRAW_BUFFER               = 00000100h
ICDRAW_HURRYUP              = 80000000h
ICDRAW_UPDATE               = 40000000h
ICDRAW_PREROLL              = 20000000h
ICDRAW_NULLFRAME            = 10000000h
ICDRAW_NOTKEYFRAME          = 08000000h
ICINSTALL_UNICODE           = 8000h
ICINSTALL_FUNCTION          = 0001h
ICINSTALL_DRIVER            = 0002h
ICINSTALL_HDRV              = 0004h
ICINSTALL_DRIVERW           = 8002h
ICMF_CONFIGURE_QUERY        = 00000001h
ICMF_ABOUT_QUERY            = 00000001h
ICMF_COMPVARS_VALID         = 00000001h
ICMF_CHOOSE_KEYFRAME        = 0001h
ICMF_CHOOSE_DATARATE        = 0002h
ICMF_CHOOSE_PREVIEW         = 0004h
ICMF_CHOOSE_ALLCOMPRESSORS  = 0008h
DDF_0001                    = 0001h
DDF_UPDATE                  = 0002h
DDF_SAME_HDC                = 0004h
DDF_SAME_DRAW               = 0008h
DDF_DONTDRAW                = 0010h
DDF_ANIMATE                 = 0020h
DDF_BUFFER                  = 0040h
DDF_JUSTDRAWIT              = 0080h
DDF_FULLSCREEN              = 0100h
DDF_BACKGROUNDPAL           = 0200h
DDF_NOTKEYFRAME             = 0400h
DDF_HURRYUP                 = 0800h
DDF_HALFTONE                = 1000h
DDF_2000                    = 2000h
DDF_PREROLL                 = DDF_DONTDRAW
DDF_SAME_DIB                = DDF_SAME_DRAW
DDF_SAME_SIZE               = DDF_SAME_DRAW
AVIF_HASINDEX               = 00000010h
AVIF_MUSTUSEINDEX           = 00000020h
AVIF_ISINTERLEAVED          = 00000100h
AVIF_WASCAPTUREFILE         = 00010000h
AVIF_COPYRIGHTED            = 00020000h
AVI_HEADERSIZE              = 2048
AVISF_DISABLED              = 00000001h
AVISF_VIDEO_PALCHANGES      = 00010000h
AVIIF_FIRSTPART             = 00000020h
AVIIF_LASTPART              = 00000040h
AVIIF_MIDPART               = AVIIF_LASTPART or AVIIF_FIRSTPART
AVIIF_NOTIME                = 00000100h
AVIIF_COMPUSE               = 0FFF0000h
AVIGETFRAMEF_BESTDISPLAYFMT = 1
AVISTREAMINFO_DISABLED      = 00000001h
AVISTREAMINFO_FORMATCHANGES = 00010000h
AVIFILEINFO_HASINDEX        = 00000010h
AVIFILEINFO_MUSTUSEINDEX    = 00000020h
AVIFILEINFO_ISINTERLEAVED   = 00000100h
AVIFILEINFO_WASCAPTUREFILE  = 00010000h
AVIFILEINFO_COPYRIGHTED     = 00020000h
AVIFILECAPS_CANREAD         = 00000001h
AVIFILECAPS_CANWRITE        = 00000002h
AVIFILECAPS_ALLKEYFRAMES    = 00000010h
AVIFILECAPS_NOCOMPRESSION   = 00000020h
AVICOMPRESSF_INTERLEAVE     = 00000001h
AVICOMPRESSF_DATARATE       = 00000002h
AVICOMPRESSF_KEYFRAMES      = 00000004h
AVICOMPRESSF_VALID          = 00000008h
AVIFILEHANDLER_CANREAD      = 0001h
AVIFILEHANDLER_CANWRITE     = 0002h
AVIFILEHANDLER_CANACCEPTNONRGB  = 0004h
FIND_DIR                    = 0000000Fh
FIND_NEXT                   = 00000001h
FIND_PREV                   = 00000004h
FIND_FROM_START             = 00000008h
FIND_TYPE                   = 000000F0h
FIND_KEY                    = 00000010h
FIND_ANY                    = 00000020h
FIND_FORMAT                 = 00000040h
FIND_RET                    = 0000F000h
FIND_POS                    = 00000000h
FIND_LENGTH                 = 00001000h
FIND_OFFSET                 = 00002000h
FIND_SIZE                   = 00003000h
FIND_INDEX                  = 00004000h
;AVIStreamFindKeyFrame       = AVIStreamFindSample
;FindKeyFrame                = FindSample
;AVIStreamClose              = AVIStreamRelease
;AVIFileClose                = AVIFileRelease
;AVIStreamInit               = AVIFileInit
;AVIStreamExit               = AVIFileExit
SEARCH_NEAREST              = FIND_PREV
SEARCH_BACKWARD             = FIND_PREV
SEARCH_FORWARD              = FIND_NEXT
SEARCH_KEY                  = FIND_KEY
SEARCH_ANY                  = FIND_ANY
MCIWNDOPENF_NEW             = 0001h
MCIWNDF_NOAUTOSIZEWINDOW    = 0001h
MCIWNDF_NOPLAYBAR           = 0002h
MCIWNDF_NOAUTOSIZEMOVIE     = 0004h
MCIWNDF_NOMENU              = 0008h
MCIWNDF_SHOWNAME            = 0010h
MCIWNDF_SHOWPOS             = 0020h
MCIWNDF_SHOWMODE            = 0040h
MCIWNDF_SHOWALL             = 0070h
MCIWNDF_NOTIFYMODE          = 0100h
MCIWNDF_NOTIFYPOS           = 0200h
MCIWNDF_NOTIFYSIZE          = 0400h
MCIWNDF_NOTIFYERROR         = 1000h
MCIWNDF_NOTIFYALL           = 1F00h
MCIWNDF_NOTIFYANSI          = 0080h
MCIWNDF_NOTIFYMEDIAA        = 0880h
MCIWNDF_NOTIFYMEDIAW        = 0800h
if UNICODE eq TRUE
    MCIWNDF_NOTIFYMEDIA = MCIWNDF_NOTIFYMEDIAW
else
    MCIWNDF_NOTIFYMEDIA = MCIWNDF_NOTIFYMEDIAA
end if

MCIWNDF_RECORD              = 2000h
MCIWNDF_NOERRORDLG          = 4000h
MCIWNDF_NOOPEN              = 8000h
MCIWNDM_GETDEVICEID         = WM_USER+100
MCIWNDM_GETSTART            = WM_USER+103
MCIWNDM_GETLENGTH           = WM_USER+104
MCIWNDM_GETEND              = WM_USER+105
MCIWNDM_EJECT               = WM_USER+107
MCIWNDM_SETZOOM             = WM_USER+108
MCIWNDM_GETZOOM             = WM_USER+109
MCIWNDM_SETVOLUME           = WM_USER+110
MCIWNDM_GETVOLUME           = WM_USER+111
MCIWNDM_SETSPEED            = WM_USER+112
MCIWNDM_GETSPEED            = WM_USER+113
MCIWNDM_SETREPEAT           = WM_USER+114
MCIWNDM_GETREPEAT           = WM_USER+115
MCIWNDM_REALIZE             = WM_USER+118
MCIWNDM_VALIDATEMEDIA       = WM_USER+121
MCIWNDM_PLAYFROM            = WM_USER+122
MCIWNDM_PLAYTO              = WM_USER+123
MCIWNDM_GETPALETTE          = WM_USER+126
MCIWNDM_SETPALETTE          = WM_USER+127
MCIWNDM_SETTIMERS           = WM_USER+129
MCIWNDM_SETACTIVETIMER      = WM_USER+130
MCIWNDM_SETINACTIVETIMER    = WM_USER+131
MCIWNDM_GETACTIVETIMER      = WM_USER+132
MCIWNDM_GETINACTIVETIMER    = WM_USER+133
MCIWNDM_CHANGESTYLES        = WM_USER+135
MCIWNDM_GETSTYLES           = WM_USER+136
MCIWNDM_GETALIAS            = WM_USER+137
MCIWNDM_PLAYREVERSE         = WM_USER+139
MCIWNDM_GET_SOURCE          = WM_USER+140
MCIWNDM_PUT_SOURCE          = WM_USER+141
MCIWNDM_GET_DEST            = WM_USER+142
MCIWNDM_PUT_DEST            = WM_USER+143
MCIWNDM_CAN_PLAY            = WM_USER+144
MCIWNDM_CAN_WINDOW          = WM_USER+145
MCIWNDM_CAN_RECORD          = WM_USER+146
MCIWNDM_CAN_SAVE            = WM_USER+147
MCIWNDM_CAN_EJECT           = WM_USER+148
MCIWNDM_CAN_CONFIG          = WM_USER+149
MCIWNDM_PALETTEKICK         = WM_USER+150
MCIWNDM_OPENINTERFACE       = WM_USER+151
MCIWNDM_SETOWNER            = WM_USER+152

MCIWNDM_GETMODEA            = WM_USER+106
MCIWNDM_GETMODEW            = WM_USER+206
MCIWNDM_SETTIMEFORMATA      = WM_USER+119
MCIWNDM_SETTIMEFORMATW      = WM_USER+219
MCIWNDM_GETTIMEFORMATA      = WM_USER+120
MCIWNDM_GETTIMEFORMATW      = WM_USER+220
MCIWNDM_GETFILENAMEA        = WM_USER+124
MCIWNDM_GETFILENAMEW        = WM_USER+224
MCIWNDM_GETDEVICEA          = WM_USER+125
MCIWNDM_GETDEVICEW          = WM_USER+225
MCIWNDM_GETERRORA           = WM_USER+128
MCIWNDM_GETERRORW           = WM_USER+228
MCIWNDM_NEWA                = WM_USER+134
MCIWNDM_NEWW                = WM_USER+234
MCIWNDM_RETURNSTRINGA       = WM_USER+138
MCIWNDM_RETURNSTRINGW       = WM_USER+238
MCIWNDM_OPENA               = WM_USER+153
MCIWNDM_OPENW               = WM_USER+252
MCIWNDM_SENDSTRINGA         = WM_USER+101
MCIWNDM_SENDSTRINGW         = WM_USER+201
MCIWNDM_GETPOSITIONA        = WM_USER+102
MCIWNDM_GETPOSITIONW        = WM_USER+202

if UNICODE eq TRUE
    MCIWNDM_GETMODE = MCIWNDM_GETMODEW
    MCIWNDM_SETTIMEFORMAT = MCIWNDM_SETTIMEFORMATW
    MCIWNDM_GETTIMEFORMAT = MCIWNDM_GETTIMEFORMATW
    MCIWNDM_GETFILENAME = MCIWNDM_GETFILENAMEW
    MCIWNDM_GETDEVICE = MCIWNDM_GETDEVICEW
    MCIWNDM_GETERROR = MCIWNDM_GETERRORW
    MCIWNDM_NEW = MCIWNDM_NEWW
    MCIWNDM_RETURNSTRING = MCIWNDM_RETURNSTRINGW
    MCIWNDM_OPEN = MCIWNDM_OPENW
    MCIWNDM_SENDSTRING = MCIWNDM_SENDSTRINGW
    MCIWNDM_GETPOSITION = MCIWNDM_GETPOSITIONW
else
    MCIWNDM_GETMODE = MCIWNDM_GETMODEA
    MCIWNDM_SETTIMEFORMAT = MCIWNDM_SETTIMEFORMATA
    MCIWNDM_GETTIMEFORMAT = MCIWNDM_GETTIMEFORMATA
    MCIWNDM_GETFILENAME = MCIWNDM_GETFILENAMEA
    MCIWNDM_GETDEVICE = MCIWNDM_GETDEVICEA
    MCIWNDM_GETERROR = MCIWNDM_GETERRORA
    MCIWNDM_NEW = MCIWNDM_NEWA
    MCIWNDM_RETURNSTRING = MCIWNDM_RETURNSTRINGA
    MCIWNDM_OPEN = MCIWNDM_OPENA
    MCIWNDM_SENDSTRING = MCIWNDM_SENDSTRINGA
    MCIWNDM_GETPOSITION = MCIWNDM_GETPOSITIONA
end if

MCIWNDM_NOTIFYMODE          = WM_USER+200
MCIWNDM_NOTIFYPOS           = WM_USER+201
MCIWNDM_NOTIFYSIZE          = WM_USER+202
MCIWNDM_NOTIFYMEDIA         = WM_USER+203
MCIWNDM_NOTIFYERROR         = WM_USER+205
MCIWND_START                = -1
MCIWND_END                  = -2
DV_ERR_OK                   = 0
DV_ERR_BASE                 = 1
DV_ERR_NONSPECIFIC          = DV_ERR_BASE
DV_ERR_BADFORMAT            = DV_ERR_BASE+1
DV_ERR_STILLPLAYING         = DV_ERR_BASE+2
DV_ERR_UNPREPARED           = DV_ERR_BASE+3
DV_ERR_SYNC                 = DV_ERR_BASE+4
DV_ERR_TOOMANYCHANNELS      = DV_ERR_BASE+5
DV_ERR_NOTDETECTED          = DV_ERR_BASE+6
DV_ERR_BADINSTALL           = DV_ERR_BASE+7
DV_ERR_CREATEPALETTE        = DV_ERR_BASE+8
DV_ERR_SIZEFIELD            = DV_ERR_BASE+9
DV_ERR_PARAM1               = DV_ERR_BASE+10
DV_ERR_PARAM2               = DV_ERR_BASE+11
DV_ERR_CONFIG1              = DV_ERR_BASE+12
DV_ERR_CONFIG2              = DV_ERR_BASE+13
DV_ERR_FLAGS                = DV_ERR_BASE+14
DV_ERR_13                   = DV_ERR_BASE+15
DV_ERR_NOTSUPPORTED         = DV_ERR_BASE+16
DV_ERR_NOMEM                = DV_ERR_BASE+17
DV_ERR_ALLOCATED            = DV_ERR_BASE+18
DV_ERR_BADDEVICEID          = DV_ERR_BASE+19
DV_ERR_INVALHANDLE          = DV_ERR_BASE+20
DV_ERR_BADERRNUM            = DV_ERR_BASE+21
DV_ERR_NO_BUFFERS           = DV_ERR_BASE+22
DV_ERR_MEM_CONFLICT         = DV_ERR_BASE+23
DV_ERR_IO_CONFLICT          = DV_ERR_BASE+24
DV_ERR_DMA_CONFLICT         = DV_ERR_BASE+25
DV_ERR_INT_CONFLICT         = DV_ERR_BASE+26
DV_ERR_PROTECT_ONLY         = DV_ERR_BASE+27
DV_ERR_LASTERROR            = DV_ERR_BASE+27
DV_ERR_USER_MSG             = DV_ERR_BASE+1000
DV_VM_OPEN                  = MM_DRVM_OPEN
DV_VM_CLOSE                 = MM_DRVM_CLOSE
DV_VM_DATA                  = MM_DRVM_DATA
DV_VM_ERROR                 = MM_DRVM_ERROR
VHDR_DONE                   = 00000001h
VHDR_PREPARED               = 00000002h
VHDR_INQUEUE                = 00000004h
VHDR_KEYFRAME               = 00000008h
VHDR_VALID                  = 0000000Fh
VCAPS_OVERLAY               = 00000001h
VCAPS_SRC_CAN_CLIP          = 00000002h
VCAPS_DST_CAN_CLIP          = 00000004h
VCAPS_CAN_SCALE             = 00000008h
VIDEO_EXTERNALIN            = 0001h
VIDEO_EXTERNALOUT           = 0002h
VIDEO_IN                    = 0004h
VIDEO_OUT                   = 0008h
VIDEO_DLG_QUERY             = 0010h
VIDEO_CONFIGURE_QUERY       = 8000h
VIDEO_CONFIGURE_SET         = 1000h
VIDEO_CONFIGURE_GET         = 2000h
VIDEO_CONFIGURE_QUERYSIZE   = 0001h
VIDEO_CONFIGURE_CURRENT     = 0010h
VIDEO_CONFIGURE_NOMINAL     = 0020h
VIDEO_CONFIGURE_MIN         = 0040h
VIDEO_CONFIGURE_MAX         = 0080h
DVM_USER                    = 4000h
DVM_CONFIGURE_START         = 1000h
DVM_CONFIGURE_END           = 1FFFh
DVM_PALETTE                 = DVM_CONFIGURE_START+1
DVM_FORMAT                  = DVM_CONFIGURE_START+2
DVM_PALETTERGB555           = DVM_CONFIGURE_START+3
DVM_SRC_RECT                = DVM_CONFIGURE_START+4
DVM_DST_RECT                = DVM_CONFIGURE_START+5
WM_CAP_START                = WM_USER
WM_CAP_UNICODE_START        = WM_USER+100
WM_CAP_GET_CAPSTREAMPTR     = WM_CAP_START+1
WM_CAP_SET_CALLBACK_ERRORA  = WM_CAP_START+2
WM_CAP_SET_CALLBACK_ERRORW  = WM_CAP_UNICODE_START+2
WM_CAP_SET_CALLBACK_STATUSA = WM_CAP_START+3
WM_CAP_SET_CALLBACK_STATUSW = WM_CAP_UNICODE_START+3
WM_CAP_SET_CALLBACK_YIELD   = WM_CAP_START+4
WM_CAP_SET_CALLBACK_FRAME   = WM_CAP_START+5
WM_CAP_SET_CALLBACK_VIDEOSTREAM = WM_CAP_START+6
WM_CAP_SET_CALLBACK_WAVESTREAM = WM_CAP_START+7
WM_CAP_GET_USER_DATA        = WM_CAP_START+8
WM_CAP_SET_USER_DATA        = WM_CAP_START+9
WM_CAP_DRIVER_CONNECT       = WM_CAP_START+10
WM_CAP_DRIVER_DISCONNECT    = WM_CAP_START+11
WM_CAP_DRIVER_GET_NAMEA     = WM_CAP_START+12
WM_CAP_DRIVER_GET_NAMEW     = WM_CAP_UNICODE_START+12
WM_CAP_DRIVER_GET_VERSIONA  = WM_CAP_START+13
WM_CAP_DRIVER_GET_VERSIONW  = WM_CAP_UNICODE_START+13
WM_CAP_DRIVER_GET_CAPS      = WM_CAP_START+14
WM_CAP_FILE_SET_CAPTURE_FILEA = WM_CAP_START+20
WM_CAP_FILE_SET_CAPTURE_FILEW = WM_CAP_UNICODE_START+20
WM_CAP_FILE_GET_CAPTURE_FILEA = WM_CAP_START+21
WM_CAP_FILE_GET_CAPTURE_FILEW = WM_CAP_UNICODE_START+21
WM_CAP_FILE_SAVEASA         = WM_CAP_START+23
WM_CAP_FILE_SAVEASW         = WM_CAP_UNICODE_START+23
WM_CAP_FILE_SAVEDIBA        = WM_CAP_START+25
WM_CAP_FILE_SAVEDIBW        = WM_CAP_UNICODE_START+25
WM_CAP_FILE_ALLOCATE        = WM_CAP_START+22
WM_CAP_FILE_SET_INFOCHUNK   = WM_CAP_START+24
WM_CAP_EDIT_COPY            = WM_CAP_START+30
WM_CAP_SET_AUDIOFORMAT      = WM_CAP_START+35
WM_CAP_GET_AUDIOFORMAT      = WM_CAP_START+36
WM_CAP_DLG_VIDEOFORMAT      = WM_CAP_START+41
WM_CAP_DLG_VIDEOSOURCE      = WM_CAP_START+42
WM_CAP_DLG_VIDEODISPLAY     = WM_CAP_START+43
WM_CAP_GET_VIDEOFORMAT      = WM_CAP_START+44
WM_CAP_SET_VIDEOFORMAT      = WM_CAP_START+45
WM_CAP_DLG_VIDEOCOMPRESSION = WM_CAP_START+46
WM_CAP_SET_PREVIEW          = WM_CAP_START+50
WM_CAP_SET_OVERLAY          = WM_CAP_START+51
WM_CAP_SET_PREVIEWRATE      = WM_CAP_START+52
WM_CAP_SET_SCALE            = WM_CAP_START+53
WM_CAP_GET_STATUS           = WM_CAP_START+54
WM_CAP_SET_SCROLL           = WM_CAP_START+55
WM_CAP_GRAB_FRAME           = WM_CAP_START+60
WM_CAP_GRAB_FRAME_NOSTOP    = WM_CAP_START+61
WM_CAP_SEQUENCE             = WM_CAP_START+62
WM_CAP_SEQUENCE_NOFILE      = WM_CAP_START+63
WM_CAP_SET_SEQUENCE_SETUP   = WM_CAP_START+64
WM_CAP_GET_SEQUENCE_SETUP   = WM_CAP_START+65
WM_CAP_SET_MCI_DEVICEA      = WM_CAP_START+66
WM_CAP_SET_MCI_DEVICEW      = WM_CAP_UNICODE_START+66
WM_CAP_GET_MCI_DEVICEA      = WM_CAP_START+67
WM_CAP_GET_MCI_DEVICEW      = WM_CAP_UNICODE_START+67
WM_CAP_STOP                 = WM_CAP_START+68
WM_CAP_ABORT                = WM_CAP_START+69
WM_CAP_SINGLE_FRAME_OPEN    = WM_CAP_START+70
WM_CAP_SINGLE_FRAME_CLOSE   = WM_CAP_START+71
WM_CAP_SINGLE_FRAME         = WM_CAP_START+72
WM_CAP_PAL_OPENA            = WM_CAP_START+80
WM_CAP_PAL_OPENW            = WM_CAP_UNICODE_START+80
WM_CAP_PAL_SAVEA            = WM_CAP_START+81
WM_CAP_PAL_SAVEW            = WM_CAP_UNICODE_START+81
WM_CAP_PAL_PASTE            = WM_CAP_START+82
WM_CAP_PAL_AUTOCREATE       = WM_CAP_START+83
WM_CAP_PAL_MANUALCREATE     = WM_CAP_START+84
WM_CAP_SET_CALLBACK_CAPCONTROL = WM_CAP_START+85
WM_CAP_UNICODE_END          = WM_CAP_PAL_SAVEW
WM_CAP_END                  = WM_CAP_UNICODE_END
if UNICODE eq TRUE
    WM_CAP_SET_CALLBACK_ERROR = WM_CAP_SET_CALLBACK_ERRORW
    WM_CAP_SET_CALLBACK_STATUS = WM_CAP_SET_CALLBACK_STATUSW
    WM_CAP_DRIVER_GET_NAME = WM_CAP_DRIVER_GET_NAMEW
    WM_CAP_DRIVER_GET_VERSION = WM_CAP_DRIVER_GET_VERSIONW
    WM_CAP_FILE_SET_CAPTURE_FILE = WM_CAP_FILE_SET_CAPTURE_FILEW
    WM_CAP_FILE_GET_CAPTURE_FILE = WM_CAP_FILE_GET_CAPTURE_FILEW
    WM_CAP_FILE_SAVEAS = WM_CAP_FILE_SAVEASW
    WM_CAP_FILE_SAVEDIB = WM_CAP_FILE_SAVEDIBW
    ;; WM_CAP_SET_MCI_DEVICE = WM_CAP_SET_MCI_DEVICEW
    WM_CAP_GET_MCI_DEVICE = WM_CAP_GET_MCI_DEVICEW
    WM_CAP_PAL_OPEN = WM_CAP_PAL_OPENW
    WM_CAP_PAL_SAVE = WM_CAP_PAL_SAVEW
else
    WM_CAP_SET_CALLBACK_ERROR = WM_CAP_SET_CALLBACK_ERRORA
    WM_CAP_SET_CALLBACK_STATUS = WM_CAP_SET_CALLBACK_STATUSA
    WM_CAP_DRIVER_GET_NAME = WM_CAP_DRIVER_GET_NAMEA
    WM_CAP_DRIVER_GET_VERSION = WM_CAP_DRIVER_GET_VERSIONA
    WM_CAP_FILE_SET_CAPTURE_FILE = WM_CAP_FILE_SET_CAPTURE_FILEA
    WM_CAP_FILE_GET_CAPTURE_FILE = WM_CAP_FILE_GET_CAPTURE_FILEA
    WM_CAP_FILE_SAVEAS = WM_CAP_FILE_SAVEASA
    WM_CAP_FILE_SAVEDIB = WM_CAP_FILE_SAVEDIBA
    WM_CAP_SET_MCI_DEVICE = WM_CAP_SET_MCI_DEVICEA
    WM_CAP_GET_MCI_DEVICE = WM_CAP_GET_MCI_DEVICEA
    WM_CAP_PAL_OPEN = WM_CAP_PAL_OPENA
    WM_CAP_PAL_SAVE = WM_CAP_PAL_SAVEA
end if

AVSTREAMMASTER_AUDIO        = 0
AVSTREAMMASTER_NONE         = 1
CONTROLCALLBACK_PREROLL     = 1
CONTROLCALLBACK_CAPTURING   = 2
IDS_CAP_BEGIN               = 300
IDS_CAP_END                 = 301
IDS_CAP_INFO                = 401
IDS_CAP_OUTOFMEM            = 402
IDS_CAP_FILEEXISTS          = 403
IDS_CAP_ERRORPALOPEN        = 404
IDS_CAP_ERRORPALSAVE        = 405
IDS_CAP_ERRORDIBSAVE        = 406
IDS_CAP_DEFAVIEXT           = 407
IDS_CAP_DEFPALEXT           = 408
IDS_CAP_CANTOPEN            = 409
IDS_CAP_SEQ_MSGSTART        = 410
IDS_CAP_SEQ_MSGSTOP         = 411
IDS_CAP_VIDEDITERR          = 412
IDS_CAP_READONLYFILE        = 413
IDS_CAP_WRITEERROR          = 414
IDS_CAP_NODISKSPACE         = 415
IDS_CAP_SETFILESIZE         = 416
IDS_CAP_SAVEASPERCENT       = 417
IDS_CAP_DRIVER_ERROR        = 418
IDS_CAP_WAVE_OPEN_ERROR     = 419
IDS_CAP_WAVE_ALLOC_ERROR    = 420
IDS_CAP_WAVE_PREPARE_ERROR  = 421
IDS_CAP_WAVE_ADD_ERROR      = 422
IDS_CAP_WAVE_SIZE_ERROR     = 423
IDS_CAP_VIDEO_OPEN_ERROR    = 424
IDS_CAP_VIDEO_ALLOC_ERROR   = 425
IDS_CAP_VIDEO_PREPARE_ERROR = 426
IDS_CAP_VIDEO_ADD_ERROR     = 427
IDS_CAP_VIDEO_SIZE_ERROR    = 428
IDS_CAP_FILE_OPEN_ERROR     = 429
IDS_CAP_FILE_WRITE_ERROR    = 430
IDS_CAP_RECORDING_ERROR     = 431
IDS_CAP_RECORDING_ERROR2    = 432
IDS_CAP_AVI_INIT_ERROR      = 433
IDS_CAP_NO_FRAME_CAP_ERROR  = 434
IDS_CAP_NO_PALETTE_WARN     = 435
IDS_CAP_MCI_CONTROL_ERROR   = 436
IDS_CAP_MCI_CANT_STEP_ERROR = 437
IDS_CAP_NO_AUDIO_CAP_ERROR  = 438
IDS_CAP_AVI_DRAWDIB_ERROR   = 439
IDS_CAP_COMPRESSOR_ERROR    = 440
IDS_CAP_AUDIO_DROP_ERROR    = 441
IDS_CAP_AUDIO_DROP_COMPERROR = 442
IDS_CAP_STAT_LIVE_MODE      = 500
IDS_CAP_STAT_OVERLAY_MODE   = 501
IDS_CAP_STAT_CAP_INIT       = 502
IDS_CAP_STAT_CAP_FINI       = 503
IDS_CAP_STAT_PALETTE_BUILD  = 504
IDS_CAP_STAT_OPTPAL_BUILD   = 505
IDS_CAP_STAT_I_FRAMES       = 506
IDS_CAP_STAT_L_FRAMES       = 507
IDS_CAP_STAT_CAP_L_FRAMES   = 508
IDS_CAP_STAT_CAP_AUDIO      = 509
IDS_CAP_STAT_VIDEOCURRENT   = 510
IDS_CAP_STAT_VIDEOAUDIO     = 511
IDS_CAP_STAT_VIDEOONLY      = 512
IDS_CAP_STAT_FRAMESDROPPED  = 513

;;;; end vfw

;;;; wintrust

WTPF_TRUSTTEST                   = 00000020h
WTPF_TESTCANBEVALID              = 00000080h
WTPF_IGNOREEXPIRATION            = 00000100h
WTPF_IGNOREREVOKATION            = 00000200h
WTPF_OFFLINEOK_IND               = 00000400h
WTPF_OFFLINEOK_COM               = 00000800h
WTPF_OFFLINEOKNBU_IND            = 00001000h
WTPF_OFFLINEOKNBU_COM            = 00002000h
WTPF_VERIFY_V1_OFF               = 00010000h
WTPF_IGNOREREVOCATIONONTS        = 00020000h
WTPF_ALLOWONLYPERTRUST           = 00040000h
TRUSTERROR_STEP_WVTPARAMS        = 0
TRUSTERROR_STEP_FILEIO           = 2
TRUSTERROR_STEP_SIP              = 3
TRUSTERROR_STEP_SIPSUBJINFO      = 5
TRUSTERROR_STEP_CATALOGFILE      = 6
TRUSTERROR_STEP_CERTSTORE        = 7
TRUSTERROR_STEP_MESSAGE          = 8
TRUSTERROR_STEP_MSG_SIGNERCOUNT  = 9
TRUSTERROR_STEP_MSG_INNERCNTTYPE = 10
TRUSTERROR_STEP_MSG_INNERCNT     = 11
TRUSTERROR_STEP_MSG_STORE        = 12
TRUSTERROR_STEP_MSG_SIGNERINFO   = 13
TRUSTERROR_STEP_MSG_SIGNERCERT   = 14
TRUSTERROR_STEP_MSG_CERTCHAIN    = 15
TRUSTERROR_STEP_MSG_COUNTERSIGINFO = 16
TRUSTERROR_STEP_MSG_COUNTERSIGCERT = 17
TRUSTERROR_STEP_VERIFY_MSGHASH   = 18
TRUSTERROR_STEP_VERIFY_MSGINDIRECTDATA = 19
TRUSTERROR_STEP_FINAL_WVTINIT    = 30
TRUSTERROR_STEP_FINAL_INITPROV   = 31
TRUSTERROR_STEP_FINAL_OBJPROV    = 32
TRUSTERROR_STEP_FINAL_SIGPROV    = 33
TRUSTERROR_STEP_FINAL_CERTPROV   = 34
TRUSTERROR_STEP_FINAL_CERTCHKPROV = 35
TRUSTERROR_STEP_FINAL_POLICYPROV = 36
TRUSTERROR_STEP_FINAL_UIPROV     = 37
TRUSTERROR_MAX_STEPS             = 38
WT_CURRENT_VERSION               = 00000200h
WT_ADD_ACTION_ID_RET_RESULT_FLAG = 1h
DWACTION_ALLOCANDFILL            = 1
DWACTION_FREE                    = 2
SPC_SP_AGENCY_INFO_struct        = 2000
SPC_MINIMAL_CRITERIA_struct      = 2001
SPC_FINANCIAL_CRITERIA_struct    = 2002
SPC_INDIRECT_DATA_CONTENT_struct = 2003
SPC_PE_IMAGE_DATA_struct         = 2004
SPC_LINK_struct                  = 2005
SPC_STATEMENT_TYPE_struct        = 2006
SPC_SP_OPUS_INFO_struct          = 2007
SPC_CAB_DATA_struct              = 2008
SPC_JAVA_CLASS_DATA_struct       = 2009
SPC_SIGINFO_struct               = 2130
CAT_NAMEVALUE_struct             = 2221
CAT_MEMBERINFO_struct            = 2222
SPC_UUID_LENGTH                  = 16
WIN_CERT_REVISION_1_0            = 0100h
WIN_CERT_REVISION_2_0            = 0200h
WIN_CERT_TYPE_X509               = 0001h
WIN_CERT_TYPE_PKCS_SIGNED_DATA   = 0002h
WIN_CERT_TYPE_RESERVED_1         = 0003h
WIN_CERT_TYPE_TS_STACK_SIGNED    = 0004h

;;;; end wintrust

;;;; winspool

DSPRINT_PUBLISH                  = 00000001h
DSPRINT_UPDATE                   = 00000002h
DSPRINT_UNPUBLISH                = 00000004h
DSPRINT_REPUBLISH                = 00000008h
DSPRINT_PENDING                  = 80000000h
PRINTER_STATUS_SERVER_UNKNOWN    = 00800000h
PRINTER_STATUS_POWER_SAVE        = 01000000h
PRINTER_ATTRIBUTE_ENABLE_DEVQ    = 00000080h
PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS = 00000100h
PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST = 00000200h
PRINTER_ATTRIBUTE_RAW_ONLY       = 00001000h
PRINTER_ATTRIBUTE_PUBLISHED      = 00002000h
PRINTER_ATTRIBUTE_FAX            = 00004000h
PRINTER_ATTRIBUTE_TS             = 00008000h
JOB_CONTROL_SENT_TO_PRINTER      = 6
JOB_CONTROL_LAST_PAGE_EJECTED    = 7
JOB_STATUS_DELETED               = 00000100h
JOB_STATUS_BLOCKED_DEVQ          = 00000200h
JOB_STATUS_RESTART               = 00000800h
JOB_STATUS_COMPLETE              = 00001000h
DRIVER_KERNELMODE                = 00000001h
DRIVER_USERMODE                  = 00000002h
DPD_DELETE_UNUSED_FILES          = 00000001h
DPD_DELETE_SPECIFIC_VERSION      = 00000002h
DPD_DELETE_ALL_FILES             = 00000004h
APD_STRICT_UPGRADE               = 00000001h
APD_STRICT_DOWNGRADE             = 00000002h
APD_COPY_ALL_FILES               = 00000004h
APD_COPY_NEW_FILES               = 00000008h
APD_COPY_FROM_DIRECTORY          = 00000010h
DI_MEMORYMAP_WRITE               = 00000001h
FORM_USER                        = 00000000h
FORM_PRINTER                     = 00000002h
NORMAL_PRINT                     = 00000000h
REVERSE_PRINT                    = 00000001h
PORT_STATUS_TYPE_ERROR           = 1
PORT_STATUS_TYPE_WARNING         = 2
PORT_STATUS_TYPE_INFO            = 3
PORT_STATUS_OFFLINE              = 1
PORT_STATUS_PAPER_JAM            = 2
PORT_STATUS_PAPER_OUT            = 3
PORT_STATUS_OUTPUT_BIN_FULL      = 4
PORT_STATUS_PAPER_PROBLEM        = 5
PORT_STATUS_NO_TONER             = 6
PORT_STATUS_DOOR_OPEN            = 7
PORT_STATUS_USER_INTERVENTION    = 8
PORT_STATUS_OUT_OF_MEMORY        = 9
PORT_STATUS_TONER_LOW            = 10
PORT_STATUS_WARMING_UP           = 11
PORT_STATUS_POWER_SAVE           = 12
PRINTER_ENUM_HIDE                = 01000000h
SPOOL_FILE_PERSISTENT            = 00000001h
SPOOL_FILE_TEMPORARY             = 00000002h
PRINTER_NOTIFY_TYPE              = 00h
JOB_NOTIFY_TYPE                  = 01h
PRINTER_NOTIFY_FIELD_SERVER_NAME = 00h
PRINTER_NOTIFY_FIELD_PRINTER_NAME = 01h
PRINTER_NOTIFY_FIELD_SHARE_NAME  = 02h
PRINTER_NOTIFY_FIELD_PORT_NAME   = 03h
PRINTER_NOTIFY_FIELD_DRIVER_NAME = 04h
PRINTER_NOTIFY_FIELD_COMMENT     = 05h
PRINTER_NOTIFY_FIELD_LOCATION    = 06h
PRINTER_NOTIFY_FIELD_DEVMODE     = 07h
PRINTER_NOTIFY_FIELD_SEPFILE     = 08h
PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR = 09h
PRINTER_NOTIFY_FIELD_PARAMETERS  = 0Ah
PRINTER_NOTIFY_FIELD_DATATYPE    = 0Bh
PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR = 0Ch
PRINTER_NOTIFY_FIELD_ATTRIBUTES  = 0Dh
PRINTER_NOTIFY_FIELD_PRIORITY    = 0Eh
PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY = 0Fh
PRINTER_NOTIFY_FIELD_START_TIME  = 10h
PRINTER_NOTIFY_FIELD_UNTIL_TIME  = 11h
PRINTER_NOTIFY_FIELD_STATUS      = 12h
PRINTER_NOTIFY_FIELD_STATUS_STRING = 13h
PRINTER_NOTIFY_FIELD_CJOBS       = 14h
PRINTER_NOTIFY_FIELD_AVERAGE_PPM = 15h
PRINTER_NOTIFY_FIELD_TOTAL_PAGES = 16h
PRINTER_NOTIFY_FIELD_PAGES_PRINTED = 17h
PRINTER_NOTIFY_FIELD_TOTAL_BYTES = 18h
PRINTER_NOTIFY_FIELD_BYTES_PRINTED = 19h
PRINTER_NOTIFY_FIELD_OBJECT_GUID = 1Ah
JOB_NOTIFY_FIELD_PRINTER_NAME    = 00h
JOB_NOTIFY_FIELD_MACHINE_NAME    = 01h
JOB_NOTIFY_FIELD_PORT_NAME       = 02h
JOB_NOTIFY_FIELD_USER_NAME       = 03h
JOB_NOTIFY_FIELD_NOTIFY_NAME     = 04h
JOB_NOTIFY_FIELD_DATATYPE        = 05h
JOB_NOTIFY_FIELD_PRINT_PROCESSOR = 06h
JOB_NOTIFY_FIELD_PARAMETERS      = 07h
JOB_NOTIFY_FIELD_DRIVER_NAME     = 08h
JOB_NOTIFY_FIELD_DEVMODE         = 09h
JOB_NOTIFY_FIELD_STATUS          = 0Ah
JOB_NOTIFY_FIELD_STATUS_STRING   = 0Bh
JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR = 0Ch
JOB_NOTIFY_FIELD_DOCUMENT        = 0Dh
JOB_NOTIFY_FIELD_PRIORITY        = 0Eh
JOB_NOTIFY_FIELD_POSITION        = 0Fh
JOB_NOTIFY_FIELD_SUBMITTED       = 10h
JOB_NOTIFY_FIELD_START_TIME      = 11h
JOB_NOTIFY_FIELD_UNTIL_TIME      = 12h
JOB_NOTIFY_FIELD_TIME            = 13h
JOB_NOTIFY_FIELD_TOTAL_PAGES     = 14h
JOB_NOTIFY_FIELD_PAGES_PRINTED   = 15h
JOB_NOTIFY_FIELD_TOTAL_BYTES     = 16h
JOB_NOTIFY_FIELD_BYTES_PRINTED   = 17h
PRINTER_NOTIFY_OPTIONS_REFRESH   = 01h
PRINTER_NOTIFY_INFO_DISCARDED    = 01h
BIDI_ACCESS_ADMINISTRATOR        = 1h
BIDI_ACCESS_USER                 = 2h
ERROR_BIDI_STATUS_OK             = 0
ERROR_BIDI_NOT_SUPPORTED         = ERROR_NOT_SUPPORTED
ERROR_BIDI_ERROR_BASE            = 13000
ERROR_BIDI_STATUS_WARNING        = (ERROR_BIDI_ERROR_BASE + 1)
ERROR_BIDI_SCHEMA_READ_ONLY      = (ERROR_BIDI_ERROR_BASE + 2)
ERROR_BIDI_SERVER_OFFLINE        = (ERROR_BIDI_ERROR_BASE + 3)
ERROR_BIDI_DEVICE_OFFLINE        = (ERROR_BIDI_ERROR_BASE + 4)
ERROR_BIDI_SCHEMA_NOT_SUPPORTED  = (ERROR_BIDI_ERROR_BASE + 5)
PRINTER_CHANGE_FAILED_CONNECTION_PRINTER = 00000008h
PRINTER_CHANGE_SET_PRINTER_DRIVER = 20000000h

;;;; end winspool

;;;; opengl

; ------------------------- equates for opengl ----------------------------

GL_VERSION_1_1                     =  1
GL_ACCUM                           =  00100h
GL_LOAD                            =  00101h
GL_RETURN                          =  00102h
GL_MULT                            =  00103h
GL_ADD                             =  00104h
GL_NEVER                           =  00200h
GL_LESS                            =  00201h
GL_EQUAL                           =  00202h
GL_LEQUAL                          =  00203h
GL_GREATER                         =  00204h
GL_NOTEQUAL                        =  00205h
GL_GEQUAL                          =  00206h
GL_ALWAYS                          =  00207h
GL_CURRENT_BIT                     =  000000001h
GL_POINT_BIT                       =  000000002h
GL_LINE_BIT                        =  000000004h
GL_POLYGON_BIT                     =  000000008h
GL_POLYGON_STIPPLE_BIT             =  000000010h
GL_PIXEL_MODE_BIT                  =  000000020h
GL_LIGHTING_BIT                    =  000000040h
GL_FOG_BIT                         =  000000080h
GL_DEPTH_BUFFER_BIT                =  000000100h
GL_ACCUM_BUFFER_BIT                =  000000200h
GL_STENCIL_BUFFER_BIT              =  000000400h
GL_VIEWPORT_BIT                    =  000000800h
GL_TRANSFORM_BIT                   =  000001000h
GL_ENABLE_BIT                      =  000002000h
GL_COLOR_BUFFER_BIT                =  000004000h
GL_HINT_BIT                        =  000008000h
GL_EVAL_BIT                        =  000010000h
GL_LIST_BIT                        =  000020000h
GL_TEXTURE_BIT                     =  000040000h
GL_SCISSOR_BIT                     =  000080000h
GL_ALL_ATTRIB_BITS                 =  0000fffffh
GL_POINTS                          =  00000h
GL_LINES                           =  00001h
GL_LINE_LOOP                       =  00002h
GL_LINE_STRIP                      =  00003h
GL_TRIANGLES                       =  00004h
GL_TRIANGLE_STRIP                  =  00005h
GL_TRIANGLE_FAN                    =  00006h
GL_QUADS                           =  00007h
GL_QUAD_STRIP                      =  00008h
GL_POLYGON                         =  00009h
GL_ZERO                            =  0
GL_ONE                             =  1
GL_SRC_COLOR                       =  00300h
GL_ONE_MINUS_SRC_COLOR             =  00301h
GL_SRC_ALPHA                       =  00302h
GL_ONE_MINUS_SRC_ALPHA             =  00303h
GL_DST_ALPHA                       =  00304h
GL_ONE_MINUS_DST_ALPHA             =  00305h
GL_DST_COLOR                       =  00306h
GL_ONE_MINUS_DST_COLOR             =  00307h
GL_SRC_ALPHA_SATURATE              =  00308h
GL_TRUE                            =  1
GL_FALSE                           =  0
GL_CLIP_PLANE0                     =  03000h
GL_CLIP_PLANE1                     =  03001h
GL_CLIP_PLANE2                     =  03002h
GL_CLIP_PLANE3                     =  03003h
GL_CLIP_PLANE4                     =  03004h
GL_CLIP_PLANE5                     =  03005h
GL_BYTE                            =  01400h
GL_UNSIGNED_BYTE                   =  01401h
GL_SHORT                           =  01402h
GL_UNSIGNED_SHORT                  =  01403h
GL_INT                             =  01404h
GL_UNSIGNED_INT                    =  01405h
GL_FLOAT                           =  01406h
GL_2_BYTES                         =  01407h
GL_3_BYTES                         =  01408h
GL_4_BYTES                         =  01409h
GL_DOUBLE                          =  0140Ah
GL_NONE                            =  0
GL_FRONT_LEFT                      =  00400h
GL_FRONT_RIGHT                     =  00401h
GL_BACK_LEFT                       =  00402h
GL_BACK_RIGHT                      =  00403h
GL_FRONT                           =  00404h
GL_BACK                            =  00405h
GL_LEFT                            =  00406h
GL_RIGHT                           =  00407h
GL_FRONT_AND_BACK                  =  00408h
GL_AUX0                            =  00409h
GL_AUX1                            =  0040Ah
GL_AUX2                            =  0040Bh
GL_AUX3                            =  0040Ch
GL_NO_ERROR                        =  0
GL_INVALID_ENUM                    =  00500h
GL_INVALID_VALUE                   =  00501h
GL_INVALID_OPERATION               =  00502h
GL_STACK_OVERFLOW                  =  00503h
GL_STACK_UNDERFLOW                 =  00504h
GL_OUT_OF_MEMORY                   =  00505h
GL_2D                              =  00600h
GL_3D                              =  00601h
GL_3D_COLOR                        =  00602h
GL_3D_COLOR_TEXTURE                =  00603h
GL_4D_COLOR_TEXTURE                =  00604h
GL_PASS_THROUGH_TOKEN              =  00700h
GL_POINT_TOKEN                     =  00701h
GL_LINE_TOKEN                      =  00702h
GL_POLYGON_TOKEN                   =  00703h
GL_BITMAP_TOKEN                    =  00704h
GL_DRAW_PIXEL_TOKEN                =  00705h
GL_COPY_PIXEL_TOKEN                =  00706h
GL_LINE_RESET_TOKEN                =  00707h
GL_EXP                             =  00800h
GL_EXP2                            =  00801h
GL_CW                              =  00900h
GL_CCW                             =  00901h
GL_COEFF                           =  00A00h
GL_ORDER                           =  00A01h
GL_DOMAIN                          =  00A02h
GL_CURRENT_COLOR                   =  00B00h
GL_CURRENT_INDEX                   =  00B01h
GL_CURRENT_NORMAL                  =  00B02h
GL_CURRENT_TEXTURE_COORDS          =  00B03h
GL_CURRENT_RASTER_COLOR            =  00B04h
GL_CURRENT_RASTER_INDEX            =  00B05h
GL_CURRENT_RASTER_TEXTURE_COORDS   =  00B06h
GL_CURRENT_RASTER_POSITION         =  00B07h
GL_CURRENT_RASTER_POSITION_VALID   =  00B08h
GL_CURRENT_RASTER_DISTANCE         =  00B09h
GL_POINT_SMOOTH                    =  00B10h
GL_POINT_SIZE                      =  00B11h
GL_POINT_SIZE_RANGE                =  00B12h
GL_POINT_SIZE_GRANULARITY          =  00B13h
GL_LINE_SMOOTH                     =  00B20h
GL_LINE_WIDTH                      =  00B21h
GL_LINE_WIDTH_RANGE                =  00B22h
GL_LINE_WIDTH_GRANULARITY          =  00B23h
GL_LINE_STIPPLE                    =  00B24h
GL_LINE_STIPPLE_PATTERN            =  00B25h
GL_LINE_STIPPLE_REPEAT             =  00B26h
GL_LIST_MODE                       =  00B30h
GL_MAX_LIST_NESTING                =  00B31h
GL_LIST_BASE                       =  00B32h
GL_LIST_INDEX                      =  00B33h
GL_POLYGON_MODE                    =  00B40h
GL_POLYGON_SMOOTH                  =  00B41h
GL_POLYGON_STIPPLE                 =  00B42h
GL_EDGE_FLAG                       =  00B43h
GL_CULL_FACE                       =  00B44h
GL_CULL_FACE_MODE                  =  00B45h
GL_FRONT_FACE                      =  00B46h
GL_LIGHTING                        =  00B50h
GL_LIGHT_MODEL_LOCAL_VIEWER        =  00B51h
GL_LIGHT_MODEL_TWO_SIDE            =  00B52h
GL_LIGHT_MODEL_AMBIENT             =  00B53h
GL_SHADE_MODEL                     =  00B54h
GL_COLOR_MATERIAL_FACE             =  00B55h
GL_COLOR_MATERIAL_PARAMETER        =  00B56h
GL_COLOR_MATERIAL                  =  00B57h
GL_FOG                             =  00B60h
GL_FOG_INDEX                       =  00B61h
GL_FOG_DENSITY                     =  00B62h
GL_FOG_START                       =  00B63h
GL_FOG_END                         =  00B64h
GL_FOG_MODE                        =  00B65h
GL_FOG_COLOR                       =  00B66h
GL_DEPTH_RANGE                     =  00B70h
GL_DEPTH_TEST                      =  00B71h
GL_DEPTH_WRITEMASK                 =  00B72h
GL_DEPTH_CLEAR_VALUE               =  00B73h
GL_DEPTH_FUNC                      =  00B74h
GL_ACCUM_CLEAR_VALUE               =  00B80h
GL_STENCIL_TEST                    =  00B90h
GL_STENCIL_CLEAR_VALUE             =  00B91h
GL_STENCIL_FUNC                    =  00B92h
GL_STENCIL_VALUE_MASK              =  00B93h
GL_STENCIL_FAIL                    =  00B94h
GL_STENCIL_PASS_DEPTH_FAIL         =  00B95h
GL_STENCIL_PASS_DEPTH_PASS         =  00B96h
GL_STENCIL_REF                     =  00B97h
GL_STENCIL_WRITEMASK               =  00B98h
GL_MATRIX_MODE                     =  00BA0h
GL_NORMALIZE                       =  00BA1h
GL_VIEWPORT                        =  00BA2h
GL_MODELVIEW_STACK_DEPTH           =  00BA3h
GL_PROJECTION_STACK_DEPTH          =  00BA4h
GL_TEXTURE_STACK_DEPTH             =  00BA5h
GL_MODELVIEW_MATRIX                =  00BA6h
GL_PROJECTION_MATRIX               =  00BA7h
GL_TEXTURE_MATRIX                  =  00BA8h
GL_ATTRIB_STACK_DEPTH              =  00BB0h
GL_CLIENT_ATTRIB_STACK_DEPTH       =  00BB1h
GL_ALPHA_TEST                      =  00BC0h
GL_ALPHA_TEST_FUNC                 =  00BC1h
GL_ALPHA_TEST_REF                  =  00BC2h
GL_DITHER                          =  00BD0h
GL_BLEND_DST                       =  00BE0h
GL_BLEND_SRC                       =  00BE1h
GL_BLEND                           =  00BE2h
GL_LOGIC_OP_MODE                   =  00BF0h
GL_INDEX_LOGIC_OP                  =  00BF1h
GL_COLOR_LOGIC_OP                  =  00BF2h
GL_AUX_BUFFERS                     =  00C00h
GL_DRAW_BUFFER                     =  00C01h
GL_READ_BUFFER                     =  00C02h
GL_SCISSOR_BOX                     =  00C10h
GL_SCISSOR_TEST                    =  00C11h
GL_INDEX_CLEAR_VALUE               =  00C20h
GL_INDEX_WRITEMASK                 =  00C21h
GL_COLOR_CLEAR_VALUE               =  00C22h
GL_COLOR_WRITEMASK                 =  00C23h
GL_INDEX_MODE                      =  00C30h
GL_RGBA_MODE                       =  00C31h
GL_DOUBLEBUFFER                    =  00C32h
GL_STEREO                          =  00C33h
GL_RENDER_MODE                     =  00C40h
GL_PERSPECTIVE_CORRECTION_HINT     =  00C50h
GL_POINT_SMOOTH_HINT               =  00C51h
GL_LINE_SMOOTH_HINT                =  00C52h
GL_POLYGON_SMOOTH_HINT             =  00C53h
GL_FOG_HINT                        =  00C54h
GL_TEXTURE_GEN_S                   =  00C60h
GL_TEXTURE_GEN_T                   =  00C61h
GL_TEXTURE_GEN_R                   =  00C62h
GL_TEXTURE_GEN_Q                   =  00C63h
GL_PIXEL_MAP_I_TO_I                =  00C70h
GL_PIXEL_MAP_S_TO_S                =  00C71h
GL_PIXEL_MAP_I_TO_R                =  00C72h
GL_PIXEL_MAP_I_TO_G                =  00C73h
GL_PIXEL_MAP_I_TO_B                =  00C74h
GL_PIXEL_MAP_I_TO_A                =  00C75h
GL_PIXEL_MAP_R_TO_R                =  00C76h
GL_PIXEL_MAP_G_TO_G                =  00C77h
GL_PIXEL_MAP_B_TO_B                =  00C78h
GL_PIXEL_MAP_A_TO_A                =  00C79h
GL_PIXEL_MAP_I_TO_I_SIZE           =  00CB0h
GL_PIXEL_MAP_S_TO_S_SIZE           =  00CB1h
GL_PIXEL_MAP_I_TO_R_SIZE           =  00CB2h
GL_PIXEL_MAP_I_TO_G_SIZE           =  00CB3h
GL_PIXEL_MAP_I_TO_B_SIZE           =  00CB4h
GL_PIXEL_MAP_I_TO_A_SIZE           =  00CB5h
GL_PIXEL_MAP_R_TO_R_SIZE           =  00CB6h
GL_PIXEL_MAP_G_TO_G_SIZE           =  00CB7h
GL_PIXEL_MAP_B_TO_B_SIZE           =  00CB8h
GL_PIXEL_MAP_A_TO_A_SIZE           =  00CB9h
GL_UNPACK_SWAP_BYTES               =  00CF0h
GL_UNPACK_LSB_FIRST                =  00CF1h
GL_UNPACK_ROW_LENGTH               =  00CF2h
GL_UNPACK_SKIP_ROWS                =  00CF3h
GL_UNPACK_SKIP_PIXELS              =  00CF4h
GL_UNPACK_ALIGNMENT                =  00CF5h
GL_PACK_SWAP_BYTES                 =  00D00h
GL_PACK_LSB_FIRST                  =  00D01h
GL_PACK_ROW_LENGTH                 =  00D02h
GL_PACK_SKIP_ROWS                  =  00D03h
GL_PACK_SKIP_PIXELS                =  00D04h
GL_PACK_ALIGNMENT                  =  00D05h
GL_MAP_COLOR                       =  00D10h
GL_MAP_STENCIL                     =  00D11h
GL_INDEX_SHIFT                     =  00D12h
GL_INDEX_OFFSET                    =  00D13h
GL_RED_SCALE                       =  00D14h
GL_RED_BIAS                        =  00D15h
GL_ZOOM_X                          =  00D16h
GL_ZOOM_Y                          =  00D17h
GL_GREEN_SCALE                     =  00D18h
GL_GREEN_BIAS                      =  00D19h
GL_BLUE_SCALE                      =  00D1Ah
GL_BLUE_BIAS                       =  00D1Bh
GL_ALPHA_SCALE                     =  00D1Ch
GL_ALPHA_BIAS                      =  00D1Dh
GL_DEPTH_SCALE                     =  00D1Eh
GL_DEPTH_BIAS                      =  00D1Fh
GL_MAX_EVAL_ORDER                  =  00D30h
GL_MAX_LIGHTS                      =  00D31h
GL_MAX_CLIP_PLANES                 =  00D32h
GL_MAX_TEXTURE_SIZE                =  00D33h
GL_MAX_PIXEL_MAP_TABLE             =  00D34h
GL_MAX_ATTRIB_STACK_DEPTH          =  00D35h
GL_MAX_MODELVIEW_STACK_DEPTH       =  00D36h
GL_MAX_NAME_STACK_DEPTH            =  00D37h
GL_MAX_PROJECTION_STACK_DEPTH      =  00D38h
GL_MAX_TEXTURE_STACK_DEPTH         =  00D39h
GL_MAX_VIEWPORT_DIMS               =  00D3Ah
GL_MAX_CLIENT_ATTRIB_STACK_DEPTH   =  00D3Bh
GL_SUBPIXEL_BITS                   =  00D50h
GL_INDEX_BITS                      =  00D51h
GL_RED_BITS                        =  00D52h
GL_GREEN_BITS                      =  00D53h
GL_BLUE_BITS                       =  00D54h
GL_ALPHA_BITS                      =  00D55h
GL_DEPTH_BITS                      =  00D56h
GL_STENCIL_BITS                    =  00D57h
GL_ACCUM_RED_BITS                  =  00D58h
GL_ACCUM_GREEN_BITS                =  00D59h
GL_ACCUM_BLUE_BITS                 =  00D5Ah
GL_ACCUM_ALPHA_BITS                =  00D5Bh
GL_NAME_STACK_DEPTH                =  00D70h
GL_AUTO_NORMAL                     =  00D80h
GL_MAP1_COLOR_4                    =  00D90h
GL_MAP1_INDEX                      =  00D91h
GL_MAP1_NORMAL                     =  00D92h
GL_MAP1_TEXTURE_COORD_1            =  00D93h
GL_MAP1_TEXTURE_COORD_2            =  00D94h
GL_MAP1_TEXTURE_COORD_3            =  00D95h
GL_MAP1_TEXTURE_COORD_4            =  00D96h
GL_MAP1_VERTEX_3                   =  00D97h
GL_MAP1_VERTEX_4                   =  00D98h
GL_MAP2_COLOR_4                    =  00DB0h
GL_MAP2_INDEX                      =  00DB1h
GL_MAP2_NORMAL                     =  00DB2h
GL_MAP2_TEXTURE_COORD_1            =  00DB3h
GL_MAP2_TEXTURE_COORD_2            =  00DB4h
GL_MAP2_TEXTURE_COORD_3            =  00DB5h
GL_MAP2_TEXTURE_COORD_4            =  00DB6h
GL_MAP2_VERTEX_3                   =  00DB7h
GL_MAP2_VERTEX_4                   =  00DB8h
GL_MAP1_GRID_DOMAIN                =  00DD0h
GL_MAP1_GRID_SEGMENTS              =  00DD1h
GL_MAP2_GRID_DOMAIN                =  00DD2h
GL_MAP2_GRID_SEGMENTS              =  00DD3h
GL_TEXTURE_1D                      =  00DE0h
GL_TEXTURE_2D                      =  00DE1h
GL_FEEDBACK_BUFFER_POINTER         =  00DF0h
GL_FEEDBACK_BUFFER_SIZE            =  00DF1h
GL_FEEDBACK_BUFFER_TYPE            =  00DF2h
GL_SELECTION_BUFFER_POINTER        =  00DF3h
GL_SELECTION_BUFFER_SIZE           =  00DF4h
GL_TEXTURE_WIDTH                   =  01000h
GL_TEXTURE_HEIGHT                  =  01001h
GL_TEXTURE_INTERNAL_FORMAT         =  01003h
GL_TEXTURE_BORDER_COLOR            =  01004h
GL_TEXTURE_BORDER                  =  01005h
GL_DONT_CARE                       =  01100h
GL_FASTEST                         =  01101h
GL_NICEST                          =  01102h
GL_LIGHT0                          =  04000h
GL_LIGHT1                          =  04001h
GL_LIGHT2                          =  04002h
GL_LIGHT3                          =  04003h
GL_LIGHT4                          =  04004h
GL_LIGHT5                          =  04005h
GL_LIGHT6                          =  04006h
GL_LIGHT7                          =  04007h
GL_AMBIENT                         =  01200h
GL_DIFFUSE                         =  01201h
GL_SPECULAR                        =  01202h
GL_POSITION                        =  01203h
GL_SPOT_DIRECTION                  =  01204h
GL_SPOT_EXPONENT                   =  01205h
GL_SPOT_CUTOFF                     =  01206h
GL_CONSTANT_ATTENUATION            =  01207h
GL_LINEAR_ATTENUATION              =  01208h
GL_QUADRATIC_ATTENUATION           =  01209h
GL_COMPILE                         =  01300h
GL_COMPILE_AND_EXECUTE             =  01301h
GL_CLEAR                           =  01500h
GL_AND                             =  01501h
GL_AND_REVERSE                     =  01502h
GL_COPY                            =  01503h
GL_AND_INVERTED                    =  01504h
GL_NOOP                            =  01505h
GL_XOR                             =  01506h
GL_OR                              =  01507h
GL_NOR                             =  01508h
GL_EQUIV                           =  01509h
GL_INVERT                          =  0150Ah
GL_OR_REVERSE                      =  0150Bh
GL_COPY_INVERTED                   =  0150Ch
GL_OR_INVERTED                     =  0150Dh
GL_NAND                            =  0150Eh
GL_SET                             =  0150Fh
GL_EMISSION                        =  01600h
GL_SHININESS                       =  01601h
GL_AMBIENT_AND_DIFFUSE             =  01602h
GL_COLOR_INDEXES                   =  01603h
GL_MODELVIEW                       =  01700h
GL_PROJECTION                      =  01701h
GL_TEXTURE                         =  01702h
GL_COLOR                           =  01800h
GL_DEPTH                           =  01801h
GL_STENCIL                         =  01802h
GL_COLOR_INDEX                     =  01900h
GL_STENCIL_INDEX                   =  01901h
GL_DEPTH_COMPONENT                 =  01902h
GL_RED                             =  01903h
GL_GREEN                           =  01904h
GL_BLUE                            =  01905h
GL_ALPHA                           =  01906h
GL_RGB                             =  01907h
GL_RGBA                            =  01908h
GL_LUMINANCE                       =  01909h
GL_LUMINANCE_ALPHA                 =  0190Ah
GL_BITMAP                          =  01A00h
GL_POINT                           =  01B00h
GL_LINE                            =  01B01h
GL_FILL                            =  01B02h
GL_RENDER                          =  01C00h
GL_FEEDBACK                        =  01C01h
GL_SELECT                          =  01C02h
GL_FLAT                            =  01D00h
GL_SMOOTH                          =  01D01h
GL_KEEP                            =  01E00h
GL_REPLACE                         =  01E01h
GL_INCR                            =  01E02h
GL_DECR                            =  01E03h
GL_VENDOR                          =  01F00h
GL_RENDERER                        =  01F01h
GL_VERSION                         =  01F02h
GL_EXTENSIONS                      =  01F03h
GL_S                               =  02000h
GL_T                               =  02001h
GL_R                               =  02002h
GL_Q                               =  02003h
GL_MODULATE                        =  02100h
GL_DECAL                           =  02101h
GL_TEXTURE_ENV_MODE                =  02200h
GL_TEXTURE_ENV_COLOR               =  02201h
GL_TEXTURE_ENV                     =  02300h
GL_EYE_LINEAR                      =  02400h
GL_OBJECT_LINEAR                   =  02401h
GL_SPHERE_MAP                      =  02402h
GL_TEXTURE_GEN_MODE                =  02500h
GL_OBJECT_PLANE                    =  02501h
GL_EYE_PLANE                       =  02502h
GL_NEAREST                         =  02600h
GL_LINEAR                          =  02601h
GL_NEAREST_MIPMAP_NEAREST          =  02700h
GL_LINEAR_MIPMAP_NEAREST           =  02701h
GL_NEAREST_MIPMAP_LINEAR           =  02702h
GL_LINEAR_MIPMAP_LINEAR            =  02703h
GL_TEXTURE_MAG_FILTER              =  02800h
GL_TEXTURE_MIN_FILTER              =  02801h
GL_TEXTURE_WRAP_S                  =  02802h
GL_TEXTURE_WRAP_T                  =  02803h
GL_CLAMP                           =  02900h
GL_REPEAT                          =  02901h
GL_CLIENT_PIXEL_STORE_BIT          =  000000001h
GL_CLIENT_VERTEX_ARRAY_BIT         =  000000002h
GL_CLIENT_ALL_ATTRIB_BITS          =  0ffffffffh
GL_POLYGON_OFFSET_FACTOR           =  08038h
GL_POLYGON_OFFSET_UNITS            =  02A00h
GL_POLYGON_OFFSET_POINT            =  02A01h
GL_POLYGON_OFFSET_LINE             =  02A02h
GL_POLYGON_OFFSET_FILL             =  08037h
GL_ALPHA4                          =  0803Bh
GL_ALPHA8                          =  0803Ch
GL_ALPHA12                         =  0803Dh
GL_ALPHA16                         =  0803Eh
GL_LUMINANCE4                      =  0803Fh
GL_LUMINANCE8                      =  08040h
GL_LUMINANCE12                     =  08041h
GL_LUMINANCE16                     =  08042h
GL_LUMINANCE4_ALPHA4               =  08043h
GL_LUMINANCE6_ALPHA2               =  08044h
GL_LUMINANCE8_ALPHA8               =  08045h
GL_LUMINANCE12_ALPHA4              =  08046h
GL_LUMINANCE12_ALPHA12             =  08047h
GL_LUMINANCE16_ALPHA16             =  08048h
GL_INTENSITY                       =  08049h
GL_INTENSITY4                      =  0804Ah
GL_INTENSITY8                      =  0804Bh
GL_INTENSITY12                     =  0804Ch
GL_INTENSITY16                     =  0804Dh
GL_R3_G3_B2                        =  02A10h
GL_RGB4                            =  0804Fh
GL_RGB5                            =  08050h
GL_RGB8                            =  08051h
GL_RGB10                           =  08052h
GL_RGB12                           =  08053h
GL_RGB16                           =  08054h
GL_RGBA2                           =  08055h
GL_RGBA4                           =  08056h
GL_RGB5_A1                         =  08057h
GL_RGBA8                           =  08058h
GL_RGB10_A2                        =  08059h
GL_RGBA12                          =  0805Ah
GL_RGBA16                          =  0805Bh
GL_TEXTURE_RED_SIZE                =  0805Ch
GL_TEXTURE_GREEN_SIZE              =  0805Dh
GL_TEXTURE_BLUE_SIZE               =  0805Eh
GL_TEXTURE_ALPHA_SIZE              =  0805Fh
GL_TEXTURE_LUMINANCE_SIZE          =  08060h
GL_TEXTURE_INTENSITY_SIZE          =  08061h
GL_PROXY_TEXTURE_1D                =  08063h
GL_PROXY_TEXTURE_2D                =  08064h
GL_TEXTURE_PRIORITY                =  08066h
GL_TEXTURE_RESIDENT                =  08067h
GL_TEXTURE_BINDING_1D              =  08068h
GL_TEXTURE_BINDING_2D              =  08069h
GL_VERTEX_ARRAY                    =  08074h
GL_NORMAL_ARRAY                    =  08075h
GL_COLOR_ARRAY                     =  08076h
GL_INDEX_ARRAY                     =  08077h
GL_TEXTURE_COORD_ARRAY             =  08078h
GL_EDGE_FLAG_ARRAY                 =  08079h
GL_VERTEX_ARRAY_SIZE               =  0807Ah
GL_VERTEX_ARRAY_TYPE               =  0807Bh
GL_VERTEX_ARRAY_STRIDE             =  0807Ch
GL_NORMAL_ARRAY_TYPE               =  0807Eh
GL_NORMAL_ARRAY_STRIDE             =  0807Fh
GL_COLOR_ARRAY_SIZE                =  08081h
GL_COLOR_ARRAY_TYPE                =  08082h
GL_COLOR_ARRAY_STRIDE              =  08083h
GL_INDEX_ARRAY_TYPE                =  08085h
GL_INDEX_ARRAY_STRIDE              =  08086h
GL_TEXTURE_COORD_ARRAY_SIZE        =  08088h
GL_TEXTURE_COORD_ARRAY_TYPE        =  08089h
GL_TEXTURE_COORD_ARRAY_STRIDE      =  0808Ah
GL_EDGE_FLAG_ARRAY_STRIDE          =  0808Ch
GL_VERTEX_ARRAY_POINTER            =  0808Eh
GL_NORMAL_ARRAY_POINTER            =  0808Fh
GL_COLOR_ARRAY_POINTER             =  08090h
GL_INDEX_ARRAY_POINTER             =  08091h
GL_TEXTURE_COORD_ARRAY_POINTER     =  08092h
GL_EDGE_FLAG_ARRAY_POINTER         =  08093h
GL_V2F                             =  02A20h
GL_V3F                             =  02A21h
GL_C4UB_V2F                        =  02A22h
GL_C4UB_V3F                        =  02A23h
GL_C3F_V3F                         =  02A24h
GL_N3F_V3F                         =  02A25h
GL_C4F_N3F_V3F                     =  02A26h
GL_T2F_V3F                         =  02A27h
GL_T4F_V4F                         =  02A28h
GL_T2F_C4UB_V3F                    =  02A29h
GL_T2F_C3F_V3F                     =  02A2Ah
GL_T2F_N3F_V3F                     =  02A2Bh
GL_T2F_C4F_N3F_V3F                 =  02A2Ch
GL_T4F_C4F_N3F_V4F                 =  02A2Dh
GL_EXT_vertex_array                =  1
GL_EXT_bgra                        =  1
GL_EXT_paletted_texture            =  1
GL_WIN_swap_hint                   =  1
GL_WIN_draw_range_elements         =  1
GL_VERTEX_ARRAY_EXT                =  08074h
GL_NORMAL_ARRAY_EXT                =  08075h
GL_COLOR_ARRAY_EXT                 =  08076h
GL_INDEX_ARRAY_EXT                 =  08077h
GL_TEXTURE_COORD_ARRAY_EXT         =  08078h
GL_EDGE_FLAG_ARRAY_EXT             =  08079h
GL_VERTEX_ARRAY_SIZE_EXT           =  0807Ah
GL_VERTEX_ARRAY_TYPE_EXT           =  0807Bh
GL_VERTEX_ARRAY_STRIDE_EXT         =  0807Ch
GL_VERTEX_ARRAY_COUNT_EXT          =  0807Dh
GL_NORMAL_ARRAY_TYPE_EXT           =  0807Eh
GL_NORMAL_ARRAY_STRIDE_EXT         =  0807Fh
GL_NORMAL_ARRAY_COUNT_EXT          =  08080h
GL_COLOR_ARRAY_SIZE_EXT            =  08081h
GL_COLOR_ARRAY_TYPE_EXT            =  08082h
GL_COLOR_ARRAY_STRIDE_EXT          =  08083h
GL_COLOR_ARRAY_COUNT_EXT           =  08084h
GL_INDEX_ARRAY_TYPE_EXT            =  08085h
GL_INDEX_ARRAY_STRIDE_EXT          =  08086h
GL_INDEX_ARRAY_COUNT_EXT           =  08087h
GL_TEXTURE_COORD_ARRAY_SIZE_EXT    =  08088h
GL_TEXTURE_COORD_ARRAY_TYPE_EXT    =  08089h
GL_TEXTURE_COORD_ARRAY_STRIDE_EXT  =  0808Ah
GL_TEXTURE_COORD_ARRAY_COUNT_EXT   =  0808Bh
GL_EDGE_FLAG_ARRAY_STRIDE_EXT      =  0808Ch
GL_EDGE_FLAG_ARRAY_COUNT_EXT       =  0808Dh
GL_VERTEX_ARRAY_POINTER_EXT        =  0808Eh
GL_NORMAL_ARRAY_POINTER_EXT        =  0808Fh
GL_COLOR_ARRAY_POINTER_EXT         =  08090h
GL_INDEX_ARRAY_POINTER_EXT         =  08091h
GL_TEXTURE_COORD_ARRAY_POINTER_EXT =  08092h
GL_EDGE_FLAG_ARRAY_POINTER_EXT     =  08093h
GL_DOUBLE_EXT                      =  GL_DOUBLE
GL_BGR_EXT                         =  080E0h
GL_BGRA_EXT                        =  080E1h
GL_COLOR_TABLE_FORMAT_EXT          =  080D8h
GL_COLOR_TABLE_WIDTH_EXT           =  080D9h
GL_COLOR_TABLE_RED_SIZE_EXT        =  080DAh
GL_COLOR_TABLE_GREEN_SIZE_EXT      =  080DBh
GL_COLOR_TABLE_BLUE_SIZE_EXT       =  080DCh
GL_COLOR_TABLE_ALPHA_SIZE_EXT      =  080DDh
GL_COLOR_TABLE_LUMINANCE_SIZE_EXT  =  080DEh
GL_COLOR_TABLE_INTENSITY_SIZE_EXT  =  080DFh
GL_COLOR_INDEX1_EXT                =  080E2h
GL_COLOR_INDEX2_EXT                =  080E3h
GL_COLOR_INDEX4_EXT                =  080E4h
GL_COLOR_INDEX8_EXT                =  080E5h
GL_COLOR_INDEX12_EXT               =  080E6h
GL_COLOR_INDEX16_EXT               =  080E7h
GL_MAX_ELEMENTS_VERTICES_WIN       =  080E8h
GL_MAX_ELEMENTS_INDICES_WIN        =  080E9h
GL_PHONG_WIN                       =  080EAh
GL_PHONG_HINT_WIN                  =  080EBh
GL_FOG_SPECULAR_TEXTURE_WIN        =  080ECh
GL_LOGIC_OP                        =  GL_INDEX_LOGIC_OP
GL_TEXTURE_COMPONENTS              =  GL_TEXTURE_INTERNAL_FORMAT

GLU_VERSION_1_1                 =  1
GLU_VERSION_1_2                 =  1
GLU_INVALID_ENUM                =  100900
GLU_INVALID_VALUE               =  100901
GLU_OUT_OF_MEMORY               =  100902
GLU_INCOMPATIBLE_GL_VERSION     =  100903
GLU_VERSION                     =  100800
GLU_EXTENSIONS                  =  100801
GLU_TRUE                        =  GL_TRUE
GLU_FALSE                       =  GL_FALSE
GLU_SMOOTH                      =  100000
GLU_FLAT                        =  100001
GLU_NONE                        =  100002
GLU_POINT                       =  100010
GLU_LINE                        =  100011
GLU_FILL                        =  100012
GLU_SILHOUETTE                  =  100013
GLU_OUTSIDE                     =  100020
GLU_INSIDE                      =  100021
GLU_TESS_MAX_COORD              =  1.0e150
GLU_TESS_WINDING_RULE           =  100140
GLU_TESS_BOUNDARY_ONLY          =  100141
GLU_TESS_TOLERANCE              =  100142
GLU_TESS_WINDING_ODD            =  100130
GLU_TESS_WINDING_NONZERO        =  100131
GLU_TESS_WINDING_POSITIVE       =  100132
GLU_TESS_WINDING_NEGATIVE       =  100133
GLU_TESS_WINDING_ABS_GEQ_TWO    =  100134
GLU_TESS_BEGIN                  =  100100
GLU_TESS_VERTEX                 =  100101
GLU_TESS_END                    =  100102
GLU_TESS_ERROR                  =  100103
GLU_TESS_EDGE_FLAG              =  100104
GLU_TESS_COMBINE                =  100105
GLU_TESS_BEGIN_DATA             =  100106
GLU_TESS_VERTEX_DATA            =  100107
GLU_TESS_END_DATA               =  100108
GLU_TESS_ERROR_DATA             =  100109
GLU_TESS_EDGE_FLAG_DATA         =  100110
GLU_TESS_COMBINE_DATA           =  100111
GLU_TESS_ERROR1                 =  100151
GLU_TESS_ERROR2                 =  100152
GLU_TESS_ERROR3                 =  100153
GLU_TESS_ERROR4                 =  100154
GLU_TESS_ERROR5                 =  100155
GLU_TESS_ERROR6                 =  100156
GLU_TESS_ERROR7                 =  100157
GLU_TESS_ERROR8                 =  100158
GLU_TESS_MISSING_BEGIN_POLYGON  =  GLU_TESS_ERROR1
GLU_TESS_MISSING_BEGIN_CONTOUR  =  GLU_TESS_ERROR2
GLU_TESS_MISSING_END_POLYGON    =  GLU_TESS_ERROR3
GLU_TESS_MISSING_END_CONTOUR    =  GLU_TESS_ERROR4
GLU_TESS_COORD_TOO_LARGE        =  GLU_TESS_ERROR5
GLU_TESS_NEED_COMBINE_CALLBACK  =  GLU_TESS_ERROR6
GLU_AUTO_LOAD_MATRIX            =  100200
GLU_CULLING                     =  100201
GLU_SAMPLING_TOLERANCE          =  100203
GLU_DISPLAY_MODE                =  100204
GLU_PARAMETRIC_TOLERANCE        =  100202
GLU_SAMPLING_METHOD             =  100205
GLU_U_STEP                      =  100206
GLU_V_STEP                      =  100207
GLU_PATH_LENGTH                 =  100215
GLU_PARAMETRIC_ERROR            =  100216
GLU_DOMAIN_DISTANCE             =  100217
GLU_MAP1_TRIM_2                 =  100210
GLU_MAP1_TRIM_3                 =  100211
GLU_OUTLINE_POLYGON             =  100240
GLU_OUTLINE_PATCH               =  100241
GLU_NURBS_ERROR1                =  100251
GLU_NURBS_ERROR2                =  100252
GLU_NURBS_ERROR3                =  100253
GLU_NURBS_ERROR4                =  100254
GLU_NURBS_ERROR5                =  100255
GLU_NURBS_ERROR6                =  100256
GLU_NURBS_ERROR7                =  100257
GLU_NURBS_ERROR8                =  100258
GLU_NURBS_ERROR9                =  100259
GLU_NURBS_ERROR10               =  100260
GLU_NURBS_ERROR11               =  100261
GLU_NURBS_ERROR12               =  100262
GLU_NURBS_ERROR13               =  100263
GLU_NURBS_ERROR14               =  100264
GLU_NURBS_ERROR15               =  100265
GLU_NURBS_ERROR16               =  100266
GLU_NURBS_ERROR17               =  100267
GLU_NURBS_ERROR18               =  100268
GLU_NURBS_ERROR19               =  100269
GLU_NURBS_ERROR20               =  100270
GLU_NURBS_ERROR21               =  100271
GLU_NURBS_ERROR22               =  100272
GLU_NURBS_ERROR23               =  100273
GLU_NURBS_ERROR24               =  100274
GLU_NURBS_ERROR25               =  100275
GLU_NURBS_ERROR26               =  100276
GLU_NURBS_ERROR27               =  100277
GLU_NURBS_ERROR28               =  100278
GLU_NURBS_ERROR29               =  100279
GLU_NURBS_ERROR30               =  100280
GLU_NURBS_ERROR31               =  100281
GLU_NURBS_ERROR32               =  100282
GLU_NURBS_ERROR33               =  100283
GLU_NURBS_ERROR34               =  100284
GLU_NURBS_ERROR35               =  100285
GLU_NURBS_ERROR36               =  100286
GLU_NURBS_ERROR37               =  100287
GLU_CW                          =  100120
GLU_CCW                         =  100121
GLU_INTERIOR                    =  100122
GLU_EXTERIOR                    =  100123
GLU_UNKNOWN                     =  100124
GLU_BEGIN                       =  GLU_TESS_BEGIN
GLU_VERTEX                      =  GLU_TESS_VERTEX
GLU_END                         =  GLU_TESS_END
GLU_ERROR                       =  GLU_TESS_ERROR
GLU_EDGE_FLAG                   =  GLU_TESS_EDGE_FLAG

;;;; end opengl

;;;; urlmon

__REQUIRED_RPCNDR_H_VERSION__    = 440
MKSYS_URLMONIKER                 = 6
URL_MK_LEGACY                    = 0
URL_MK_UNIFORM                   = 1
URL_MK_NO_CANONICALIZE           = 2
FIEF_FLAG_FORCE_JITUI            = 1h
FIEF_FLAG_PEEK                   = 2h
FIEF_FLAG_SKIP_INSTALLED_VERSION_CHECK = 4h
FMFD_DEFAULT                     = 00000000h
FMFD_URLASFILENAME               = 00000001h
URLMON_OPTION_USERAGENT          = 10000001h
URLMON_OPTION_USERAGENT_REFRESH  = 10000002h
URLMON_OPTION_URL_ENCODING       = 10000004h
CF_NULL                          = 0
WININETINFO_OPTION_LOCK_HANDLE   = 65534
URLOSTRM_USECACHEDCOPY_ONLY      = 1h
URLOSTRM_USECACHEDCOPY           = 2h
URLOSTRM_GETNEWESTVERSION        = 3h
PROTOCOLFLAG_NO_PICS_CHECK       = 00000001h
MUTZ_NOSAVEDFILECHECK            = 00000001h
MUTZ_ENFORCERESTRICTED           = 00000100h
MAX_SIZE_SECURITY_ID             = 512
URLACTION_MIN                    = 00001000h
URLACTION_DOWNLOAD_MIN           = 00001000h
URLACTION_DOWNLOAD_SIGNED_ACTIVEX = 00001001h
URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX = 00001004h
URLACTION_DOWNLOAD_CURR_MAX      = 00001004h
URLACTION_DOWNLOAD_MAX           = 000011FFh
URLACTION_ACTIVEX_MIN            = 00001200h
URLACTION_ACTIVEX_RUN            = 00001200h
URLPOLICY_ACTIVEX_CHECK_LIST     = 00010000h
URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY = 00001201h
URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY = 00001202h
URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY = 00001203h
URLACTION_SCRIPT_OVERRIDE_SAFETY = 00001401h
URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY = 00001204h
URLACTION_ACTIVEX_TREATASUNTRUSTED = 00001205h
URLACTION_ACTIVEX_NO_WEBOC_SCRIPT = 00001206h
URLACTION_ACTIVEX_CURR_MAX       = 00001206h
URLACTION_ACTIVEX_MAX            = 000013ffh
URLACTION_SCRIPT_MIN             = 00001400h
URLACTION_SCRIPT_RUN             = 00001400h
URLACTION_SCRIPT_JAVA_USE        = 00001402h
URLACTION_SCRIPT_SAFE_ACTIVEX    = 00001405h
URLACTION_CROSS_DOMAIN_DATA      = 00001406h
URLACTION_SCRIPT_PASTE           = 00001407h
URLACTION_SCRIPT_CURR_MAX        = 00001407h
URLACTION_SCRIPT_MAX             = 000015ffh
URLACTION_HTML_MIN               = 00001600h
URLACTION_HTML_SUBMIT_FORMS      = 00001601h
URLACTION_HTML_SUBMIT_FORMS_FROM = 00001602h
URLACTION_HTML_SUBMIT_FORMS_TO   = 00001603h
URLACTION_HTML_FONT_DOWNLOAD     = 00001604h
URLACTION_HTML_JAVA_RUN          = 00001605h
URLACTION_HTML_USERDATA_SAVE     = 00001606h
URLACTION_HTML_SUBFRAME_NAVIGATE = 00001607h
URLACTION_HTML_META_REFRESH      = 00001608h
URLACTION_HTML_MIXED_CONTENT     = 00001609h
URLACTION_HTML_MAX               = 000017ffh
URLACTION_SHELL_MIN              = 00001800h
URLACTION_SHELL_INSTALL_DTITEMS  = 00001800h
URLACTION_SHELL_MOVE_OR_COPY     = 00001802h
URLACTION_SHELL_FILE_DOWNLOAD    = 00001803h
URLACTION_SHELL_VERB             = 00001804h
URLACTION_SHELL_WEBVIEW_VERB     = 00001805h
URLACTION_SHELL_SHELLEXECUTE     = 00001806h
URLACTION_SHELL_CURR_MAX         = 00001806h
URLACTION_SHELL_MAX              = 000019ffh
URLACTION_NETWORK_MIN            = 00001A00h
URLACTION_CREDENTIALS_USE        = 00001A00h
URLPOLICY_CREDENTIALS_SILENT_LOGON_OK = 00000000h
URLPOLICY_CREDENTIALS_MUST_PROMPT_USER = 00010000h
URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT = 00020000h
URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY = 00030000h
URLACTION_AUTHENTICATE_CLIENT    = 00001A01h
URLPOLICY_AUTHENTICATE_CLEARTEXT_OK = 00000000h
URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE = 00010000h
URLPOLICY_AUTHENTICATE_MUTUAL_ONLY = 00030000h
URLACTION_COOKIES                = 00001A02h
URLACTION_COOKIES_SESSION        = 00001A03h
URLACTION_CLIENT_CERT_PROMPT     = 00001A04h
URLACTION_COOKIES_THIRD_PARTY    = 00001A05h
URLACTION_COOKIES_SESSION_THIRD_PARTY = 00001A06h
URLACTION_COOKIES_ENABLED        = 00001A10h
URLACTION_NETWORK_CURR_MAX       = 00001A10h
URLACTION_NETWORK_MAX            = 00001Bffh
URLACTION_JAVA_MIN               = 00001C00h
URLACTION_JAVA_PERMISSIONS       = 00001C00h
URLPOLICY_JAVA_PROHIBIT          = 00000000h
URLPOLICY_JAVA_HIGH              = 00010000h
URLPOLICY_JAVA_MEDIUM            = 00020000h
URLPOLICY_JAVA_LOW               = 00030000h
URLPOLICY_JAVA_CUSTOM            = 00800000h
URLACTION_JAVA_CURR_MAX          = 00001C00h
URLACTION_JAVA_MAX               = 00001Cffh
URLACTION_INFODELIVERY_MIN       = 00001D00h
URLACTION_INFODELIVERY_NO_ADDING_CHANNELS = 00001D00h
URLACTION_INFODELIVERY_NO_EDITING_CHANNELS = 00001D01h
URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS = 00001D02h
URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS = 00001D03h
URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS = 00001D04h
URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS = 00001D05h
URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING = 00001D06h
URLACTION_INFODELIVERY_CURR_MAX  = 00001D06h
URLACTION_INFODELIVERY_MAX       = 00001Dffh
URLACTION_CHANNEL_SOFTDIST_MIN   = 00001E00h
URLACTION_CHANNEL_SOFTDIST_PERMISSIONS = 00001E05h
URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT = 00010000h
URLPOLICY_CHANNEL_SOFTDIST_PRECACHE = 00020000h
URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL = 00030000h
URLACTION_CHANNEL_SOFTDIST_MAX   = 00001Effh
URLPOLICY_ALLOW                  = 00h
URLPOLICY_QUERY                  = 01h
URLPOLICY_DISALLOW               = 03h
URLPOLICY_NOTIFY_ON_ALLOW        = 10h
URLPOLICY_NOTIFY_ON_DISALLOW     = 20h
URLPOLICY_LOG_ON_ALLOW           = 40h
URLPOLICY_LOG_ON_DISALLOW        = 80h
URLPOLICY_MASK_PERMISSIONS       = 0fh
URLPOLICY_DONTCHECKDLGBOX        = 100h
URLZONE_ESC_FLAG                 = 100h
SOFTDIST_FLAG_USAGE_EMAIL        = 00000001h
SOFTDIST_FLAG_USAGE_PRECACHE     = 00000002h
SOFTDIST_FLAG_USAGE_AUTOINSTALL  = 00000004h
SOFTDIST_FLAG_DELETE_SUBSCRIPTION = 00000008h
SOFTDIST_ADSTATE_NONE            = 00000000h
SOFTDIST_ADSTATE_AVAILABLE       = 00000001h
SOFTDIST_ADSTATE_DOWNLOADED      = 00000002h
SOFTDIST_ADSTATE_INSTALLED       = 00000003h
CONFIRMSAFETYACTION_LOADOBJECT   = 00000001h
FMFD_ENABLEMIMESNIFFING          = 00000002h
FMFD_IGNOREMIMETEXTPLAIN         = 00000004h
URLMON_OPTION_USE_BINDSTRINGCREDS = 10000008h
URLMON_OPTION_USE_BROWSERAPPSDOCUMENTS = 10000010h
MK_S_ASYNCHRONOUS                = 000401E8h
S_ASYNCHRONOUS                   = MK_S_ASYNCHRONOUS
INET_E_INVALID_URL               = 800C0002h
INET_E_NO_SESSION                = 800C0003h
INET_E_CANNOT_CONNECT            = 800C0004h
INET_E_RESOURCE_NOT_FOUND        = 800C0005h
INET_E_OBJECT_NOT_FOUND          = 800C0006h
INET_E_DATA_NOT_AVAILABLE        = 800C0007h
INET_E_DOWNLOAD_FAILURE          = 800C0008h
INET_E_AUTHENTICATION_REQUIRED   = 800C0009h
INET_E_NO_VALID_MEDIA            = 800C000Ah
INET_E_CONNECTION_TIMEOUT        = 800C000Bh
INET_E_INVALID_REQUEST           = 800C000Ch
INET_E_UNKNOWN_PROTOCOL          = 800C000Dh
INET_E_SECURITY_PROBLEM          = 800C000Eh
INET_E_CANNOT_LOAD_DATA          = 800C000Fh
INET_E_INVALID_CERTIFICATE       = 800C0019h
INET_E_REDIRECT_FAILED           = 800C0014h
INET_E_REDIRECT_TO_DIR           = 800C0015h
INET_E_CANNOT_LOCK_REQUEST       = 800C0016h
INET_E_USE_EXTEND_BINDING        = 800C0017h
INET_E_TERMINATED_BIND           = 800C0018h
INET_E_ERROR_FIRST               = 800C0002h
INET_E_CODE_DOWNLOAD_DECLINED    = 800C0100h
INET_E_RESULT_DISPATCHED         = 800C0200h
INET_E_CANNOT_REPLACE_SFP_FILE   = 800C0300h
INET_E_CODE_INSTALL_SUPPRESSED   = 800C0400h
INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY = 800C0500h
INET_E_ERROR_LAST                = INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY
Uri_CREATE_ALLOW_RELATIVE        = 00000001h
Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME = 00000002h
Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME = 00000004h
Uri_CREATE_NOFRAG                = 00000008h
Uri_CREATE_NO_CANONICALIZE       = 00000010h
Uri_CREATE_CANONICALIZE          = 00000100h
Uri_CREATE_FILE_USE_DOS_PATH     = 00000020h
Uri_CREATE_DECODE_EXTRA_INFO     = 00000040h
Uri_CREATE_NO_DECODE_EXTRA_INFO  = 00000080h
Uri_CREATE_CRACK_UNKNOWN_SCHEMES = 00000200h
Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES = 00000400h
Uri_CREATE_PRE_PROCESS_HTML_URI  = 00000800h
Uri_CREATE_NO_PRE_PROCESS_HTML_URI = 00001000h
Uri_CREATE_IE_SETTINGS           = 00002000h
Uri_CREATE_NO_IE_SETTINGS        = 00004000h
Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS = 00008000h
Uri_DISPLAY_NO_FRAGMENT          = 00000001h
Uri_PUNYCODE_IDN_HOST            = 00000002h
Uri_DISPLAY_IDN_HOST             = 00000004h
Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 = 00000001h
Uri_ENCODING_USER_INFO_AND_PATH_IS_CP = 00000002h
Uri_ENCODING_HOST_IS_IDN         = 00000004h
Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 = 00000008h
Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP = 00000010h
Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 = 00000020h
Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP = 00000040h
Uri_ENCODING_RFC                 = Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 or Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 or Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8
UriBuilder_USE_ORIGINAL_FLAGS    = 00000001h
SET_FEATURE_ON_THREAD            = 00000001h
SET_FEATURE_ON_PROCESS           = 00000002h
SET_FEATURE_IN_REGISTRY          = 00000004h
SET_FEATURE_ON_THREAD_LOCALMACHINE = 00000008h
SET_FEATURE_ON_THREAD_INTRANET   = 00000010h
SET_FEATURE_ON_THREAD_TRUSTED    = 00000020h
SET_FEATURE_ON_THREAD_INTERNET   = 00000040h
SET_FEATURE_ON_THREAD_RESTRICTED = 00000080h
GET_FEATURE_FROM_THREAD          = 00000001h
GET_FEATURE_FROM_PROCESS         = 00000002h
GET_FEATURE_FROM_REGISTRY        = 00000004h
GET_FEATURE_FROM_THREAD_LOCALMACHINE = 00000008h
GET_FEATURE_FROM_THREAD_INTRANET = 00000010h
GET_FEATURE_FROM_THREAD_TRUSTED  = 00000020h
GET_FEATURE_FROM_THREAD_INTERNET = 00000040h
GET_FEATURE_FROM_THREAD_RESTRICTED = 00000080h
INET_E_USE_DEFAULT_SETTING       = 800C0012h
;INET_E_DEFAULT_ACTION            = INET_E_USE_DEFAULT_PROTOCOLHANDLER
INET_E_QUERYOPTION_UNKNOWN       = 800C0013h
INET_E_REDIRECTING               = 800C0014h
MUTZ_ISFILE                      = 00000002h
MUTZ_ACCEPT_WILDCARD_SCHEME      = 00000080h
MUTZ_RESERVED                    = 00000200h
MUTZ_REQUIRESAVEDFILECHECK       = 00000400h
MUTZ_DONT_UNESCAPE               = 00000800h
MUTZ_DONT_USE_CACHE              = 00001000h
MUTZ_FORCE_INTRANET_FLAGS        = 00002000h
MUTZ_IGNORE_ZONE_MAPPINGS        = 00004000h
URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION = 00001207h
URLACTION_ACTIVEX_OVERRIDE_OPTIN = 00001208h
URLACTION_ACTIVEX_SCRIPTLET_RUN  = 00001209h
URLACTION_ACTIVEX_DYNSRC_VIDEO_AND_ANIMATION = 0000120Ah
URLACTION_ALLOW_XDOMAIN_SUBFRAME_RESIZE = 00001408h
URLACTION_HTML_INCLUDE_FILE_PATH = 0000160Ah
URLACTION_SHELL_EXECUTE_HIGHRISK = 00001806h
URLACTION_SHELL_EXECUTE_MODRISK  = 00001807h
URLACTION_SHELL_EXECUTE_LOWRISK  = 00001808h
URLACTION_SHELL_POPUPMGR         = 00001809h
URLACTION_SHELL_RTF_OBJECTS_LOAD = 0000180Ah
URLACTION_SHELL_ENHANCED_DRAGDROP_SECURITY = 0000180Bh
URLACTION_SHELL_EXTENSIONSECURITY = 0000180Ch
URLACTION_SHELL_SECURE_DRAGSOURCE = 0000180Dh
URLACTION_BEHAVIOR_MIN           = 00002000h
URLACTION_BEHAVIOR_RUN           = 00002000h
URLPOLICY_BEHAVIOR_CHECK_LIST    = 00010000h
URLACTION_FEATURE_MIN            = 00002100h
URLACTION_FEATURE_MIME_SNIFFING  = 00002100h
URLACTION_FEATURE_ZONE_ELEVATION = 00002101h
URLACTION_FEATURE_WINDOW_RESTRICTIONS = 00002102h
URLACTION_FEATURE_SCRIPT_STATUS_BAR = 00002103h
URLACTION_FEATURE_FORCE_ADDR_AND_STATUS = 00002104h
URLACTION_FEATURE_BLOCK_INPUT_PROMPTS = 00002105h
URLACTION_AUTOMATIC_DOWNLOAD_UI_MIN = 00002200h
URLACTION_AUTOMATIC_DOWNLOAD_UI  = 00002200h
URLACTION_AUTOMATIC_ACTIVEX_UI   = 00002201h
URLACTION_ALLOW_RESTRICTEDPROTOCOLS = 00002300h
URLACTION_ALLOW_APEVALUATION     = 00002301h
URLACTION_WINDOWS_BROWSER_APPLICATIONS = 00002400h
URLACTION_XPS_DOCUMENTS          = 00002401h
URLACTION_LOOSE_XAML             = 00002402h
URLACTION_LOWRIGHTS              = 00002500h
URLACTION_WINFX_SETUP            = 00002600h
;GetUrlPolicyPermissions          = dw & URLPOLICY_MASK_PERMISSIONS
SECURITY_IE_STATE_GREEN          = 00000000h
SECURITY_IE_STATE_RED            = 00000001h

;;;; end urlmon

;;;; mapi

;---------------------------------------[ mapi.h ]---------------------------------------

MAPI_OLE = 1
MAPI_OLE_STATIC = 2
MAPI_ORIG = 0
MAPI_TO = 1
MAPI_CC = 2
MAPI_BCC = 3
MAPI_UNREAD = 1
MAPI_RECEIPT_REQUESTED = 2
MAPI_SENT = 4
MAPI_LOGON_UI = 1
MAPI_PASSWORD_UI = 20000h
MAPI_NEW_SESSION = 2
MAPI_FORCE_DOWNLOAD = 1000h
MAPI_EXTENDED = 20h
MAPI_DIALOG = 8
MAPI_UNREAD_ONLY = 20h
MAPI_GUARANTEE_FIFO = 100h
MAPI_LONG_MSGID = 4000h
MAPI_PEEK = 80h
MAPI_SUPPRESS_ATTACH = 800h
MAPI_ENVELOPE_ONLY = 40h
MAPI_BODY_AS_FILE = 200h
MAPI_AB_NOMODIFY = 400h
SUCCESS_SUCCESS = 0
MAPI_USER_ABORT = 1
MAPI_E_USER_ABORT = MAPI_USER_ABORT
MAPI_E_FAILURE = 2
MAPI_E_LOGON_FAILURE = 3
MAPI_E_LOGIN_FAILURE = MAPI_E_LOGON_FAILURE
MAPI_E_DISK_FULL = 4
MAPI_E_INSUFFICIENT_MEMORY = 5
MAPI_E_ACCESS_DENIED = 6
MAPI_E_TOO_MANY_SESSIONS = 8
MAPI_E_TOO_MANY_FILES = 9
MAPI_E_TOO_MANY_RECIPIENTS = 10
MAPI_E_ATTACHMENT_NOT_FOUND = 11
MAPI_E_ATTACHMENT_OPEN_FAILURE = 12
MAPI_E_ATTACHMENT_WRITE_FAILURE = 13
MAPI_E_UNKNOWN_RECIPIENT = 14
MAPI_E_BAD_RECIPTYPE = 15
MAPI_E_NO_MESSAGES = 16
MAPI_E_INVALID_MESSAGE = 17
MAPI_E_TEXT_TOO_LARGE = 18
MAPI_E_INVALID_SESSION = 19
MAPI_E_TYPE_NOT_SUPPORTED = 20
MAPI_E_AMBIGUOUS_RECIPIENT = 21
MAPI_E_AMBIG_RECIP = MAPI_E_AMBIGUOUS_RECIPIENT
MAPI_E_MESSAGE_IN_USE = 22
MAPI_E_NETWORK_FAILURE = 23
MAPI_E_INVALID_EDITFIELDS = 24
MAPI_E_INVALID_RECIPS = 25
MAPI_E_NOT_SUPPORTED = 26

MapiFileDesc struct
    ulReserved dd ?
    flFlags dd ?
    nPosition dd ?
    lpszPathName dd ?
    lpszFileName dd ?
    lpFileType dd ?
MapiFileDesc ends

MapiFileTagExt struct
    ulReserved dd ?
    cbTag dd ?
    lpTag dd ?
    cbEncoding dd ?
    lpEncoding dd ?
MapiFileTagExt ends

MapiRecipDesc struct
    ulReserved dd ?
    ulRecipClass dd ?
    lpszName dd ?
    lpszAddress dd ?
    ulEIDSize dd ?
    lpEntryID dd ?
MapiRecipDesc ends

MapiMessage struct
    ulReserved dd ?
    lpszSubject dd ?
    lpszNoteText dd ?
    lpszMessageType dd ?
    lpszDateReceived dd ?
    lpszConversationID dd ?
    flFlags dd ?
    lpOriginator dd ?
    nRecipCount dd ?
    lpRecips dd ?
    nFileCount dd ?
    lpFiles dd ?
MapiMessage ends

;-------------------------------------[ mapicode.h ]-------------------------------------

MAPI_E_CALL_FAILED = E_FAIL
MAPI_E_NOT_ENOUGH_MEMORY = E_OUTOFMEMORY
MAPI_E_INVALID_PARAMETER = E_INVALIDARG
MAPI_E_INTERFACE_NOT_SUPPORTED = E_NOINTERFACE
MAPI_E_NO_ACCESS = E_ACCESSDENIED
MAPI_E_NO_SUPPORT = 80040102h
MAPI_E_BAD_CHARWIDTH = 80040103h
MAPI_E_STRING_TOO_LONG = 80040105h
MAPI_E_UNKNOWN_FLAGS = 80040106h
MAPI_E_INVALID_ENTRYID = 80040107h
MAPI_E_INVALID_OBJECT = 80040108h
MAPI_E_OBJECT_CHANGED = 80040109h
MAPI_E_OBJECT_DELETED = 8004010Ah
MAPI_E_BUSY = 8004010Bh
MAPI_E_NOT_ENOUGH_DISK = 8004010Dh
MAPI_E_NOT_ENOUGH_RESOURCES = 8004010Eh
MAPI_E_NOT_FOUND = 8004010Fh
MAPI_E_VERSION = 80040110h
MAPI_E_LOGON_FAILED = 80040111h
MAPI_E_SESSION_LIMIT = 80040112h
MAPI_E_USER_CANCEL = 80040113h
MAPI_E_UNABLE_TO_ABORT = 80040114h
MAPI_E_NETWORK_ERROR = 80040115h
MAPI_E_DISK_ERROR = 80040116h
MAPI_E_TOO_COMPLEX = 80040117h
MAPI_E_BAD_COLUMN = 80040118h
MAPI_E_EXTENDED_ERROR = 80040119h
MAPI_E_COMPUTED = 8004011Ah
MAPI_E_CORRUPT_DATA = 8004011Bh
MAPI_E_UNCONFIGURED = 8004011Ch
MAPI_E_FAILONEPROVIDER = 8004011Dh
MAPI_E_UNKNOWN_CPID = 8004011Eh
MAPI_E_UNKNOWN_LCID = 8004011Fh
MAPI_E_PASSWORD_CHANGE_REQUIRED = 80040120h
MAPI_E_PASSWORD_EXPIRED = 80040121h
MAPI_E_INVALID_WORKSTATION_ACCOUNT = 80040122h
MAPI_E_INVALID_ACCESS_TIME = 80040123h
MAPI_E_ACCOUNT_DISABLED = 80040124h
MAPI_E_END_OF_SESSION = 80040200h
MAPI_E_UNKNOWN_ENTRYID = 80040201h
MAPI_E_MISSING_REQUIRED_COLUMN = 80040202h
MAPI_W_NO_SERVICE = 40203h
MAPI_E_BAD_VALUE = 80040301h
MAPI_E_INVALID_TYPE = 80040302h
MAPI_E_TYPE_NO_SUPPORT = 80040303h
MAPI_E_UNEXPECTED_TYPE = 80040304h
MAPI_E_TOO_BIG = 80040305h
MAPI_E_DECLINE_COPY = 80040306h
MAPI_E_UNEXPECTED_ID = 80040307h
MAPI_W_ERRORS_RETURNED = 40380h
MAPI_E_UNABLE_TO_COMPLETE = 80040400h
MAPI_E_TIMEOUT = 80040401h
MAPI_E_TABLE_EMPTY = 80040402h
MAPI_E_TABLE_TOO_BIG = 80040403h
MAPI_E_INVALID_BOOKMARK = 80040405h
MAPI_W_POSITION_CHANGED = 40481h
MAPI_W_APPROX_COUNT = 40482h
MAPI_E_WAIT = 80040500h
MAPI_E_CANCEL = 80040501h
MAPI_E_NOT_ME = 80040502h
MAPI_W_CANCEL_MESSAGE = 40580h
MAPI_E_CORRUPT_STORE = 80040600h
MAPI_E_NOT_IN_QUEUE = 80040601h
MAPI_E_NO_SUPPRESS = 80040602h
MAPI_E_COLLISION = 80040604h
MAPI_E_NOT_INITIALIZED = 80040605h
MAPI_E_NON_STANDARD = 80040606h
MAPI_E_NO_RECIPIENTS = 80040607h
MAPI_E_SUBMITTED = 80040608h
MAPI_E_HAS_FOLDERS = 80040609h
MAPI_E_HAS_MESSAGES = 8004060Ah
MAPI_E_FOLDER_CYCLE = 8004060Bh
MAPI_W_PARTIAL_COMPLETION = 40680h
MAPI_E_AMBIGUOUS_RECIP = 80040700h

;-----------------------------[ mapidefs.h ]-----------------------------
MAPI_DIM = 1
MAPI_NT_SERVICE = 10000h
MAPI_MODIFY = 1
MAPI_ACCESS_MODIFY = 1
MAPI_ACCESS_READ = 2
MAPI_ACCESS_DELETE = 4
MAPI_ACCESS_CREATE_HIERARCHY = 8
MAPI_ACCESS_CREATE_CONTENTS = 10h
MAPI_ACCESS_CREATE_ASSOCIATED = 20h
MAPI_UNICODE = 80000000h
fMapiUnicode = 0
hrSuccess = 0
MAPI_P1 = 10000000h
MAPI_SUBMITTED = 80000000h
MAPI_SHORTTERM = 80h
MAPI_NOTRECIP = 40h
MAPI_THISSESSION = 20h
MAPI_NOW = 10h
MAPI_NOTRESERVED = 08h
MAPI_COMPOUND = 80h
MAPI_ONE_OFF_UID equ 81h, 2bh, 1fh, 0a4h, 0beh, 0a3h, 10h, 19h,09dh, 6eh, 0h, 0ddh, 01h, 0fh, 54h, 02h
MAPI_ONE_OFF_UNICODE = 8000h
MAPI_ONE_OFF_NO_RICH_INFO = 1h
MAPI_STORE = 1
MAPI_ADDRBOOK = 2
MAPI_FOLDER = 3
MAPI_ABCONT = 4
MAPI_MESSAGE = 5
MAPI_MAILUSER = 6
MAPI_ATTACH = 7
MAPI_DISTLIST = 8
MAPI_PROFSECT = 9
MAPI_STATUS = 0Ah
MAPI_SESSION = 0Bh
MAPI_FORMINFO = 0Ch
cchProfileNameMax = 64
cchProfilePassMax = 64
MV_FLAG = 1000h
PT_UNSPECIFIED = 0
PT_NULL = 1
PT_I2 = 2
PT_LONG = 3
PT_R4 = 4
PT_DOUBLE = 5
PT_CURRENCY = 6
PT_APPTIME = 7
PT_ERROR = 10
PT_BOOLEAN = 11
PT_OBJECT = 13
PT_I8 = 20
PT_STRING8 = 30
PT_UNICODE = 31
PT_SYSTIME = 64
PT_CLSID = 72
PT_BINARY = 258
PT_SHORT = PT_I2
PT_I4 = PT_LONG
PT_FLOAT = PT_R4
PT_R8 = PT_DOUBLE
if UNICODE eq TRUE
    PT_TSTRING = PT_UNICODE
else
    PT_TSTRING = PT_STRING8
end if
if UNICODE eq TRUE
    PT_MV_TSTRING = PT_UNICODE or MV_FLAG
else
    PT_MV_TSTRING = PT_STRING8 or MV_FLAG
end if
PT_LONGLONG = PT_I8
PROP_TYPE_MASK = 0FFFFh
PROP_ID_NULL = 0
PROP_ID_INVALID = 0FFFFh
PR_NULL = (PROP_ID_NULL shl 16) +PT_NULL
PT_MV_I2 = MV_FLAG+PT_I2
PT_MV_LONG = MV_FLAG+PT_LONG
PT_MV_R4 = MV_FLAG+PT_R4
PT_MV_DOUBLE = MV_FLAG+PT_DOUBLE
PT_MV_CURRENCY = MV_FLAG+PT_CURRENCY
PT_MV_APPTIME = MV_FLAG+PT_APPTIME
PT_MV_SYSTIME = MV_FLAG+PT_SYSTIME
PT_MV_STRING8 = MV_FLAG+PT_STRING8
PT_MV_BINARY = MV_FLAG+PT_BINARY
PT_MV_UNICODE = MV_FLAG+PT_UNICODE
PT_MV_CLSID = MV_FLAG+PT_CLSID
PT_MV_I8 = MV_FLAG+PT_I8
PT_MV_SHORT = PT_MV_I2
PT_MV_I4 = PT_MV_LONG
PT_MV_FLOAT = PT_MV_R4
PT_MV_R8 = PT_MV_DOUBLE
PT_MV_LONGLONG = PT_MV_I8
MV_INSTANCE = 2000h
MVI_FLAG = MV_FLAG + MV_INSTANCE
fnevCriticalError = 1
fnevNewMail = 2
fnevObjectCreated = 4
fnevObjectDeleted = 8
fnevObjectModified = 10h
fnevObjectMoved = 20h
fnevObjectCopied = 40h
fnevSearchComplete = 80h
fnevTableModified = 100h
fnevStatusObjectModified = 200h
fnevReservedForMapi = 40000000h
fnevExtended = 80000000h
TABLE_CHANGED = 1
TABLE_ERROR = 2
TABLE_ROW_ADDED = 3
TABLE_ROW_DELETED = 4
TABLE_ROW_MODIFIED = 5
TABLE_SORT_DONE = 6
TABLE_RESTRICT_DONE = 7
TABLE_SETCOL_DONE = 8
TABLE_RELOAD = 9
MAPI_TOP_LEVEL = 01h
MAPI_ERROR_VERSION = 0
KEEP_OPEN_READONLY = 1
KEEP_OPEN_READWRITE = 2
FORCE_SAVE = 4
MAPI_CREATE = 2
STREAM_APPEND = 4
MAPI_MOVE = 1
MAPI_NOREPLACE = 2
MAPI_DECLINE_OK = 4
MAPI_USE_DEFAULT = 40h
MAPI_NO_STRINGS = 1
MAPI_NO_IDS = 2
MNID_ID = 0
MNID_STRING = 1
TBLSTAT_COMPLETE = 0
TBLSTAT_QCHANGED = 7
TBLSTAT_SORTING = 9
TBLSTAT_SORT_ERROR = 10
TBLSTAT_SETTING_COLS = 11
TBLSTAT_SETCOL_ERROR = 13
TBLSTAT_RESTRICTING = 14
TBLSTAT_RESTRICT_ERROR = 15
TBLTYPE_SNAPSHOT = 0
TBLTYPE_KEYSET = 1
TBLTYPE_DYNAMIC = 2
TABLE_SORT_ASCEND = 0
TABLE_SORT_DESCEND = 1
TABLE_SORT_COMBINE = 2
BOOKMARK_BEGINNING = 0
BOOKMARK_CURRENT = 1
BOOKMARK_END = 2
FL_FULLSTRING = 0
FL_SUBSTRING = 1
FL_PREFIX = 2
FL_IGNORECASE = 10000h
FL_IGNORENONSPACE = 20000h
FL_LOOSE = 40000h
RES_AND = 0
RES_OR = 1
RES_NOT = 2
RES_CONTENT = 3
RES_PROPERTY = 4
RES_COMPAREPROPS = 5
RES_BITMASK = 6
RES_SIZE = 7
RES_EXIST = 8
RES_SUBRESTRICTION = 9
RES_COMMENT = 0Ah
RELOP_LT = 0
RELOP_LE = 1
RELOP_GT = 2
RELOP_GE = 3
RELOP_EQ = 4
RELOP_NE = 5
RELOP_RE = 6
BMR_EQZ = 0
BMR_NEZ = 1
TBL_ALL_COLUMNS = 1
TBL_LEAF_ROW = 1
TBL_EMPTY_CATEGORY = 2
TBL_EXPANDED_CATEGORY = 3
TBL_COLLAPSED_CATEGORY = 4
TBL_NOWAIT = 1
TBL_ASYNC = 1
TBL_BATCH = 2
DIR_BACKWARD = 1
TBL_NOADVANCE = 1
PS_PROFILE_PROPERTIES_INIT equ 098h, 15h, 0ACh, 08h, 0AAh, 0B0h, 10h, 1Ah,8Ch, 093h, 08h, 0h, 2Bh, 2Ah, 56h, 0C2h
MAPI_STORE_PROVIDER = 33
MAPI_AB = 34
MAPI_AB_PROVIDER = 35
MAPI_TRANSPORT_PROVIDER = 36
MAPI_SPOOLER = 37
MAPI_PROFILE_PROVIDER = 38
MAPI_SUBSYSTEM = 39
MAPI_HOOK_PROVIDER = 40
STATUS_VALIDATE_STATE = 1
STATUS_SETTINGS_DIALOG = 2
STATUS_CHANGE_PASSWORD = 4
STATUS_FLUSH_QUEUES = 8
STATUS_DEFAULT_OUTBOUND = 1
STATUS_DEFAULT_STORE = 2
STATUS_PRIMARY_IDENTITY = 4
STATUS_SIMPLE_STORE = 8
STATUS_XP_PREFER_LAST = 10h
STATUS_NO_PRIMARY_IDENTITY = 20h
STATUS_NO_DEFAULT_STORE = 40h
STATUS_TEMP_SECTION = 80h
STATUS_OWN_STORE = 100h
STATUS_NEED_IPM_TREE = 800h
STATUS_PRIMARY_STORE = 1000h
STATUS_SECONDARY_STORE = 2000h
STATUS_AVAILABLE = 1
STATUS_OFFLINE = 2
STATUS_FAILURE = 4
STATUS_INBOUND_ENABLED = 10000h
STATUS_INBOUND_ACTIVE = 20000h
STATUS_INBOUND_FLUSH = 40000h
STATUS_OUTBOUND_ENABLED = 100000h
STATUS_OUTBOUND_ACTIVE = 200000h
STATUS_OUTBOUND_FLUSH = 400000h
STATUS_REMOTE_ACCESS = 800000h
SUPPRESS_UI = 1
REFRESH_XP_HEADER_CACHE = 10000h
PROCESS_XP_HEADER_CACHE = 20000h
FORCE_XP_CONNECT = 40000h
FORCE_XP_DISCONNECT = 80000h
CONFIG_CHANGED = 100000h
ABORT_XP_HEADER_OPERATION = 200000h
SHOW_XP_SESSION_UI = 400000h
UI_READONLY = 1
FLUSH_UPLOAD = 2
FLUSH_DOWNLOAD = 4
FLUSH_FORCE = 8
FLUSH_NO_UI = 10h
FLUSH_ASYNC_OK = 20h
MAPI_BEST_ACCESS = 10h
CONVENIENT_DEPTH = 1
SEARCH_RUNNING = 1
SEARCH_REBUILD = 2
SEARCH_RECURSIVE = 4
SEARCH_FOREGROUND = 8
STOP_SEARCH = 1
RESTART_SEARCH = 2
RECURSIVE_SEARCH = 4
SHALLOW_SEARCH = 8
FOREGROUND_SEARCH = 10h
BACKGROUND_SEARCH = 20h
AB_RECIPIENTS = 1
AB_SUBCONTAINERS = 2
AB_MODIFIABLE = 4
AB_UNMODIFIABLE = 8
AB_FIND_ON_OPEN = 10h
AB_NOT_DEFAULT = 20h
CREATE_CHECK_DUP_STRICT = 1
CREATE_CHECK_DUP_LOOSE = 2
CREATE_REPLACE = 4
MAPI_UNRESOLVED = 0
MAPI_AMBIGUOUS = 1
MAPI_RESOLVED = 2
MAPI_SEND_NO_RICH_INFO = 10000h
MAPI_DIAG_NO_DIAGNOSTIC = -1
MAPI_DIAG_OR_NAME_UNRECOGNIZED = 0
MAPI_DIAG_OR_NAME_AMBIGUOUS = 1
MAPI_DIAG_MTS_CONGESTED = 2
MAPI_DIAG_LOOP_DETECTED = 3
MAPI_DIAG_RECIPIENT_UNAVAILABLE = 4
MAPI_DIAG_MAXIMUM_TIME_EXPIRED = 5
MAPI_DIAG_EITS_UNSUPPORTED = 6
MAPI_DIAG_CONTENT_TOO_LONG = 7
MAPI_DIAG_IMPRACTICAL_TO_CONVERT = 8
MAPI_DIAG_PROHIBITED_TO_CONVERT = 9
MAPI_DIAG_CONVERSION_UNSUBSCRIBED = 10
MAPI_DIAG_PARAMETERS_INVALID = 11
MAPI_DIAG_CONTENT_SYNTAX_IN_ERROR = 12
MAPI_DIAG_LENGTH_CONSTRAINT_VIOLATD = 13
MAPI_DIAG_NUMBER_CONSTRAINT_VIOLATD = 14
MAPI_DIAG_CONTENT_TYPE_UNSUPPORTED = 15
MAPI_DIAG_TOO_MANY_RECIPIENTS = 16
MAPI_DIAG_NO_BILATERAL_AGREEMENT = 17
MAPI_DIAG_CRITICAL_FUNC_UNSUPPORTED = 18
MAPI_DIAG_CONVERSION_LOSS_PROHIB = 19
MAPI_DIAG_LINE_TOO_LONG = 20
MAPI_DIAG_PAGE_TOO_LONG = 21
MAPI_DIAG_PICTORIAL_SYMBOL_LOST = 22
MAPI_DIAG_PUNCTUATION_SYMBOL_LOST = 23
MAPI_DIAG_ALPHABETIC_CHARACTER_LOST = 24
MAPI_DIAG_MULTIPLE_INFO_LOSSES = 25
MAPI_DIAG_REASSIGNMENT_PROHIBITED = 26
MAPI_DIAG_REDIRECTION_LOOP_DETECTED = 27
MAPI_DIAG_EXPANSION_PROHIBITED = 28
MAPI_DIAG_SUBMISSION_PROHIBITED = 29
MAPI_DIAG_EXPANSION_FAILED = 30
MAPI_DIAG_RENDITION_UNSUPPORTED = 31
MAPI_DIAG_MAIL_ADDRESS_INCORRECT = 32
MAPI_DIAG_MAIL_OFFICE_INCOR_OR_INVD = 33
MAPI_DIAG_MAIL_ADDRESS_INCOMPLETE = 34
MAPI_DIAG_MAIL_RECIPIENT_UNKNOWN = 35
MAPI_DIAG_MAIL_RECIPIENT_DECEASED = 36
MAPI_DIAG_MAIL_ORGANIZATION_EXPIRED = 37
MAPI_DIAG_MAIL_REFUSED = 38
MAPI_DIAG_MAIL_UNCLAIMED = 39
MAPI_DIAG_MAIL_RECIPIENT_MOVED = 40
MAPI_DIAG_MAIL_RECIPIENT_TRAVELLING = 41
MAPI_DIAG_MAIL_RECIPIENT_DEPARTED = 42
MAPI_DIAG_MAIL_NEW_ADDRESS_UNKNOWN = 43
MAPI_DIAG_MAIL_FORWARDING_UNWANTED = 44
MAPI_DIAG_MAIL_FORWARDING_PROHIB = 45
MAPI_DIAG_SECURE_MESSAGING_ERROR = 46
MAPI_DIAG_DOWNGRADING_IMPOSSIBLE = 47
MAPI_MH_DP_PUBLIC_UA = 0
MAPI_MH_DP_PRIVATE_UA = 1
MAPI_MH_DP_MS = 2
MAPI_MH_DP_ML = 3
MAPI_MH_DP_PDAU = 4
MAPI_MH_DP_PDS_PATRON = 5
MAPI_MH_DP_OTHER_AU = 6
FOLDER_ROOT = 0
FOLDER_GENERIC = 1
FOLDER_SEARCH = 2
MESSAGE_MOVE = 1
MESSAGE_DIALOG = 2
OPEN_IF_EXISTS = 1
DEL_MESSAGES = 1
FOLDER_DIALOG = 2
DEL_FOLDERS = 4
DEL_ASSOCIATED = 8
FOLDER_MOVE = 1
COPY_SUBFOLDERS = 10h
MSGSTATUS_HIGHLIGHTED = 01h
MSGSTATUS_TAGGED = 2
MSGSTATUS_HIDDEN = 4
MSGSTATUS_DELMARKED = 8
MSGSTATUS_REMOTE_DOWNLOAD = 01000h
MSGSTATUS_REMOTE_DELETE = 02000h
RECURSIVE_SORT = 2
FLDSTATUS_HIGHLIGHTED = 1
FLDSTATUS_TAGGED = 2
FLDSTATUS_HIDDEN = 4
FLDSTATUS_DELMARKED = 8
STORE_ENTRYID_UNIQUE = 1
STORE_READONLY = 2
STORE_SEARCH_OK = 4
STORE_MODIFY_OK = 8
STORE_CREATE_OK = 10h
STORE_ATTACH_OK = 20h
STORE_OLE_OK = 40h
STORE_SUBMIT_OK = 80h
STORE_NOTIFY_OK = 100h
STORE_MV_PROPS_OK = 200h
STORE_CATEGORIZE_OK = 400h
STORE_RTF_OK = 800h
STORE_RESTRICTION_OK = 1000h
STORE_SORT_OK = 2000h
STORE_PUBLIC_FOLDERS = 4000h
STORE_UNCOMPRESSED_RTF = 8000h
STORE_HAS_SEARCHES = 1000000h
LOGOFF_NO_WAIT = 1
LOGOFF_ORDERLY = 2
LOGOFF_PURGE = 4
LOGOFF_ABORT = 8
LOGOFF_QUIET = 10h
LOGOFF_COMPLETE = 10000h
LOGOFF_INBOUND = 20000h
LOGOFF_OUTBOUND = 40000h
LOGOFF_OUTBOUND_QUEUE = 80000h
MSG_LOCKED = 1
MSG_UNLOCKED = 0
FOLDER_IPM_SUBTREE_VALID = 1
FOLDER_IPM_INBOX_VALID = 2
FOLDER_IPM_OUTBOX_VALID = 4
FOLDER_IPM_WASTEBASKET_VALID = 8
FOLDER_IPM_SENTMAIL_VALID = 10h
FOLDER_VIEWS_VALID = 20h
FOLDER_COMMON_VIEWS_VALID = 40h
FOLDER_FINDER_VALID = 80h
FORCE_SUBMIT = 1
MSGFLAG_READ = 1
MSGFLAG_UNMODIFIED = 2
MSGFLAG_SUBMIT = 4
MSGFLAG_UNSENT = 8
MSGFLAG_HASATTACH = 10h
MSGFLAG_FROMME = 20h
MSGFLAG_ASSOCIATED = 40h
MSGFLAG_RESEND = 80h
MSGFLAG_RN_PENDING = 100h
MSGFLAG_NRN_PENDING = 200h
SUBMITFLAG_LOCKED = 1
SUBMITFLAG_PREPROCESS = 2
MODRECIP_ADD = 2
MODRECIP_MODIFY = 4
MODRECIP_REMOVE = 8
SUPPRESS_RECEIPT = 1
CLEAR_READ_FLAG = 4
GENERATE_RECEIPT_ONLY = 10h
CLEAR_RN_PENDING = 20h
CLEAR_NRN_PENDING = 40h
ATTACH_DIALOG = 1
SECURITY_SIGNED = 1
SECURITY_ENCRYPTED = 2
PRIO_URGENT = 1
PRIO_NORMAL = 0
PRIO_NONURGENT = -1
SENSITIVITY_NONE = 0
SENSITIVITY_PERSONAL = 1
SENSITIVITY_PRIVATE = 2
SENSITIVITY_COMPANY_CONFIDENTIAL = 3
IMPORTANCE_LOW = 0
IMPORTANCE_NORMAL = 1
IMPORTANCE_HIGH = 2
NO_ATTACHMENT = 0
ATTACH_BY_VALUE = 1
ATTACH_BY_REFERENCE = 2
ATTACH_BY_REF_RESOLVE = 3
ATTACH_BY_REF_ONLY = 4
ATTACH_EMBEDDED_MSG = 5
ATTACH_OLE = 6
ADRPARM_HELP_CTX = 0
DIALOG_MODAL = 1
DIALOG_SDI = 2
DIALOG_OPTIONS = 4
ADDRESS_ONE = 8
AB_SELECTONLY = 10h
AB_RESOLVE = 20h
DT_MAILUSER = 0
DT_DISTLIST = 1
DT_FORUM = 2
DT_AGENT = 3
DT_ORGANIZATION = 4
DT_PRIVATE_DISTLIST = 5
DT_REMOTE_MAILUSER = 6
DT_MODIFIABLE = 10000h
DT_GLOBAL = 20000h
DT_LOCAL = 30000h
DT_WAN = 40000h
DT_NOT_SPECIFIC = 50000h
DT_FOLDER = 1000000h
DT_FOLDER_LINK = 2000000h
DT_FOLDER_SPECIAL = 4000000h
MAPI_DEFERRED_ERRORS = 8h
MAPI_ASSOCIATED = 40h
MDB_NO_DIALOG = 1h
MDB_WRITE = 4h
MDB_TEMPORARY = 20h
MDB_NO_MAIL = 80h
AB_NO_DIALOG = 1
MAPI_ENABLED = 0
MAPI_DISABLED = 1
DT_MULTILINE = 1
DT_EDITABLE = 2
DT_REQUIRED = 4
DT_SET_IMMEDIATE = 8
DT_PASSWORD_EDIT = 10h
DT_ACCEPT_DBCS = 20h
DT_SET_SELECTION = 40h
DTCT_LABEL = 0
DTCT_EDIT = 1
DTCT_LBX = 2
DTCT_COMBOBOX = 3
DTCT_DDLBX = 4
DTCT_CHECKBOX = 5
DTCT_GROUPBOX = 6
DTCT_BUTTON = 7
DTCT_PAGE = 8
DTCT_RADIOBUTTON = 9
DTCT_MVLISTBOX = 0Bh
DTCT_MVDDLBX = 0Ch
MAPI_NO_HBAR = 1
MAPI_NO_VBAR = 2
UI_SERVICE = 2
SERVICE_UI_ALWAYS = 2
SERVICE_UI_ALLOWED = 10h
UI_CURRENT_PROVIDER_FIRST = 4

CY union
  struct
    Lo DWORD ?
    Hi DWORD ?
  ends
  int64 QWORD ?
CY ends

CURRENCY fix CY

ENTRYID struct
    abFlags db 4 dup(?)
    ab db MAPI_DIM dup(?)
ENTRYID ends

MAPIUID struct
    ab db 16 dup(?)
MAPIUID ends

SPropTagArray struct
    cValues dd ?
    aulPropTag dd MAPI_DIM dup(?)
SPropTagArray ends

SBinary struct
    cb dd ?
    lpb dd ?
SBinary ends

SShortArray struct
    cValues dd ?
    lpi dd ?
SShortArray ends

SGuidArray struct
    cValues dd ?
    lpguid dd ?
SGuidArray ends

SRealArray struct
    cValues dd ?
    lpflt dd ?
SRealArray ends

SLongArray struct
    cValues dd ?
    lpl dd ?
SLongArray ends

SLargeIntegerArray struct
    cValues dd ?
    lpli dd ?
SLargeIntegerArray ends

SDateTimeArray struct
    cValues dd ?
     lpft dd ?
SDateTimeArray ends

SAppTimeArray struct
    cValues dd ?
    lpat dd ?
SAppTimeArray ends

SCurrencyArray struct
    cValues dd ?
    lpcur dd ?
SCurrencyArray ends

SBinaryArray struct
    cValues dd ?
    lpbin dd ?
SBinaryArray ends

SDoubleArray struct
    cValues dd ?
    lpdbl dd ?
SDoubleArray ends

SWStringArray struct
    cValues dd ?
    lppszW dd ?
SWStringArray ends

SLPSTRArray struct
    cValues dd ?
    lppszA dd ?
SLPSTRArray ends

UPV union ;DWORD
    i dw ?
    l dd ?
    ul dd ?
    flt dd ?
    dbl dq ?
    b dw ?
    cur CURRENCY <>
    at dq ?
    ft FILETIME <>
    lpszA dd ?
    bin SBinary <>
    lpszW dd ?
    lpguid dd ?
    li LARGE_INTEGER <>
    MVi SShortArray <>
    MVl SLongArray <>
    MVflt SRealArray <>
    MVdbl SDoubleArray <>
    MVcur SCurrencyArray <>
    MVat SAppTimeArray <>
    MVft SDateTimeArray <>
    MVbin SBinaryArray <>
    MVszA SLPSTRArray <>
    MVszW SWStringArray <>
    MVguid SGuidArray <>
    MVli SLargeIntegerArray <>
    err SCODE ?
    x LONG ?
UPV ends

SPropValue struct
    ulPropTag dd ?
    dwAlignPad dd ?
    Value UPV <>
SPropValue ends

SPropProblem struct
    ulIndex dd ?
    ulPropTag dd ?
    scode SCODE ?
SPropProblem ends

SPropProblemArray struct
    cProblem dd ?
    aProblem SPropProblem MAPI_DIM dup(<>)
SPropProblemArray ends

FLATENTRY struct
    cb dd ?
    abEntry db MAPI_DIM dup(?)
FLATENTRY ends

FLATENTRYLIST struct
    cEntries dd ?
    cbEntries dd ?
    abEntries db MAPI_DIM dup(?)
FLATENTRYLIST ends

MTSID struct
    cb dd ?
    ab db MAPI_DIM dup(?)
MTSID ends

FLATMTSIDLIST struct
    cMTSIDs dd ?
    cbMTSIDs dd ?
    abMTSIDs db MAPI_DIM dup(?)
FLATMTSIDLIST ends

ADRENTRY struct
    ulReserved1 dd ?
    cValues dd ?
    rgPropVals dd ?
ADRENTRY ends

ADRLIST struct
    cEntries dd ?
    aEntries ADRENTRY MAPI_DIM dup(<>)
ADRLIST ends

SRow struct
    ulAdrEntryPad dd ?
    cValues dd ?
    lpProps dd ?
SRow ends

SRowSet struct
    cRows dd ?
    aRow SRow MAPI_DIM dup(<>)
SRowSet ends

MAPIERROR struct
    ulVersion dd ?
    lpszError dd ?
    lpszComponent dd ?
    ulLowLevelError dd ?
    ulContext dd ?
MAPIERROR ends

ERROR_NOTIFICATION struct
    cbEntryID dd ?
    lpEntryID dd ?
    scode SCODE ?
    ulFlags dd ?
    lpMAPIError dd ?
ERROR_NOTIFICATION ends

NEWMAIL_NOTIFICATION struct
    cbEntryID dd ?
    lpEntryID dd ?
    cbParentID dd ?
    lpParentID dd ?
    ulFlags dd ?
    lpszMessageClass dd ?
    ulMessageFlags dd ?
NEWMAIL_NOTIFICATION ends

OBJECT_NOTIFICATION struct
    cbEntryID dd ?
    lpEntryID dd ?
    ulObjType dd ?
    cbParentID dd ?
    lpParentID dd ?
    cbOldID dd ?
    lpOldID dd ?
    cbOldParentID dd ?
    lpOldParentID dd ?
    lpPropTagArray dd ?
OBJECT_NOTIFICATION ends

TABLE_NOTIFICATION struct
    ulTableEvent dd ?
    hResult dd ?
    propIndex SPropValue <>
    propPrior SPropValue <>
    row SRow <>
    ulPad dd ?
TABLE_NOTIFICATION ends

EXTENDED_NOTIFICATION struct
    ulEvent dd ?
    cb dd ?
    pbEventParameters dd ?
EXTENDED_NOTIFICATION ends

STATUS_OBJECT_NOTIFICATION struct
    cbEntryID dd ?
    lpEntryID dd ?
    cValues dd ?
    lpPropVals dd ?
STATUS_OBJECT_NOTIFICATION ends

NOTIFICATION struct
    ulEventType dd ?
    ulAlignPad dd ?
    union ;info
        err ERROR_NOTIFICATION <>
        newmail NEWMAIL_NOTIFICATION <>
        obj OBJECT_NOTIFICATION <>
        tab TABLE_NOTIFICATION <>
        ext EXTENDED_NOTIFICATION <>
        statobj STATUS_OBJECT_NOTIFICATION <>
    ends
NOTIFICATION ends

MAPINAMEID struct
    lpguid dd ?
    ulKind dd ?
    union ;Kind
        lID dd ?
        lpwstrName dd ?
    ends
MAPINAMEID ends

SSortOrder struct
    ulPropTag dd ?
    ulOrder dd ?
SSortOrder ends

SSortOrderSet struct
    cSorts dd ?
    cCategories dd ?
    cExpanded dd ?
    aSort SSortOrder MAPI_DIM dup(<>)
SSortOrderSet ends

SAndRestriction struct
    cRes dd ?
    lpRes dd ?
SAndRestriction ends

SOrRestriction struct
    cRes dd ?
    lpRes dd ?
SOrRestriction ends

SNotRestriction struct
    ulReserved dd ?
    lpRes dd ?
SNotRestriction ends

SContentRestriction struct
    ulFuzzyLevel dd ?
    ulPropTag dd ?
    lpProp dd ?
SContentRestriction ends

SBitMaskRestriction struct
    relBMR dd ?
    ulPropTag dd ?
    ulMask dd ?
SBitMaskRestriction ends

SPropertyRestriction struct
    relop dd ?
    ulPropTag dd ?
    lpProp dd ?
SPropertyRestriction ends

SComparePropsRestriction struct
    relop dd ?
    ulPropTag1 dd ?
    ulPropTag2 dd ?
SComparePropsRestriction ends

SSizeRestriction struct
    relop dd ?
    ulPropTag dd ?
    cb dd ?
SSizeRestriction ends

SExistRestriction struct
    ulReserved1 dd ?
    ulPropTag dd ?
    ulReserved2 dd ?
SExistRestriction ends

SSubRestriction struct
    ulSubObject dd ?
    lpRes dd ?
SSubRestriction ends

SCommentRestriction struct
    cValues dd ?
    lpRes dd ?
    lpProp dd ?
SCommentRestriction ends

SRestriction struct
    rtype dd ?
    union ;res
        resCompareProps SComparePropsRestriction <>
        resAnd SAndRestriction <>
        resOr SOrRestriction <>
        resNot SNotRestriction <>
        resContent SContentRestriction <>
        resProperty SPropertyRestriction <>
        resBitMask SBitMaskRestriction <>
        resSize SSizeRestriction <>
        resExist SExistRestriction <>
        resSub SSubRestriction <>
        resComment SCommentRestriction <>
    ends
SRestriction ends

FlagList struct
    cFlags dd ?
    ulFlag dd MAPI_DIM dup(?)
FlagList ends

ADRPARM struct
    cbABContEntryID dd ?
    lpABContEntryID dd ?
    ulFlags dd ?
    lpReserved dd ?
    ulHelpContext dd ?
    lpszHelpFileName dd ?
    lpfnABSDI dd ?
    lpfnDismiss dd ?
    lpvDismissContext dd ?
    lpszCaption dd ?
    lpszNewEntryTitle dd ?
    lpszDestWellsTitle dd ?
    cDestFields dd ?
    nDestFieldFocus dd ?
    lppszDestTitles dd ?
    lpulDestComps dd ?
    lpContRestriction dd ?
    lpHierRestriction dd ?
ADRPARM ends

DTBLLABEL struct
    ulbLpszLabelName dd ?
    ulFlags dd ?
DTBLLABEL ends

DTBLEDIT struct
    ulbLpszCharsAllowed dd ?
    ulFlags dd ?
    ulNumCharsAllowed dd ?
    ulPropTag dd ?
DTBLEDIT ends

DTBLLBX struct
    ulFlags dd ?
    ulPRSetProperty dd ?
    ulPRTableName dd ?
DTBLLBX ends

DTBLCOMBOBOX struct
    ulbLpszCharsAllowed dd ?
    ulFlags dd ?
    ulNumCharsAllowed dd ?
    ulPRPropertyName dd ?
    ulPRTableName dd ?
DTBLCOMBOBOX ends

DTBLDDLBX struct
    ulFlags dd ?
    ulPRDisplayProperty dd ?
    ulPRSetProperty dd ?
    ulPRTableName dd ?
DTBLDDLBX ends

DTBLCHECKBOX struct
    ulbLpszLabel dd ?
    ulFlags dd ?
    ulPRPropertyName dd ?
DTBLCHECKBOX ends

DTBLGROUPBOX struct
    ulbLpszLabel dd ?
    ulFlags dd ?
DTBLGROUPBOX ends

DTBLBUTTON struct
    ulbLpszLabel dd ?
    ulFlags dd ?
    ulPRControl dd ?
DTBLBUTTON ends

DTBLPAGE struct
    ulbLpszLabel dd ?
    ulFlags dd ?
    ulbLpszComponent dd ?
    ulContext dd ?
DTBLPAGE ends

DTBLRADIOBUTTON struct
    ulbLpszLabel dd ?
    ulFlags dd ?
    ulcButtons dd ?
    ulPropTag dd ?
    lReturnValue dd ?
DTBLRADIOBUTTON ends

DTBLMVLISTBOX struct
    ulFlags dd ?
    ulMVPropTag dd ?
DTBLMVLISTBOX ends

DTBLMVDDLBX struct
    ulFlags dd ?
    ulMVPropTag dd ?
DTBLMVDDLBX ends

;-----------------------------------[ mapiform.h ]-------------------------------------
HFRMREG_DEFAULT = 0
HFRMREG_LOCAL = 1
HFRMREG_PERSONAL = 2
HFRMREG_FOLDER = 3
SAVE_FORMAT_TEXT = 1
SAVE_FORMAT_RICHTEXT = 2
VCSTATUS_NEXT = 1
VCSTATUS_PREV = 2
VCSTATUS_MODAL = 4
VCSTATUS_INTERACTIVE = 8
VCSTATUS_READONLY = 10h
VCSTATUS_DELETE = 10000h
VCSTATUS_COPY = 20000h
VCSTATUS_MOVE = 40000h
VCSTATUS_SUBMIT = 80000h
VCSTATUS_DELETE_IS_MOVE = 100000h
VCSTATUS_SAVE = 200000h
VCSTATUS_NEW_MESSAGE = 400000h
VCDIR_NEXT = VCSTATUS_NEXT
VCDIR_PREV = VCSTATUS_PREV
VCDIR_DELETE = VCSTATUS_DELETE
VCDIR_MOVE = VCSTATUS_MOVE
FPST_VANILLA = 0
FPST_ENUM_PROP = 1
MAPI_MESSAGE_BEHAVIOR_IPM = 0
MAPI_MESSAGE_BEHAVIOR_FOLDER = 1
MAPIFORM_SELECT_ALL_REGISTRIES = 0
MAPIFORM_SELECT_FOLDER_REGISTRY_ONLY = 1
MAPIFORM_SELECT_NON_FOLDER_REGISTRY_ONLY = 2
FORMPROPSET_UNION = 0
FORMPROPSET_INTERSECTION = 1
MAPIFORM_EXACTMATCH = 20h
MAPIFORM_CPU_X86 = 1
MAPIFORM_CPU_MIP = 2
MAPIFORM_CPU_AXP = 3
MAPIFORM_CPU_PPC = 4
MAPIFORM_CPU_M68 = 5
MAPIFORM_OS_WIN_31 = 1
MAPIFORM_OS_WINNT_35 = 2
MAPIFORM_OS_WIN_95 = 3
MAPIFORM_OS_MAC_7x = 4
MAPIFORM_OS_WINNT_40 = 5
MAPIFORM_INSTALL_DIALOG = MAPI_DIALOG
MAPIFORM_INSTALL_OVERWRITEONCONFLICT = 10h

SAVEOPTS_SAVEIFDIRTY = 0
SAVEOPTS_NOSAVE = 1
SAVEOPTS_PROMPTSAVE = 2

FORMPRINTSETUP struct
    ulFlags dd ?
    hDevMode dd ?
    hDevNames dd ?
    ulFirstPageNumber dd ?
    fPrintAttachments dd ?
FORMPRINTSETUP ends

SMAPIFormPropEnumVal struct
    pszDisplayName dd ?
    nVal dd ?
SMAPIFormPropEnumVal ends

SMAPIFormProp struct
    ulFlags dd ?
    nPropType dd ?
    nmid MAPINAMEID <>
    pszDisplayName dd ?
    nSpecialType dd ?
    union ;u
        struct ;sl
            nmidIdx MAPINAMEID <>
            cfpevAvailable dd ?
            pfpevAvailable dd ?
          ends
     ends
SMAPIFormProp ends

SMAPIFormPropArray struct
    cProps dd ?
    ulPad dd ?
    aFormProp SMAPIFormProp MAPI_DIM dup(<>)
SMAPIFormPropArray ends

SMAPIVerb struct
    lVerb dd ?
    szVerbname dd ?
    fuFlags dd ?
    grfAttribs dd ?
    ulFlags dd ?
SMAPIVerb ends

SMAPIVerbArray struct
    cMAPIVerb dd ?
    aMAPIVerb SMAPIVerb MAPI_DIM dup(<>)
SMAPIVerbArray ends


SMessageClassArray struct
    cValues dd ?
    aMessageClass dd MAPI_DIM dup(?)
SMessageClassArray ends

SMAPIFormInfoArray struct
    cForms dd ?
    aFormInfo dd MAPI_DIM dup(?)
SMAPIFormInfoArray ends

;--------------------------------[ mapinls.h ]---------------------------
NORM_IGNOREKANATYPE = 10000h
NORM_IGNOREWIDTH = 20000h

;---------------------------[ mapioid.h ]-------------------------------
OID_TAG         = 0Ah
OID_ENCODING    = 0Bh
CB_OID_1        = 9
CB_OID_2        = 10
CB_OID_3        = 11
CB_OID_4        = 12

;--------------------------[ mapispi.h ]--------------------------------

CURRENT_SPI_VERSION = 10010h
PDK1_SPI_VERSION = 10000h
PDK2_SPI_VERSION = 10008h
PDK3_SPI_VERSION = 10010h
NOTIFY_SYNC = 40000000h
NOTIFY_CANCELED = 80000000h
CALLBACK_DISCONTINUE = 80000000h
NOTIFY_NEWMAIL = 1
NOTIFY_READYTOSEND = 2
NOTIFY_SENTDEFERRED = 4
NOTIFY_CRITSEC = 1000h
NOTIFY_NONCRIT = 2000h
NOTIFY_CONFIG_CHANGE = 4000h
NOTIFY_CRITICAL_ERROR = 10000000h
NOTIFY_NEWMAIL_RECEIVED = 20000000h
STATUSROW_UPDATE = 10000000h
STGSTRM_RESET = 0
STGSTRM_CURRENT = 10000000h
STGSTRM_MODIFY = 2
STGSTRM_CREATE = 1000h
MAPI_NON_READ = 1
FILL_ENTRY = 1
DEINIT_NORMAL = 1
DEINIT_HURRY = 80000000h
LOGON_NO_DIALOG = 1
LOGON_NO_CONNECT = 4
LOGON_NO_INBOUND = 8
LOGON_NO_OUTBOUND = 10h
LOGON_SP_IDLE = 10000h
LOGON_SP_POLL = 20000h
LOGON_SP_RESOLVE = 40000h
OPTION_TYPE_RECIPIENT = 1
OPTION_TYPE_MESSAGE = 2
NOTIFY_ABORT_DEFERRED = 40000000h
NOTIFY_CANCEL_MESSAGE = 80000000h
NOTIFY_BEGIN_INBOUND = 1
NOTIFY_END_INBOUND = 10000h
NOTIFY_BEGIN_OUTBOUND = 2
NOTIFY_END_OUTBOUND = 20000h
NOTIFY_BEGIN_INBOUND_FLUSH = 4
NOTIFY_END_INBOUND_FLUSH = 40000h
NOTIFY_BEGIN_OUTBOUND_FLUSH = 8
NOTIFY_END_OUTBOUND_FLUSH = 80000h
LOGOFF_NORMAL = 1
LOGOFF_HURRY = 80000000h
BEGIN_DEFERRED = 1
END_RESEND_NOW = 10000h
END_RESEND_LATER = 20000h
END_DONT_RESEND = 40000h
LOGON_SP_TRANSPORT = 1
LOGON_SP_PROMPT = 2
LOGON_SP_NEWPW = 4
LOGON_CHANGED = 8
DIALOG_FOLDER = 1
DIALOG_MESSAGE = 2
DIALOG_PROP = 4
DIALOG_ATTACH = 8
DIALOG_MOVE = 10h
DIALOG_COPY = 20h
DIALOG_DELETE = 40h
DIALOG_ALLOW_CANCEL = 80h
DIALOG_CONFIRM_CANCEL = 100h
NEEDS_PREPROCESSING = 1
NEEDS_SPOOLER = 2
CHECK_SENDER = 1
NON_STANDARD = 10000h
MSG_SERVICE_UI_READ_ONLY = 8
SERVICE_LOGON_FAILED = 20h
MSG_SERVICE_INSTALL = 1
MSG_SERVICE_CREATE = 2
MSG_SERVICE_CONFIGURE = 3
MSG_SERVICE_DELETE = 4
MSG_SERVICE_UNINSTALL = 5
MSG_SERVICE_PROVIDER_CREATE = 6
MSG_SERVICE_PROVIDER_DELETE = 7

NOTIFKEY struct
    cb dd ?
    ab db MAPI_DIM dup(?)
NOTIFKEY ends

OPTIONDATA struct
    ulFlags dd ?
    lpRecipGUID dd ?
    lpszAdrType dd ?
    lpszDLLName dd ?
    ulOrdinal dd ?
    cbOptionsData dd ?
    lpbOptionsData dd ?
    cOptionsProps dd ?
    lpOptionsProps dd ?
OPTIONDATA ends

;--------------------------------[ mapitags.h ]-----------------------------------
PR_ACKNOWLEDGEMENT_MODE = (PT_LONG shl 16)+ 1
PR_ALTERNATE_RECIPIENT_ALLOWED = ( PT_BOOLEAN shl 16)+   2
PR_AUTHORIZING_USERS = (PT_BINARY shl 16)+    3
PR_AUTO_FORWARD_COMMENT = (PT_TSTRING shl 16)+   4
PR_AUTO_FORWARD_COMMENT_A = (PT_STRING8 shl 16)+ 4
PR_AUTO_FORWARD_COMMENT_W = (PT_UNICODE shl 16)+ 4
PR_AUTO_FORWARDED = ( PT_BOOLEAN shl 16)+   5
PR_CONTENT_CONFIDENTIALITY_ALGORITHM_ID = ( PT_BINARY shl 16)+    6
PR_CONTENT_CORRELATOR = ( PT_BINARY shl 16)+    7
PR_CONTENT_IDENTIFIER = ( PT_TSTRING shl 16)+   8
PR_CONTENT_IDENTIFIER_A = ( PT_STRING8 shl 16)+   8
PR_CONTENT_IDENTIFIER_W = ( PT_UNICODE shl 16)+   8
PR_CONTENT_LENGTH = ( PT_LONG shl 16)+      9
PR_CONTENT_RETURN_REQUESTED = ( PT_BOOLEAN shl 16)+   0Ah
PR_CONVERSATION_KEY = ( PT_BINARY shl 16)+    0Bh
PR_CONVERSION_EITS = ( PT_BINARY shl 16)+    0Ch
PR_CONVERSION_WITH_LOSS_PROHIBITED = ( PT_BOOLEAN shl 16)+   0Dh
PR_CONVERTED_EITS = ( PT_BINARY shl 16)+    0Eh
PR_DEFERRED_DELIVERY_TIME = ( PT_SYSTIME shl 16)+   0Fh
PR_DELIVER_TIME = ( PT_SYSTIME shl 16)+   10h
PR_DISCARD_REASON = ( PT_LONG shl 16)+      11h
PR_DISCLOSURE_OF_RECIPIENTS = ( PT_BOOLEAN shl 16)+   12h
PR_DL_EXPANSION_HISTORY = ( PT_BINARY shl 16)+    13h
PR_DL_EXPANSION_PROHIBITED = ( PT_BOOLEAN shl 16)+   14h
PR_EXPIRY_TIME = ( PT_SYSTIME shl 16)+   15h
PR_IMPLICIT_CONVERSION_PROHIBITED = ( PT_BOOLEAN shl 16)+   16h
PR_IMPORTANCE = ( PT_LONG shl 16)+      17h
PR_IPM_ID = ( PT_BINARY shl 16)+    18h
PR_LATEST_DELIVERY_TIME = ( PT_SYSTIME shl 16)+   19h
PR_MESSAGE_CLASS = ( PT_TSTRING shl 16)+   1Ah
PR_MESSAGE_CLASS_A = ( PT_STRING8 shl 16)+   1Ah
PR_MESSAGE_CLASS_W = ( PT_UNICODE shl 16)+   1Ah
PR_MESSAGE_DELIVERY_ID = ( PT_BINARY shl 16)+    1Bh
PR_MESSAGE_SECURITY_LABEL = ( PT_BINARY shl 16)+    1Eh
PR_OBSOLETED_IPMS = ( PT_BINARY shl 16)+    1Fh
PR_ORIGINALLY_INTENDED_RECIPIENT_NAME = ( PT_BINARY shl 16)+    20h
PR_ORIGINAL_EITS = ( PT_BINARY shl 16)+    21h
PR_ORIGINATOR_CERTIFICATE = ( PT_BINARY shl 16)+    22h
PR_ORIGINATOR_DELIVERY_REPORT_REQUESTED = ( PT_BOOLEAN shl 16)+   23h
PR_ORIGINATOR_RETURN_ADDRESS = ( PT_BINARY shl 16)+    24h
PR_PARENT_KEY = ( PT_BINARY shl 16)+    25h
PR_PRIORITY = ( PT_LONG shl 16)+      26h
PR_ORIGIN_CHECK = ( PT_BINARY shl 16)+    27h
PR_PROOF_OF_SUBMISSION_REQUESTED = ( PT_BOOLEAN shl 16)+   28h
PR_READ_RECEIPT_REQUESTED = ( PT_BOOLEAN shl 16)+   29h
PR_RECEIPT_TIME = ( PT_SYSTIME shl 16)+   2Ah
PR_RECIPIENT_REASSIGNMENT_PROHIBITED = ( PT_BOOLEAN shl 16)+   2Bh
PR_REDIRECTION_HISTORY = ( PT_BINARY shl 16)+    2Ch
PR_RELATED_IPMS = ( PT_BINARY shl 16)+    2Dh
PR_ORIGINAL_SENSITIVITY = ( PT_LONG shl 16)+      2Eh
PR_LANGUAGES = ( PT_TSTRING shl 16)+   2Fh
PR_LANGUAGES_A = ( PT_STRING8 shl 16)+   2Fh
PR_LANGUAGES_W = ( PT_UNICODE shl 16)+   2Fh
PR_REPLY_TIME = ( PT_SYSTIME shl 16)+   30h
PR_REPORT_TAG = ( PT_BINARY shl 16)+    31h
PR_REPORT_TIME = ( PT_SYSTIME shl 16)+   32h
PR_RETURNED_IPM = ( PT_BOOLEAN shl 16)+   33h
PR_SECURITY = ( PT_LONG shl 16)+      34h
PR_INCOMPLETE_COPY = ( PT_BOOLEAN shl 16)+   35h
PR_SENSITIVITY = ( PT_LONG shl 16)+      36h
PR_SUBJECT = ( PT_TSTRING shl 16)+   37h
PR_SUBJECT_A = ( PT_STRING8 shl 16)+   37h
PR_SUBJECT_W = ( PT_UNICODE shl 16)+   37h
PR_SUBJECT_IPM = ( PT_BINARY shl 16)+    38h
PR_CLIENT_SUBMIT_TIME = ( PT_SYSTIME shl 16)+   39h
PR_REPORT_NAME = ( PT_TSTRING shl 16)+   3Ah
PR_REPORT_NAME_W = ( PT_UNICODE shl 16)+   3Ah
PR_REPORT_NAME_A = ( PT_STRING8 shl 16)+   3Ah
PR_SENT_REPRESENTING_SEARCH_KEY = ( PT_BINARY shl 16)+    3Bh
PR_X400_CONTENT_TYPE = ( PT_BINARY shl 16)+    3Ch
PR_SUBJECT_PREFIX = ( PT_TSTRING shl 16)+   3Dh
PR_SUBJECT_PREFIX_W = ( PT_UNICODE shl 16)+   3Dh
PR_SUBJECT_PREFIX_A = ( PT_STRING8 shl 16)+   3Dh
PR_NON_RECEIPT_REASON = ( PT_LONG shl 16)+      3Eh
PR_RECEIVED_BY_ENTRYID = ( PT_BINARY shl 16)+    3Fh
PR_RECEIVED_BY_NAME = ( PT_TSTRING shl 16)+   40h
PR_RECEIVED_BY_NAME_W = ( PT_UNICODE shl 16)+   40h
PR_RECEIVED_BY_NAME_A = ( PT_STRING8 shl 16)+   40h
PR_SENT_REPRESENTING_ENTRYID = ( PT_BINARY shl 16)+    41h
PR_SENT_REPRESENTING_NAME = ( PT_TSTRING shl 16)+   42h
PR_SENT_REPRESENTING_NAME_W = ( PT_UNICODE shl 16)+   42h
PR_SENT_REPRESENTING_NAME_A = ( PT_STRING8 shl 16)+   42h
PR_RCVD_REPRESENTING_ENTRYID = ( PT_BINARY shl 16)+    43h
PR_RCVD_REPRESENTING_NAME = ( PT_TSTRING shl 16)+   44h
PR_RCVD_REPRESENTING_NAME_W = ( PT_UNICODE shl 16)+   44h
PR_RCVD_REPRESENTING_NAME_A = ( PT_STRING8 shl 16)+   44h
PR_REPORT_ENTRYID = ( PT_BINARY shl 16)+    45h
PR_READ_RECEIPT_ENTRYID = ( PT_BINARY shl 16)+    46h
PR_MESSAGE_SUBMISSION_ID = ( PT_BINARY shl 16)+    47h
PR_PROVIDER_SUBMIT_TIME = ( PT_SYSTIME shl 16)+   48h
PR_ORIGINAL_SUBJECT = ( PT_TSTRING shl 16)+   49h
PR_ORIGINAL_SUBJECT_W = ( PT_UNICODE shl 16)+   49h
PR_ORIGINAL_SUBJECT_A = ( PT_STRING8 shl 16)+   49h
PR_DISC_VAL = ( PT_BOOLEAN shl 16)+   4Ah
PR_ORIG_MESSAGE_CLASS = ( PT_TSTRING shl 16)+   4Bh
PR_ORIG_MESSAGE_CLASS_W = ( PT_UNICODE shl 16)+   4Bh
PR_ORIG_MESSAGE_CLASS_A = ( PT_STRING8 shl 16)+   4Bh
PR_ORIGINAL_AUTHOR_ENTRYID = ( PT_BINARY shl 16)+    4Ch
PR_ORIGINAL_AUTHOR_NAME = ( PT_TSTRING shl 16)+   4Dh
PR_ORIGINAL_AUTHOR_NAME_W = ( PT_UNICODE shl 16)+   4Dh
PR_ORIGINAL_AUTHOR_NAME_A = ( PT_STRING8 shl 16)+   4Dh
PR_ORIGINAL_SUBMIT_TIME = ( PT_SYSTIME shl 16)+   4Eh
PR_REPLY_RECIPIENT_ENTRIES = ( PT_BINARY shl 16)+    4Fh
PR_REPLY_RECIPIENT_NAMES = ( PT_TSTRING shl 16)+   50h
PR_REPLY_RECIPIENT_NAMES_W = ( PT_UNICODE shl 16)+   50h
PR_REPLY_RECIPIENT_NAMES_A = ( PT_STRING8 shl 16)+   50h
PR_RECEIVED_BY_SEARCH_KEY = ( PT_BINARY shl 16)+    51h
PR_RCVD_REPRESENTING_SEARCH_KEY = ( PT_BINARY shl 16)+    52h
PR_READ_RECEIPT_SEARCH_KEY = ( PT_BINARY shl 16)+    53h
PR_REPORT_SEARCH_KEY = ( PT_BINARY shl 16)+    54h
PR_ORIGINAL_DELIVERY_TIME = ( PT_SYSTIME shl 16)+   55h
PR_ORIGINAL_AUTHOR_SEARCH_KEY = ( PT_BINARY shl 16)+    56h
PR_MESSAGE_TO_ME = ( PT_BOOLEAN shl 16)+   57h
PR_MESSAGE_CC_ME = ( PT_BOOLEAN shl 16)+   58h
PR_MESSAGE_RECIP_ME = ( PT_BOOLEAN shl 16)+   59h
PR_ORIGINAL_SENDER_NAME = ( PT_TSTRING shl 16)+   5Ah
PR_ORIGINAL_SENDER_NAME_W = ( PT_UNICODE shl 16)+   5Ah
PR_ORIGINAL_SENDER_NAME_A = ( PT_STRING8 shl 16)+   5Ah
PR_ORIGINAL_SENDER_ENTRYID = ( PT_BINARY shl 16)+    5Bh
PR_ORIGINAL_SENDER_SEARCH_KEY = ( PT_BINARY shl 16)+    5Ch
PR_ORIGINAL_SENT_REPRESENTING_NAME = ( PT_TSTRING shl 16)+   5Dh
PR_ORIGINAL_SENT_REPRESENTING_NAME_W = ( PT_UNICODE shl 16)+   5Dh
PR_ORIGINAL_SENT_REPRESENTING_NAME_A = ( PT_STRING8 shl 16)+   5Dh
PR_ORIGINAL_SENT_REPRESENTING_ENTRYID = ( PT_BINARY shl 16)+    5Eh
PR_ORIGINAL_SENT_REPRESENTING_SEARCH_KEY = ( PT_BINARY shl 16)+    5Fh
PR_START_DATE = ( PT_SYSTIME shl 16)+   60h
PR_END_DATE = ( PT_SYSTIME shl 16)+   61h
PR_OWNER_APPT_ID = ( PT_LONG shl 16)+      62h
PR_RESPONSE_REQUESTED = ( PT_BOOLEAN shl 16)+   63h
PR_SENT_REPRESENTING_ADDRTYPE = ( PT_TSTRING shl 16)+   64h
PR_SENT_REPRESENTING_ADDRTYPE_W = ( PT_UNICODE shl 16)+   64h
PR_SENT_REPRESENTING_ADDRTYPE_A = ( PT_STRING8 shl 16)+   64h
PR_SENT_REPRESENTING_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   65h
PR_SENT_REPRESENTING_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   65h
PR_SENT_REPRESENTING_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   65h
PR_ORIGINAL_SENDER_ADDRTYPE = ( PT_TSTRING shl 16)+   66h
PR_ORIGINAL_SENDER_ADDRTYPE_W = ( PT_UNICODE shl 16)+   66h
PR_ORIGINAL_SENDER_ADDRTYPE_A = ( PT_STRING8 shl 16)+   66h
PR_ORIGINAL_SENDER_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   67h
PR_ORIGINAL_SENDER_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   67h
PR_ORIGINAL_SENDER_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   67h
PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE = ( PT_TSTRING shl 16)+   68h
PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE_W = ( PT_UNICODE shl 16)+   68h
PR_ORIGINAL_SENT_REPRESENTING_ADDRTYPE_A = ( PT_STRING8 shl 16)+   68h
PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   69h
PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   69h
PR_ORIGINAL_SENT_REPRESENTING_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   69h
PR_CONVERSATION_TOPIC = ( PT_TSTRING shl 16)+   70h
PR_CONVERSATION_TOPIC_W = ( PT_UNICODE shl 16)+   70h
PR_CONVERSATION_TOPIC_A = ( PT_STRING8 shl 16)+   70h
PR_CONVERSATION_INDEX = ( PT_BINARY shl 16)+    71h
PR_ORIGINAL_DISPLAY_BCC = ( PT_TSTRING shl 16)+   72h
PR_ORIGINAL_DISPLAY_BCC_W = ( PT_UNICODE shl 16)+   72h
PR_ORIGINAL_DISPLAY_BCC_A = ( PT_STRING8 shl 16)+   72h
PR_ORIGINAL_DISPLAY_CC = ( PT_TSTRING shl 16)+   73h
PR_ORIGINAL_DISPLAY_CC_W = ( PT_UNICODE shl 16)+   73h
PR_ORIGINAL_DISPLAY_CC_A = ( PT_STRING8 shl 16)+   73h
PR_ORIGINAL_DISPLAY_TO = ( PT_TSTRING shl 16)+   74h
PR_ORIGINAL_DISPLAY_TO_W = ( PT_UNICODE shl 16)+   74h
PR_ORIGINAL_DISPLAY_TO_A = ( PT_STRING8 shl 16)+   74h
PR_RECEIVED_BY_ADDRTYPE = ( PT_TSTRING shl 16)+   75h
PR_RECEIVED_BY_ADDRTYPE_W = ( PT_UNICODE shl 16)+   75h
PR_RECEIVED_BY_ADDRTYPE_A = ( PT_STRING8 shl 16)+   75h
PR_RECEIVED_BY_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   76h
PR_RECEIVED_BY_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   76h
PR_RECEIVED_BY_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   76h
PR_RCVD_REPRESENTING_ADDRTYPE = ( PT_TSTRING shl 16)+   77h
PR_RCVD_REPRESENTING_ADDRTYPE_W = ( PT_UNICODE shl 16)+   77h
PR_RCVD_REPRESENTING_ADDRTYPE_A = ( PT_STRING8 shl 16)+   77h
PR_RCVD_REPRESENTING_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   78h
PR_RCVD_REPRESENTING_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   78h
PR_RCVD_REPRESENTING_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   78h
PR_ORIGINAL_AUTHOR_ADDRTYPE = ( PT_TSTRING shl 16)+   79h
PR_ORIGINAL_AUTHOR_ADDRTYPE_W = ( PT_UNICODE shl 16)+   79h
PR_ORIGINAL_AUTHOR_ADDRTYPE_A = ( PT_STRING8 shl 16)+   79h
PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   7Ah
PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   7Ah
PR_ORIGINAL_AUTHOR_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   7Ah
PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE = ( PT_TSTRING shl 16)+   7Bh
PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE_W = ( PT_UNICODE shl 16)+   7Bh
PR_ORIGINALLY_INTENDED_RECIP_ADDRTYPE_A = ( PT_STRING8 shl 16)+   7Bh
PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   7Ch
PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   7Ch
PR_ORIGINALLY_INTENDED_RECIP_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   7Ch
PR_TRANSPORT_MESSAGE_HEADERS = (PT_TSTRING shl 16)+    7Dh
PR_TRANSPORT_MESSAGE_HEADERS_W = (PT_UNICODE shl 16)+    7Dh
PR_TRANSPORT_MESSAGE_HEADERS_A = (PT_STRING8 shl 16)+    7Dh
PR_DELEGATION = (PT_BINARY shl 16)+     7Eh
PR_TNEF_CORRELATION_KEY = (PT_BINARY shl 16)+     7Fh
PR_BODY = ( PT_TSTRING shl 16)+   1000h
PR_BODY_W = ( PT_UNICODE shl 16)+   1000h
PR_BODY_A = ( PT_STRING8 shl 16)+   1000h
PR_REPORT_TEXT = ( PT_TSTRING shl 16)+   1001h
PR_REPORT_TEXT_W = ( PT_UNICODE shl 16)+   1001h
PR_REPORT_TEXT_A = ( PT_STRING8 shl 16)+   1001h
PR_ORIGINATOR_AND_DL_EXPANSION_HISTORY = ( PT_BINARY shl 16)+    1002h
PR_REPORTING_DL_NAME = ( PT_BINARY shl 16)+    1003h
PR_REPORTING_MTA_CERTIFICATE = ( PT_BINARY shl 16)+    1004h
PR_RTF_SYNC_BODY_CRC = ( PT_LONG shl 16)+      1006h
PR_RTF_SYNC_BODY_COUNT = ( PT_LONG shl 16)+      1007h
PR_RTF_SYNC_BODY_TAG = ( PT_TSTRING shl 16)+   1008h
PR_RTF_SYNC_BODY_TAG_W = ( PT_UNICODE shl 16)+   1008h
PR_RTF_SYNC_BODY_TAG_A = ( PT_STRING8 shl 16)+   1008h
PR_RTF_COMPRESSED = ( PT_BINARY shl 16)+    1009h
PR_RTF_SYNC_PREFIX_COUNT = ( PT_LONG shl 16)+      1010h
PR_RTF_SYNC_TRAILING_COUNT = ( PT_LONG shl 16)+      1011h
PR_ORIGINALLY_INTENDED_RECIP_ENTRYID = ( PT_BINARY shl 16)+    1012h
PR_CONTENT_INTEGRITY_CHECK = ( PT_BINARY shl 16)+    0C00h
PR_EXPLICIT_CONVERSION = ( PT_LONG shl 16)+      0C01h
PR_IPM_RETURN_REQUESTED = ( PT_BOOLEAN shl 16)+   0C02h
PR_MESSAGE_TOKEN = ( PT_BINARY shl 16)+    0C03h
PR_NDR_REASON_CODE = ( PT_LONG shl 16)+      0C04h
PR_NDR_DIAG_CODE = ( PT_LONG shl 16)+      0C05h
PR_NON_RECEIPT_NOTIFICATION_REQUESTED = ( PT_BOOLEAN shl 16)+   0C06h
PR_DELIVERY_POINT = ( PT_LONG shl 16)+      0C07h
PR_ORIGINATOR_NON_DELIVERY_REPORT_REQUESTED = ( PT_BOOLEAN shl 16)+   0C08h
PR_ORIGINATOR_REQUESTED_ALTERNATE_RECIPIENT = ( PT_BINARY shl 16)+    0C09h
PR_PHYSICAL_DELIVERY_BUREAU_FAX_DELIVERY = ( PT_BOOLEAN shl 16)+   0C0Ah
PR_PHYSICAL_DELIVERY_MODE = ( PT_LONG shl 16)+      0C0Bh
PR_PHYSICAL_DELIVERY_REPORT_REQUEST = ( PT_LONG shl 16)+      0C0Ch
PR_PHYSICAL_FORWARDING_ADDRESS = ( PT_BINARY shl 16)+    0C0Dh
PR_PHYSICAL_FORWARDING_ADDRESS_REQUESTED = ( PT_BOOLEAN shl 16)+   0C0Eh
PR_PHYSICAL_FORWARDING_PROHIBITED = ( PT_BOOLEAN shl 16)+   0C0Fh
PR_PHYSICAL_RENDITION_ATTRIBUTES = ( PT_BINARY shl 16)+    0C10h
PR_PROOF_OF_DELIVERY = ( PT_BINARY shl 16)+    0C11h
PR_PROOF_OF_DELIVERY_REQUESTED = ( PT_BOOLEAN shl 16)+   0C12h
PR_RECIPIENT_CERTIFICATE = ( PT_BINARY shl 16)+    0C13h
PR_RECIPIENT_NUMBER_FOR_ADVICE = ( PT_TSTRING shl 16)+   0C14h
PR_RECIPIENT_NUMBER_FOR_ADVICE_W = ( PT_UNICODE shl 16)+   0C14h
PR_RECIPIENT_NUMBER_FOR_ADVICE_A = ( PT_STRING8 shl 16)+   0C14h
PR_RECIPIENT_TYPE = ( PT_LONG shl 16)+      0C15h
PR_REGISTERED_MAIL_TYPE = ( PT_LONG shl 16)+      0C16h
PR_REPLY_REQUESTED = ( PT_BOOLEAN shl 16)+   0C17h
PR_REQUESTED_DELIVERY_METHOD = ( PT_LONG shl 16)+      0C18h
PR_SENDER_ENTRYID = ( PT_BINARY shl 16)+    0C19h
PR_SENDER_NAME = ( PT_TSTRING shl 16)+   0C1Ah
PR_SENDER_NAME_W = ( PT_UNICODE shl 16)+   0C1Ah
PR_SENDER_NAME_A = ( PT_STRING8 shl 16)+   0C1Ah
PR_SUPPLEMENTARY_INFO = ( PT_TSTRING shl 16)+   0C1Bh
PR_SUPPLEMENTARY_INFO_W = ( PT_UNICODE shl 16)+   0C1Bh
PR_SUPPLEMENTARY_INFO_A = ( PT_STRING8 shl 16)+   0C1Bh
PR_TYPE_OF_MTS_USER = ( PT_LONG shl 16)+      0C1Ch
PR_SENDER_SEARCH_KEY = ( PT_BINARY shl 16)+    0C1Dh
PR_SENDER_ADDRTYPE = ( PT_TSTRING shl 16)+   0C1Eh
PR_SENDER_ADDRTYPE_W = ( PT_UNICODE shl 16)+   0C1Eh
PR_SENDER_ADDRTYPE_A = ( PT_STRING8 shl 16)+   0C1Eh
PR_SENDER_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   0C1Fh
PR_SENDER_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   0C1Fh
PR_SENDER_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   0C1Fh
PR_CURRENT_VERSION = ( PT_I8 shl 16)+        0E00h
PR_DELETE_AFTER_SUBMIT = ( PT_BOOLEAN shl 16)+   0E01h
PR_DISPLAY_BCC = ( PT_TSTRING shl 16)+   0E02h
PR_DISPLAY_BCC_W = ( PT_UNICODE shl 16)+   0E02h
PR_DISPLAY_BCC_A = ( PT_STRING8 shl 16)+   0E02h
PR_DISPLAY_CC = ( PT_TSTRING shl 16)+   0E03h
PR_DISPLAY_CC_W = ( PT_UNICODE shl 16)+   0E03h
PR_DISPLAY_CC_A = ( PT_STRING8 shl 16)+   0E03h
PR_DISPLAY_TO = ( PT_TSTRING shl 16)+   0E04h
PR_DISPLAY_TO_W = ( PT_UNICODE shl 16)+   0E04h
PR_DISPLAY_TO_A = ( PT_STRING8 shl 16)+   0E04h
PR_PARENT_DISPLAY = ( PT_TSTRING shl 16)+   0E05h
PR_PARENT_DISPLAY_W = ( PT_UNICODE shl 16)+   0E05h
PR_PARENT_DISPLAY_A = ( PT_STRING8 shl 16)+   0E05h
PR_MESSAGE_DELIVERY_TIME = ( PT_SYSTIME shl 16)+   0E06h
PR_MESSAGE_FLAGS = ( PT_LONG shl 16)+      0E07h
PR_MESSAGE_SIZE = ( PT_LONG shl 16)+      0E08h
PR_PARENT_ENTRYID = ( PT_BINARY shl 16)+    0E09h
PR_SENTMAIL_ENTRYID = ( PT_BINARY shl 16)+    0E0Ah
PR_CORRELATE = ( PT_BOOLEAN shl 16)+   0E0Ch
PR_CORRELATE_MTSID = ( PT_BINARY shl 16)+    0E0Dh
PR_DISCRETE_VALUES = ( PT_BOOLEAN shl 16)+   0E0Eh
PR_RESPONSIBILITY = ( PT_BOOLEAN shl 16)+   0E0Fh
PR_SPOOLER_STATUS = ( PT_LONG shl 16)+      0E10h
PR_TRANSPORT_STATUS = ( PT_LONG shl 16)+      0E11h
PR_MESSAGE_RECIPIENTS = ( PT_OBJECT shl 16)+    0E12h
PR_MESSAGE_ATTACHMENTS = ( PT_OBJECT shl 16)+    0E13h
PR_SUBMIT_FLAGS = ( PT_LONG shl 16)+      0E14h
PR_RECIPIENT_STATUS = ( PT_LONG shl 16)+      0E15h
PR_TRANSPORT_KEY = ( PT_LONG shl 16)+      0E16h
PR_MSG_STATUS = ( PT_LONG shl 16)+      0E17h
PR_MESSAGE_DOWNLOAD_TIME = ( PT_LONG shl 16)+      0E18h
PR_CREATION_VERSION = ( PT_I8 shl 16)+        0E19h
PR_MODIFY_VERSION = ( PT_I8 shl 16)+        0E1Ah
PR_HASATTACH = ( PT_BOOLEAN shl 16)+   0E1Bh
PR_BODY_CRC = ( PT_LONG shl 16)+      0E1Ch
PR_NORMALIZED_SUBJECT = ( PT_TSTRING shl 16)+   0E1Dh
PR_NORMALIZED_SUBJECT_W = ( PT_UNICODE shl 16)+   0E1Dh
PR_NORMALIZED_SUBJECT_A = ( PT_STRING8 shl 16)+   0E1Dh
PR_RTF_IN_SYNC = ( PT_BOOLEAN shl 16)+   0E1Fh
PR_ATTACH_SIZE = ( PT_LONG shl 16)+      0E20h
PR_ATTACH_NUM = ( PT_LONG shl 16)+      0E21h
PR_PREPROCESS = ( PT_BOOLEAN shl 16)+   0E22h
PR_ORIGINATING_MTA_CERTIFICATE = ( PT_BINARY shl 16)+    0E25h
PR_PROOF_OF_SUBMISSION = ( PT_BINARY shl 16)+    0E26h
PR_ENTRYID = ( PT_BINARY shl 16)+    0FFFh
PR_OBJECT_TYPE = ( PT_LONG shl 16)+      0FFEh
PR_ICON = ( PT_BINARY shl 16)+    0FFDh
PR_MINI_ICON = ( PT_BINARY shl 16)+    0FFCh
PR_STORE_ENTRYID = ( PT_BINARY shl 16)+    0FFBh
PR_STORE_RECORD_KEY = ( PT_BINARY shl 16)+    0FFAh
PR_RECORD_KEY = ( PT_BINARY shl 16)+    0FF9h
PR_MAPPING_SIGNATURE = ( PT_BINARY shl 16)+    0FF8h
PR_ACCESS_LEVEL = ( PT_LONG shl 16)+      0FF7h
PR_INSTANCE_KEY = ( PT_BINARY shl 16)+    0FF6h
PR_ROW_TYPE = ( PT_LONG shl 16)+      0FF5h
PR_ACCESS = ( PT_LONG shl 16)+      0FF4h
PR_ROWID = ( PT_LONG shl 16)+      3000h
PR_DISPLAY_NAME = ( PT_TSTRING shl 16)+   3001h
PR_DISPLAY_NAME_W = ( PT_UNICODE shl 16)+   3001h
PR_DISPLAY_NAME_A = ( PT_STRING8 shl 16)+   3001h
PR_ADDRTYPE = ( PT_TSTRING shl 16)+   3002h
PR_ADDRTYPE_W = ( PT_UNICODE shl 16)+   3002h
PR_ADDRTYPE_A = ( PT_STRING8 shl 16)+   3002h
PR_EMAIL_ADDRESS = ( PT_TSTRING shl 16)+   3003h
PR_EMAIL_ADDRESS_W = ( PT_UNICODE shl 16)+   3003h
PR_EMAIL_ADDRESS_A = ( PT_STRING8 shl 16)+   3003h
PR_COMMENT = ( PT_TSTRING shl 16)+   3004h
PR_COMMENT_W = ( PT_UNICODE shl 16)+   3004h
PR_COMMENT_A = ( PT_STRING8 shl 16)+   3004h
PR_DEPTH = ( PT_LONG shl 16)+      3005h
PR_PROVIDER_DISPLAY = ( PT_TSTRING shl 16)+   3006h
PR_PROVIDER_DISPLAY_W = ( PT_UNICODE shl 16)+   3006h
PR_PROVIDER_DISPLAY_A = ( PT_STRING8 shl 16)+   3006h
PR_CREATION_TIME = ( PT_SYSTIME shl 16)+   3007h
PR_LAST_MODIFICATION_TIME = ( PT_SYSTIME shl 16)+   3008h
PR_RESOURCE_FLAGS = ( PT_LONG shl 16)+      3009h
PR_PROVIDER_DLL_NAME = ( PT_TSTRING shl 16)+   300Ah
PR_PROVIDER_DLL_NAME_W = ( PT_UNICODE shl 16)+   300Ah
PR_PROVIDER_DLL_NAME_A = ( PT_STRING8 shl 16)+   300Ah
PR_SEARCH_KEY = ( PT_BINARY shl 16)+    300Bh
PR_PROVIDER_UID = ( PT_BINARY shl 16)+    300Ch
PR_PROVIDER_ORDINAL = ( PT_LONG shl 16)+      300Dh
PR_FORM_VERSION = (PT_TSTRING shl 16)+    3301h
PR_FORM_VERSION_W = (PT_UNICODE shl 16)+    3301h
PR_FORM_VERSION_A = (PT_STRING8 shl 16)+    3301h
PR_FORM_CLSID = (PT_CLSID shl 16)+      3302h
PR_FORM_CONTACT_NAME = (PT_TSTRING shl 16)+    3303h
PR_FORM_CONTACT_NAME_W = (PT_UNICODE shl 16)+    3303h
PR_FORM_CONTACT_NAME_A = (PT_STRING8 shl 16)+    3303h
PR_FORM_CATEGORY = (PT_TSTRING shl 16)+    3304h
PR_FORM_CATEGORY_W = (PT_UNICODE shl 16)+    3304h
PR_FORM_CATEGORY_A = (PT_STRING8 shl 16)+    3304h
PR_FORM_CATEGORY_SUB = (PT_TSTRING shl 16)+    3305h
PR_FORM_CATEGORY_SUB_W = (PT_UNICODE shl 16)+    3305h
PR_FORM_CATEGORY_SUB_A = (PT_STRING8 shl 16)+    3305h
PR_FORM_HOST_MAP = (PT_MV_LONG shl 16)+    3306h
PR_FORM_HIDDEN = (PT_BOOLEAN shl 16)+    3307h
PR_FORM_DESIGNER_NAME = (PT_TSTRING shl 16)+    3308h
PR_FORM_DESIGNER_NAME_W = (PT_UNICODE shl 16)+    3308h
PR_FORM_DESIGNER_NAME_A = (PT_STRING8 shl 16)+    3308h
PR_FORM_DESIGNER_GUID = (PT_CLSID shl 16)+      3309h
PR_FORM_MESSAGE_BEHAVIOR = (PT_LONG shl 16)+       330Ah
PR_DEFAULT_STORE = ( PT_BOOLEAN shl 16)+   3400h
PR_STORE_SUPPORT_MASK = ( PT_LONG shl 16)+      340Dh
PR_STORE_STATE = ( PT_LONG shl 16)+      340Eh
PR_IPM_SUBTREE_SEARCH_KEY = ( PT_BINARY shl 16)+    3410h
PR_IPM_OUTBOX_SEARCH_KEY = ( PT_BINARY shl 16)+    3411h
PR_IPM_WASTEBASKET_SEARCH_KEY = ( PT_BINARY shl 16)+    3412h
PR_IPM_SENTMAIL_SEARCH_KEY = ( PT_BINARY shl 16)+    3413h
PR_MDB_PROVIDER = ( PT_BINARY shl 16)+    3414h
PR_RECEIVE_FOLDER_SETTINGS = ( PT_OBJECT shl 16)+    3415h
PR_VALID_FOLDER_MASK = ( PT_LONG shl 16)+      35DFh
PR_IPM_SUBTREE_ENTRYID = ( PT_BINARY shl 16)+    35E0h
PR_IPM_OUTBOX_ENTRYID = ( PT_BINARY shl 16)+    35E2h
PR_IPM_WASTEBASKET_ENTRYID = ( PT_BINARY shl 16)+    35E3h
PR_IPM_SENTMAIL_ENTRYID = ( PT_BINARY shl 16)+    35E4h
PR_VIEWS_ENTRYID = ( PT_BINARY shl 16)+    35E5h
PR_COMMON_VIEWS_ENTRYID = ( PT_BINARY shl 16)+    35E6h
PR_FINDER_ENTRYID = ( PT_BINARY shl 16)+    35E7h
PR_CONTAINER_FLAGS = ( PT_LONG shl 16)+      3600h
PR_FOLDER_TYPE = ( PT_LONG shl 16)+      3601h
PR_CONTENT_COUNT = ( PT_LONG shl 16)+      3602h
PR_CONTENT_UNREAD = ( PT_LONG shl 16)+      3603h
PR_CREATE_TEMPLATES = ( PT_OBJECT shl 16)+    3604h
PR_DETAILS_TABLE = ( PT_OBJECT shl 16)+    3605h
PR_SEARCH = ( PT_OBJECT shl 16)+    3607h
PR_SELECTABLE = ( PT_BOOLEAN shl 16)+   3609h
PR_SUBFOLDERS = ( PT_BOOLEAN shl 16)+   360Ah
PR_STATUS = ( PT_LONG shl 16)+      360Bh
PR_ANR = ( PT_TSTRING shl 16)+   360Ch
PR_ANR_W = ( PT_UNICODE shl 16)+   360Ch
PR_ANR_A = ( PT_STRING8 shl 16)+   360Ch
PR_CONTENTS_SORT_ORDER = ( PT_MV_LONG shl 16)+   360Dh
PR_CONTAINER_HIERARCHY = ( PT_OBJECT shl 16)+    360Eh
PR_CONTAINER_CONTENTS = ( PT_OBJECT shl 16)+    360Fh
PR_FOLDER_ASSOCIATED_CONTENTS = ( PT_OBJECT shl 16)+    3610h
PR_DEF_CREATE_DL = ( PT_BINARY shl 16)+    3611h
PR_DEF_CREATE_MAILUSER = ( PT_BINARY shl 16)+    3612h
PR_CONTAINER_CLASS = ( PT_TSTRING shl 16)+   3613h
PR_CONTAINER_CLASS_W = ( PT_UNICODE shl 16)+   3613h
PR_CONTAINER_CLASS_A = ( PT_STRING8 shl 16)+   3613h
PR_CONTAINER_MODIFY_VERSION = ( PT_I8 shl 16)+        3614h
PR_AB_PROVIDER_ID = ( PT_BINARY shl 16)+    3615h
PR_DEFAULT_VIEW_ENTRYID = ( PT_BINARY shl 16)+    3616h
PR_ASSOC_CONTENT_COUNT = ( PT_LONG shl 16)+      3617h
PR_ATTACHMENT_X400_PARAMETERS = ( PT_BINARY shl 16)+    3700h
PR_ATTACH_DATA_OBJ = ( PT_OBJECT shl 16)+    3701h
PR_ATTACH_DATA_BIN = ( PT_BINARY shl 16)+    3701h
PR_ATTACH_ENCODING = ( PT_BINARY shl 16)+    3702h
PR_ATTACH_EXTENSION = ( PT_TSTRING shl 16)+   3703h
PR_ATTACH_EXTENSION_W = ( PT_UNICODE shl 16)+   3703h
PR_ATTACH_EXTENSION_A = ( PT_STRING8 shl 16)+   3703h
PR_ATTACH_FILENAME = ( PT_TSTRING shl 16)+   3704h
PR_ATTACH_FILENAME_W = ( PT_UNICODE shl 16)+   3704h
PR_ATTACH_FILENAME_A = ( PT_STRING8 shl 16)+   3704h
PR_ATTACH_METHOD = ( PT_LONG shl 16)+      3705h
PR_ATTACH_LONG_FILENAME = ( PT_TSTRING shl 16)+   3707h
PR_ATTACH_LONG_FILENAME_W = ( PT_UNICODE shl 16)+   3707h
PR_ATTACH_LONG_FILENAME_A = ( PT_STRING8 shl 16)+   3707h
PR_ATTACH_PATHNAME = ( PT_TSTRING shl 16)+   3708h
PR_ATTACH_PATHNAME_W = ( PT_UNICODE shl 16)+   3708h
PR_ATTACH_PATHNAME_A = ( PT_STRING8 shl 16)+   3708h
PR_ATTACH_RENDERING = ( PT_BINARY shl 16)+    3709h
PR_ATTACH_TAG = ( PT_BINARY shl 16)+    370Ah
PR_RENDERING_POSITION = ( PT_LONG shl 16)+      370Bh
PR_ATTACH_TRANSPORT_NAME = ( PT_TSTRING shl 16)+   370Ch
PR_ATTACH_TRANSPORT_NAME_W = ( PT_UNICODE shl 16)+   370Ch
PR_ATTACH_TRANSPORT_NAME_A = ( PT_STRING8 shl 16)+   370Ch
PR_ATTACH_LONG_PATHNAME = ( PT_TSTRING shl 16)+   370Dh
PR_ATTACH_LONG_PATHNAME_W = ( PT_UNICODE shl 16)+   370Dh
PR_ATTACH_LONG_PATHNAME_A = ( PT_STRING8 shl 16)+   370Dh
PR_ATTACH_MIME_TAG = ( PT_TSTRING shl 16)+   370Eh
PR_ATTACH_MIME_TAG_W = ( PT_UNICODE shl 16)+   370Eh
PR_ATTACH_MIME_TAG_A = ( PT_STRING8 shl 16)+   370Eh
PR_ATTACH_ADDITIONAL_INFO = ( PT_BINARY shl 16)+    370Fh
PR_DISPLAY_TYPE = ( PT_LONG shl 16)+      3900h
PR_TEMPLATEID = ( PT_BINARY shl 16)+    3902h
PR_PRIMARY_CAPABILITY = ( PT_BINARY shl 16)+    3904h
PR_7BIT_DISPLAY_NAME = ( PT_STRING8 shl 16)+   39FFh
PR_ACCOUNT = ( PT_TSTRING shl 16)+   3A00h
PR_ACCOUNT_W = ( PT_UNICODE shl 16)+   3A00h
PR_ACCOUNT_A = ( PT_STRING8 shl 16)+   3A00h
PR_ALTERNATE_RECIPIENT = ( PT_BINARY shl 16)+    3A01h
PR_CALLBACK_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A02h
PR_CALLBACK_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A02h
PR_CALLBACK_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A02h
PR_CONVERSION_PROHIBITED = ( PT_BOOLEAN shl 16)+   3A03h
PR_DISCLOSE_RECIPIENTS = ( PT_BOOLEAN shl 16)+   3A04h
PR_GENERATION = ( PT_TSTRING shl 16)+   3A05h
PR_GENERATION_W = ( PT_UNICODE shl 16)+   3A05h
PR_GENERATION_A = ( PT_STRING8 shl 16)+   3A05h
PR_GIVEN_NAME = ( PT_TSTRING shl 16)+   3A06h
PR_GIVEN_NAME_W = ( PT_UNICODE shl 16)+   3A06h
PR_GIVEN_NAME_A = ( PT_STRING8 shl 16)+   3A06h
PR_GOVERNMENT_ID_NUMBER = ( PT_TSTRING shl 16)+   3A07h
PR_GOVERNMENT_ID_NUMBER_W = ( PT_UNICODE shl 16)+   3A07h
PR_GOVERNMENT_ID_NUMBER_A = ( PT_STRING8 shl 16)+   3A07h
PR_BUSINESS_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A08h
PR_BUSINESS_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A08h
PR_BUSINESS_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A08h
PR_OFFICE_TELEPHONE_NUMBER = PR_BUSINESS_TELEPHONE_NUMBER
PR_OFFICE_TELEPHONE_NUMBER_W = PR_BUSINESS_TELEPHONE_NUMBER_W
PR_OFFICE_TELEPHONE_NUMBER_A = PR_BUSINESS_TELEPHONE_NUMBER_A
PR_HOME_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A09h
PR_HOME_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A09h
PR_HOME_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A09h
PR_INITIALS = ( PT_TSTRING shl 16)+   3A0Ah
PR_INITIALS_W = ( PT_UNICODE shl 16)+   3A0Ah
PR_INITIALS_A = ( PT_STRING8 shl 16)+   3A0Ah
PR_KEYWORD = ( PT_TSTRING shl 16)+   3A0Bh
PR_KEYWORD_W = ( PT_UNICODE shl 16)+   3A0Bh
PR_KEYWORD_A = ( PT_STRING8 shl 16)+   3A0Bh
PR_LANGUAGE = ( PT_TSTRING shl 16)+   3A0Ch
PR_LANGUAGE_W = ( PT_UNICODE shl 16)+   3A0Ch
PR_LANGUAGE_A = ( PT_STRING8 shl 16)+   3A0Ch
PR_LOCATION = ( PT_TSTRING shl 16)+   3A0Dh
PR_LOCATION_W = ( PT_UNICODE shl 16)+   3A0Dh
PR_LOCATION_A = ( PT_STRING8 shl 16)+   3A0Dh
PR_MAIL_PERMISSION = ( PT_BOOLEAN shl 16)+   3A0Eh
PR_MHS_COMMON_NAME = ( PT_TSTRING shl 16)+   3A0Fh
PR_MHS_COMMON_NAME_W = ( PT_UNICODE shl 16)+   3A0Fh
PR_MHS_COMMON_NAME_A = ( PT_STRING8 shl 16)+   3A0Fh
PR_ORGANIZATIONAL_ID_NUMBER = ( PT_TSTRING shl 16)+   3A10h
PR_ORGANIZATIONAL_ID_NUMBER_W = ( PT_UNICODE shl 16)+   3A10h
PR_ORGANIZATIONAL_ID_NUMBER_A = ( PT_STRING8 shl 16)+   3A10h
PR_SURNAME = ( PT_TSTRING shl 16)+   3A11h
PR_SURNAME_W = ( PT_UNICODE shl 16)+   3A11h
PR_SURNAME_A = ( PT_STRING8 shl 16)+   3A11h
PR_ORIGINAL_ENTRYID = ( PT_BINARY shl 16)+    3A12h
PR_ORIGINAL_DISPLAY_NAME = ( PT_TSTRING shl 16)+   3A13h
PR_ORIGINAL_DISPLAY_NAME_W = ( PT_UNICODE shl 16)+   3A13h
PR_ORIGINAL_DISPLAY_NAME_A = ( PT_STRING8 shl 16)+   3A13h
PR_ORIGINAL_SEARCH_KEY = ( PT_BINARY shl 16)+    3A14h
PR_POSTAL_ADDRESS = ( PT_TSTRING shl 16)+   3A15h
PR_POSTAL_ADDRESS_W = ( PT_UNICODE shl 16)+   3A15h
PR_POSTAL_ADDRESS_A = ( PT_STRING8 shl 16)+   3A15h
PR_COMPANY_NAME = ( PT_TSTRING shl 16)+   3A16h
PR_COMPANY_NAME_W = ( PT_UNICODE shl 16)+   3A16h
PR_COMPANY_NAME_A = ( PT_STRING8 shl 16)+   3A16h
PR_TITLE = ( PT_TSTRING shl 16)+   3A17h
PR_TITLE_W = ( PT_UNICODE shl 16)+   3A17h
PR_TITLE_A = ( PT_STRING8 shl 16)+   3A17h
PR_DEPARTMENT_NAME = ( PT_TSTRING shl 16)+   3A18h
PR_DEPARTMENT_NAME_W = ( PT_UNICODE shl 16)+   3A18h
PR_DEPARTMENT_NAME_A = ( PT_STRING8 shl 16)+   3A18h
PR_OFFICE_LOCATION = ( PT_TSTRING shl 16)+   3A19h
PR_OFFICE_LOCATION_W = ( PT_UNICODE shl 16)+   3A19h
PR_OFFICE_LOCATION_A = ( PT_STRING8 shl 16)+   3A19h
PR_PRIMARY_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A1Ah
PR_PRIMARY_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A1Ah
PR_PRIMARY_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A1Ah
PR_BUSINESS2_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A1Bh
PR_BUSINESS2_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A1Bh
PR_BUSINESS2_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A1Bh
PR_OFFICE2_TELEPHONE_NUMBER = PR_BUSINESS2_TELEPHONE_NUMBER
PR_OFFICE2_TELEPHONE_NUMBER_W = PR_BUSINESS2_TELEPHONE_NUMBER_W
PR_OFFICE2_TELEPHONE_NUMBER_A = PR_BUSINESS2_TELEPHONE_NUMBER_A
PR_MOBILE_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A1Ch
PR_MOBILE_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A1Ch
PR_MOBILE_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A1Ch
PR_CELLULAR_TELEPHONE_NUMBER = PR_MOBILE_TELEPHONE_NUMBER
PR_CELLULAR_TELEPHONE_NUMBER_W = PR_MOBILE_TELEPHONE_NUMBER_W
PR_CELLULAR_TELEPHONE_NUMBER_A = PR_MOBILE_TELEPHONE_NUMBER_A
PR_RADIO_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A1Dh
PR_RADIO_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A1Dh
PR_RADIO_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A1Dh
PR_CAR_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A1Eh
PR_CAR_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A1Eh
PR_CAR_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A1Eh
PR_OTHER_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A1Fh
PR_OTHER_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A1Fh
PR_OTHER_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A1Fh
PR_TRANSMITABLE_DISPLAY_NAME = ( PT_TSTRING shl 16)+   3A20h
PR_TRANSMITABLE_DISPLAY_NAME_W = ( PT_UNICODE shl 16)+   3A20h
PR_TRANSMITABLE_DISPLAY_NAME_A = ( PT_STRING8 shl 16)+   3A20h
PR_PAGER_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A21h
PR_PAGER_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A21h
PR_PAGER_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A21h
PR_BEEPER_TELEPHONE_NUMBER = PR_PAGER_TELEPHONE_NUMBER
PR_BEEPER_TELEPHONE_NUMBER_W = PR_PAGER_TELEPHONE_NUMBER_W
PR_BEEPER_TELEPHONE_NUMBER_A = PR_PAGER_TELEPHONE_NUMBER_A
PR_USER_CERTIFICATE = ( PT_BINARY shl 16)+    3A22h
PR_PRIMARY_FAX_NUMBER = ( PT_TSTRING shl 16)+   3A23h
PR_PRIMARY_FAX_NUMBER_W = ( PT_UNICODE shl 16)+   3A23h
PR_PRIMARY_FAX_NUMBER_A = ( PT_STRING8 shl 16)+   3A23h
PR_BUSINESS_FAX_NUMBER = ( PT_TSTRING shl 16)+   3A24h
PR_BUSINESS_FAX_NUMBER_W = ( PT_UNICODE shl 16)+   3A24h
PR_BUSINESS_FAX_NUMBER_A = ( PT_STRING8 shl 16)+   3A24h
PR_HOME_FAX_NUMBER = ( PT_TSTRING shl 16)+   3A25h
PR_HOME_FAX_NUMBER_W = ( PT_UNICODE shl 16)+   3A25h
PR_HOME_FAX_NUMBER_A = ( PT_STRING8 shl 16)+   3A25h
PR_COUNTRY = ( PT_TSTRING shl 16)+   3A26h
PR_COUNTRY_W = ( PT_UNICODE shl 16)+   3A26h
PR_COUNTRY_A = ( PT_STRING8 shl 16)+   3A26h
PR_BUSINESS_ADDRESS_COUNTRY = PR_COUNTRY
PR_BUSINESS_ADDRESS_COUNTRY_W = PR_COUNTRY_W
PR_BUSINESS_ADDRESS_COUNTRY_A = PR_COUNTRY_A
PR_LOCALITY = ( PT_TSTRING shl 16)+   3A27h
PR_LOCALITY_W = ( PT_UNICODE shl 16)+   3A27h
PR_LOCALITY_A = ( PT_STRING8 shl 16)+   3A27h
PR_BUSINESS_ADDRESS_CITY = PR_LOCALITY
PR_BUSINESS_ADDRESS_CITY_W = PR_LOCALITY_W
PR_BUSINESS_ADDRESS_CITY_A = PR_LOCALITY_A
PR_STATE_OR_PROVINCE = ( PT_TSTRING shl 16)+   3A28h
PR_STATE_OR_PROVINCE_W = ( PT_UNICODE shl 16)+   3A28h
PR_STATE_OR_PROVINCE_A = ( PT_STRING8 shl 16)+   3A28h
PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE = PR_STATE_OR_PROVINCE
PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE_W = PR_STATE_OR_PROVINCE_W
PR_BUSINESS_ADDRESS_STATE_OR_PROVINCE_A = PR_STATE_OR_PROVINCE_A
PR_STREET_ADDRESS = ( PT_TSTRING shl 16)+   3A29h
PR_STREET_ADDRESS_W = ( PT_UNICODE shl 16)+   3A29h
PR_STREET_ADDRESS_A = ( PT_STRING8 shl 16)+   3A29h
PR_BUSINESS_ADDRESS_STREET = PR_STREET_ADDRESS
PR_BUSINESS_ADDRESS_STREET_W = PR_STREET_ADDRESS_W
PR_BUSINESS_ADDRESS_STREET_A = PR_STREET_ADDRESS_A
PR_POSTAL_CODE = ( PT_TSTRING shl 16)+   3A2Ah
PR_POSTAL_CODE_W = ( PT_UNICODE shl 16)+   3A2Ah
PR_POSTAL_CODE_A = ( PT_STRING8 shl 16)+   3A2Ah
PR_BUSINESS_ADDRESS_POSTAL_CODE = PR_POSTAL_CODE
PR_BUSINESS_ADDRESS_POSTAL_CODE_W = PR_POSTAL_CODE_W
PR_BUSINESS_ADDRESS_POSTAL_CODE_A = PR_POSTAL_CODE_A
PR_POST_OFFICE_BOX = ( PT_TSTRING shl 16)+   3A2Bh
PR_POST_OFFICE_BOX_W = ( PT_UNICODE shl 16)+   3A2Bh
PR_POST_OFFICE_BOX_A = ( PT_STRING8 shl 16)+   3A2Bh
PR_BUSINESS_ADDRESS_POST_OFFICE_BOX = PR_POST_OFFICE_BOX
PR_BUSINESS_ADDRESS_POST_OFFICE_BOX_W = PR_POST_OFFICE_BOX_W
PR_BUSINESS_ADDRESS_POST_OFFICE_BOX_A = PR_POST_OFFICE_BOX_A
PR_TELEX_NUMBER = ( PT_TSTRING shl 16)+   3A2Ch
PR_TELEX_NUMBER_W = ( PT_UNICODE shl 16)+   3A2Ch
PR_TELEX_NUMBER_A = ( PT_STRING8 shl 16)+   3A2Ch
PR_ISDN_NUMBER = ( PT_TSTRING shl 16)+   3A2Dh
PR_ISDN_NUMBER_W = ( PT_UNICODE shl 16)+   3A2Dh
PR_ISDN_NUMBER_A = ( PT_STRING8 shl 16)+   3A2Dh
PR_ASSISTANT_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A2Eh
PR_ASSISTANT_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A2Eh
PR_ASSISTANT_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A2Eh
PR_HOME2_TELEPHONE_NUMBER = ( PT_TSTRING shl 16)+   3A2Fh
PR_HOME2_TELEPHONE_NUMBER_W = ( PT_UNICODE shl 16)+   3A2Fh
PR_HOME2_TELEPHONE_NUMBER_A = ( PT_STRING8 shl 16)+   3A2Fh
PR_ASSISTANT = ( PT_TSTRING shl 16)+   3A30h
PR_ASSISTANT_W = ( PT_UNICODE shl 16)+   3A30h
PR_ASSISTANT_A = ( PT_STRING8 shl 16)+   3A30h
PR_SEND_RICH_INFO = ( PT_BOOLEAN shl 16)+   3A40h
PR_WEDDING_ANNIVERSARY = ( PT_SYSTIME shl 16)+ 3A41h
PR_BIRTHDAY = ( PT_SYSTIME shl 16)+ 3A42h
PR_HOBBIES = ( PT_TSTRING shl 16)+ 3A43h
PR_HOBBIES_W = ( PT_UNICODE shl 16)+ 3A43h
PR_HOBBIES_A = ( PT_STRING8 shl 16)+ 3A43h
PR_MIDDLE_NAME = ( PT_TSTRING shl 16)+ 3A44h
PR_MIDDLE_NAME_W = ( PT_UNICODE shl 16)+ 3A44h
PR_MIDDLE_NAME_A = ( PT_STRING8 shl 16)+ 3A44h
PR_DISPLAY_NAME_PREFIX = ( PT_TSTRING shl 16)+ 3A45h
PR_DISPLAY_NAME_PREFIX_W = ( PT_UNICODE shl 16)+ 3A45h
PR_DISPLAY_NAME_PREFIX_A = ( PT_STRING8 shl 16)+ 3A45h
PR_PROFESSION = ( PT_TSTRING shl 16)+ 3A46h
PR_PROFESSION_W = ( PT_UNICODE shl 16)+ 3A46h
PR_PROFESSION_A = ( PT_STRING8 shl 16)+ 3A46h
PR_PREFERRED_BY_NAME = ( PT_TSTRING shl 16)+ 3A47h
PR_PREFERRED_BY_NAME_W = ( PT_UNICODE shl 16)+ 3A47h
PR_PREFERRED_BY_NAME_A = ( PT_STRING8 shl 16)+ 3A47h
PR_SPOUSE_NAME = ( PT_TSTRING shl 16)+ 3A48h
PR_SPOUSE_NAME_W = ( PT_UNICODE shl 16)+ 3A48h
PR_SPOUSE_NAME_A = ( PT_STRING8 shl 16)+ 3A48h
PR_COMPUTER_NETWORK_NAME = ( PT_TSTRING shl 16)+ 3A49h
PR_COMPUTER_NETWORK_NAME_W = ( PT_UNICODE shl 16)+ 3A49h
PR_COMPUTER_NETWORK_NAME_A = ( PT_STRING8 shl 16)+ 3A49h
PR_CUSTOMER_ID = ( PT_TSTRING shl 16)+ 3A4Ah
PR_CUSTOMER_ID_W = ( PT_UNICODE shl 16)+ 3A4Ah
PR_CUSTOMER_ID_A = ( PT_STRING8 shl 16)+ 3A4Ah
PR_TTYTDD_PHONE_NUMBER = ( PT_TSTRING shl 16)+ 3A4Bh
PR_TTYTDD_PHONE_NUMBER_W = ( PT_UNICODE shl 16)+ 3A4Bh
PR_TTYTDD_PHONE_NUMBER_A = ( PT_STRING8 shl 16)+ 3A4Bh
PR_FTP_SITE = ( PT_TSTRING shl 16)+ 3A4Ch
PR_FTP_SITE_W = ( PT_UNICODE shl 16)+ 3A4Ch
PR_FTP_SITE_A = ( PT_STRING8 shl 16)+ 3A4Ch
PR_GENDER = ( PT_SHORT shl 16)+ 3A4Dh
PR_MANAGER_NAME = ( PT_TSTRING shl 16)+ 3A4Eh
PR_MANAGER_NAME_W = ( PT_UNICODE shl 16)+ 3A4Eh
PR_MANAGER_NAME_A = ( PT_STRING8 shl 16)+ 3A4Eh
PR_NICKNAME = ( PT_TSTRING shl 16)+ 3A4Fh
PR_NICKNAME_W = ( PT_UNICODE shl 16)+ 3A4Fh
PR_NICKNAME_A = ( PT_STRING8 shl 16)+ 3A4Fh
PR_PERSONAL_HOME_PAGE = ( PT_TSTRING shl 16)+ 3A50h
PR_PERSONAL_HOME_PAGE_W = ( PT_UNICODE shl 16)+ 3A50h
PR_PERSONAL_HOME_PAGE_A = ( PT_STRING8 shl 16)+ 3A50h
PR_BUSINESS_HOME_PAGE = ( PT_TSTRING shl 16)+ 3A51h
PR_BUSINESS_HOME_PAGE_W = ( PT_UNICODE shl 16)+ 3A51h
PR_BUSINESS_HOME_PAGE_A = ( PT_STRING8 shl 16)+ 3A51h
PR_CONTACT_VERSION = ( PT_CLSID shl 16)+ 3A52h
PR_CONTACT_ENTRYIDS = ( PT_MV_BINARY shl 16)+ 3A53h
PR_CONTACT_ADDRTYPES = ( PT_MV_TSTRING shl 16)+ 3A54h
PR_CONTACT_ADDRTYPES_W = ( PT_MV_UNICODE shl 16)+ 3A54h
PR_CONTACT_ADDRTYPES_A = ( PT_MV_STRING8 shl 16)+ 3A54h
PR_CONTACT_DEFAULT_ADDRESS_INDEX = ( PT_LONG shl 16)+ 3A55h
PR_CONTACT_EMAIL_ADDRESSES = ( PT_MV_TSTRING shl 16)+ 3A56h
PR_CONTACT_EMAIL_ADDRESSES_W = ( PT_MV_UNICODE shl 16)+ 3A56h
PR_CONTACT_EMAIL_ADDRESSES_A = ( PT_MV_STRING8 shl 16)+ 3A56h
PR_COMPANY_MAIN_PHONE_NUMBER = ( PT_TSTRING shl 16)+ 3A57h
PR_COMPANY_MAIN_PHONE_NUMBER_W = ( PT_UNICODE shl 16)+ 3A57h
PR_COMPANY_MAIN_PHONE_NUMBER_A = ( PT_STRING8 shl 16)+ 3A57h
PR_CHILDRENS_NAMES = ( PT_MV_TSTRING shl 16)+ 3A58h
PR_CHILDRENS_NAMES_W = ( PT_MV_UNICODE shl 16)+ 3A58h
PR_CHILDRENS_NAMES_A = ( PT_MV_STRING8 shl 16)+ 3A58h
PR_HOME_ADDRESS_CITY = ( PT_TSTRING shl 16)+ 3A59h
PR_HOME_ADDRESS_CITY_W = ( PT_UNICODE shl 16)+ 3A59h
PR_HOME_ADDRESS_CITY_A = ( PT_STRING8 shl 16)+ 3A59h
PR_HOME_ADDRESS_COUNTRY = ( PT_TSTRING shl 16)+ 3A5Ah
PR_HOME_ADDRESS_COUNTRY_W = ( PT_UNICODE shl 16)+ 3A5Ah
PR_HOME_ADDRESS_COUNTRY_A = ( PT_STRING8 shl 16)+ 3A5Ah
PR_HOME_ADDRESS_POSTAL_CODE = ( PT_TSTRING shl 16)+ 3A5Bh
PR_HOME_ADDRESS_POSTAL_CODE_W = ( PT_UNICODE shl 16)+ 3A5Bh
PR_HOME_ADDRESS_POSTAL_CODE_A = ( PT_STRING8 shl 16)+ 3A5Bh
PR_HOME_ADDRESS_STATE_OR_PROVINCE = ( PT_TSTRING shl 16)+ 3A5Ch
PR_HOME_ADDRESS_STATE_OR_PROVINCE_W = ( PT_UNICODE shl 16)+ 3A5Ch
PR_HOME_ADDRESS_STATE_OR_PROVINCE_A = ( PT_STRING8 shl 16)+ 3A5Ch
PR_HOME_ADDRESS_STREET = ( PT_TSTRING shl 16)+ 3A5Dh
PR_HOME_ADDRESS_STREET_W = ( PT_UNICODE shl 16)+ 3A5Dh
PR_HOME_ADDRESS_STREET_A = ( PT_STRING8 shl 16)+ 3A5Dh
PR_HOME_ADDRESS_POST_OFFICE_BOX = ( PT_TSTRING shl 16)+ 3A5Eh
PR_HOME_ADDRESS_POST_OFFICE_BOX_W = ( PT_UNICODE shl 16)+ 3A5Eh
PR_HOME_ADDRESS_POST_OFFICE_BOX_A = ( PT_STRING8 shl 16)+ 3A5Eh
PR_OTHER_ADDRESS_CITY = ( PT_TSTRING shl 16)+ 3A5Fh
PR_OTHER_ADDRESS_CITY_W = ( PT_UNICODE shl 16)+ 3A5Fh
PR_OTHER_ADDRESS_CITY_A = ( PT_STRING8 shl 16)+ 3A5Fh
PR_OTHER_ADDRESS_COUNTRY = ( PT_TSTRING shl 16)+ 3A60h
PR_OTHER_ADDRESS_COUNTRY_W = ( PT_UNICODE shl 16)+ 3A60h
PR_OTHER_ADDRESS_COUNTRY_A = ( PT_STRING8 shl 16)+ 3A60h
PR_OTHER_ADDRESS_POSTAL_CODE = ( PT_TSTRING shl 16)+ 3A61h
PR_OTHER_ADDRESS_POSTAL_CODE_W = ( PT_UNICODE shl 16)+ 3A61h
PR_OTHER_ADDRESS_POSTAL_CODE_A = ( PT_STRING8 shl 16)+ 3A61h
PR_OTHER_ADDRESS_STATE_OR_PROVINCE = ( PT_TSTRING shl 16)+ 3A62h
PR_OTHER_ADDRESS_STATE_OR_PROVINCE_W = ( PT_UNICODE shl 16)+ 3A62h
PR_OTHER_ADDRESS_STATE_OR_PROVINCE_A = ( PT_STRING8 shl 16)+ 3A62h
PR_OTHER_ADDRESS_STREET = ( PT_TSTRING shl 16)+ 3A63h
PR_OTHER_ADDRESS_STREET_W = ( PT_UNICODE shl 16)+ 3A63h
PR_OTHER_ADDRESS_STREET_A = ( PT_STRING8 shl 16)+ 3A63h
PR_OTHER_ADDRESS_POST_OFFICE_BOX = ( PT_TSTRING shl 16)+ 3A64h
PR_OTHER_ADDRESS_POST_OFFICE_BOX_W = ( PT_UNICODE shl 16)+ 3A64h
PR_OTHER_ADDRESS_POST_OFFICE_BOX_A = ( PT_STRING8 shl 16)+ 3A64h
PR_STORE_PROVIDERS = ( PT_BINARY shl 16)+    3D00h
PR_AB_PROVIDERS = ( PT_BINARY shl 16)+    3D01h
PR_TRANSPORT_PROVIDERS = ( PT_BINARY shl 16)+    3D02h
PR_DEFAULT_PROFILE = ( PT_BOOLEAN shl 16)+   3D04h
PR_AB_SEARCH_PATH = ( PT_MV_BINARY shl 16)+ 3D05h
PR_AB_DEFAULT_DIR = ( PT_BINARY shl 16)+    3D06h
PR_AB_DEFAULT_PAB = ( PT_BINARY shl 16)+    3D07h
PR_FILTERING_HOOKS = ( PT_BINARY shl 16)+    3D08h
PR_SERVICE_NAME = ( PT_TSTRING shl 16)+   3D09h
PR_SERVICE_NAME_W = ( PT_UNICODE shl 16)+   3D09h
PR_SERVICE_NAME_A = ( PT_STRING8 shl 16)+   3D09h
PR_SERVICE_DLL_NAME = ( PT_TSTRING shl 16)+   3D0Ah
PR_SERVICE_DLL_NAME_W = ( PT_UNICODE shl 16)+   3D0Ah
PR_SERVICE_DLL_NAME_A = ( PT_STRING8 shl 16)+   3D0Ah
PR_SERVICE_ENTRY_NAME = ( PT_STRING8 shl 16)+   3D0Bh
PR_SERVICE_UID = ( PT_BINARY shl 16)+    3D0Ch
PR_SERVICE_EXTRA_UIDS = ( PT_BINARY shl 16)+    3D0Dh
PR_SERVICES = ( PT_BINARY shl 16)+    3D0Eh
PR_SERVICE_SUPPORT_FILES = ( PT_MV_TSTRING shl 16)+ 3D0Fh
PR_SERVICE_SUPPORT_FILES_W = ( PT_MV_UNICODE shl 16)+ 3D0Fh
PR_SERVICE_SUPPORT_FILES_A = ( PT_MV_STRING8 shl 16)+ 3D0Fh
PR_SERVICE_DELETE_FILES = ( PT_MV_TSTRING shl 16)+ 3D10h
PR_SERVICE_DELETE_FILES_W = ( PT_MV_UNICODE shl 16)+ 3D10h
PR_SERVICE_DELETE_FILES_A = ( PT_MV_STRING8 shl 16)+ 3D10h
PR_AB_SEARCH_PATH_UPDATE = ( PT_BINARY shl 16)+     3D11h
PR_PROFILE_NAME = ( PT_TSTRING shl 16)+   3D12h
PR_PROFILE_NAME_A = ( PT_STRING8 shl 16)+   3D12h
PR_PROFILE_NAME_W = ( PT_UNICODE shl 16)+   3D12h
PR_IDENTITY_DISPLAY = ( PT_TSTRING shl 16)+   3E00h
PR_IDENTITY_DISPLAY_W = ( PT_UNICODE shl 16)+   3E00h
PR_IDENTITY_DISPLAY_A = ( PT_STRING8 shl 16)+   3E00h
PR_IDENTITY_ENTRYID = ( PT_BINARY shl 16)+    3E01h
PR_RESOURCE_METHODS = ( PT_LONG shl 16)+      3E02h
PR_RESOURCE_TYPE = ( PT_LONG shl 16)+      3E03h
PR_STATUS_CODE = ( PT_LONG shl 16)+      3E04h
PR_IDENTITY_SEARCH_KEY = ( PT_BINARY shl 16)+    3E05h
PR_OWN_STORE_ENTRYID = ( PT_BINARY shl 16)+    3E06h
PR_RESOURCE_PATH = ( PT_TSTRING shl 16)+   3E07h
PR_RESOURCE_PATH_W = ( PT_UNICODE shl 16)+   3E07h
PR_RESOURCE_PATH_A = ( PT_STRING8 shl 16)+   3E07h
PR_STATUS_STRING = ( PT_TSTRING shl 16)+   3E08h
PR_STATUS_STRING_W = ( PT_UNICODE shl 16)+   3E08h
PR_STATUS_STRING_A = ( PT_STRING8 shl 16)+   3E08h
PR_X400_DEFERRED_DELIVERY_CANCEL = ( PT_BOOLEAN shl 16)+   3E09h
PR_HEADER_FOLDER_ENTRYID = ( PT_BINARY shl 16)+    3E0Ah
PR_REMOTE_PROGRESS = ( PT_LONG shl 16)+      3E0Bh
PR_REMOTE_PROGRESS_TEXT = ( PT_TSTRING shl 16)+   3E0Ch
PR_REMOTE_PROGRESS_TEXT_W = ( PT_UNICODE shl 16)+   3E0Ch
PR_REMOTE_PROGRESS_TEXT_A = ( PT_STRING8 shl 16)+   3E0Ch
PR_REMOTE_VALIDATE_OK = ( PT_BOOLEAN shl 16)+   3E0Dh
PR_CONTROL_FLAGS = ( PT_LONG shl 16)+      3F00h
PR_CONTROL_STRUCTURE = ( PT_BINARY shl 16)+    3F01h
PR_CONTROL_TYPE = ( PT_LONG shl 16)+      3F02h
PR_DELTAX = ( PT_LONG shl 16)+      3F03h
PR_DELTAY = ( PT_LONG shl 16)+      3F04h
PR_XPOS = ( PT_LONG shl 16)+      3F05h
PR_YPOS = ( PT_LONG shl 16)+      3F06h
PR_CONTROL_ID = ( PT_BINARY shl 16)+    3F07h
PR_INITIAL_DETAILS_PANE = ( PT_LONG shl 16)+      3F08h
PROP_ID_SECURE_MIN = 67F0h
PROP_ID_SECURE_MAX = 67FFh

;----------------------------------[ mapiutil.h ]------------------------
IPROP_READONLY = 1
IPROP_READWRITE = 2
IPROP_CLEAN = 10000h
IPROP_DIRTY = 20000h
PRILOWEST = -32768
PRIHIGHEST = 32767
PRIUSER = 0
IRONULL = 0
FIROWAIT = 1
FIROINTERVAL = 2
FIROPERBLOCK = 4
FIRODISABLED = 20h
FIROONCEONLY = 40h
IRCNULL = 0
FIRCPFN = 1
FIRCPV = 2
FIRCPRI = 4
FIRCCSEC = 8
FIRCIRO = 10h
MAPI_FORCE_CREATE = 1
MAPI_FULL_IPM_TREE = 2
RTF_SYNC_RTF_CHANGED = 1
RTF_SYNC_BODY_CHANGED = 2

DTCTL struct
    ulCtlType dd ?
    ulCtlFlags dd ?
    lpbNotif dd ?
    cbNotif dd ?
    lpszFilter dd ?
    ulItemID dd ?
    union ;ctl
        lpv dd ?
        lplabel dd ?
        lpedit dd ?
        lplbx dd ?
        lpcombobox dd ?
        lpddlbx dd ?
        lpcheckbox dd ?
        lpgroupbox dd ?
        lpbutton dd ?
        lpradiobutton dd ?
        lpmvlbx dd ?
        lpmvddlbx dd ?
        lppage dd ?
      ends
DTCTL ends

DTPAGE struct
    cctl dd ?
    lpszResourceName dd ?
    union
        lpszComponent dd ?
        ulItemID dd ?
    ends
    lpctl dd ?
DTPAGE ends

;-----------------------------------[mapiwz.h]-------------------------------
WIZ_QUERYNUMPAGES = WM_USER+10
WIZ_NEXT = WM_USER +11
WIZ_PREV = WM_USER +12
MAPI_PW_FIRST_PROFILE = 1
MAPI_PW_LAUNCHED_BY_CONFIG = 2
MAPI_PW_ADD_SERVICE_ONLY = 4
MAPI_PW_PROVIDER_UI_ONLY = 8
MAPI_PW_HIDE_SERVICES_LIST = 10h
PR_WIZARD_NO_PST_PAGE = (PT_BOOLEAN shl 16)+6700h
LAUNCHWIZARDENTRYNAME equ "LAUNCHWIZARD"

;--------------------------------[ mapix.h]-----------------------------
MAPI_ALLOW_OTHERS = 8
MAPI_EXPLICIT_PROFILE = 10h
MAPI_SERVICE_UI_ALWAYS = 2000h
MAPI_NO_MAIL = 8000h
MAPI_TIMEOUT_SHORT = 100000h
MAPI_SIMPLE_DEFAULT = (MAPI_LOGON_UI + MAPI_FORCE_DOWNLOAD + MAPI_ALLOW_OTHERS)
MAPI_SIMPLE_EXPLICIT = (MAPI_NEW_SESSION + MAPI_FORCE_DOWNLOAD + MAPI_EXPLICIT_PROFILE)
MAPI_INIT_VERSION = 0
MAPI_MULTITHREAD_NOTIFICATIONS = 1
MAPI_LOGOFF_SHARED = 1
MAPI_LOGOFF_UI = 2
MAPI_DEFAULT_STORE = 1
MAPI_SIMPLE_STORE_TEMPORARY = 2
MAPI_SIMPLE_STORE_PERMANENT = 3
MAPI_PRIMARY_STORE = 4
MAPI_SECONDARY_STORE = 5
MAPI_POST_MESSAGE = 1
MAPI_NEW_MESSAGE = 2
MAPI_DEFAULT_SERVICES = 1
SERVICE_DEFAULT_STORE = 1
SERVICE_SINGLE_COPY = 2
SERVICE_CREATE_WITH_STORE = 4
SERVICE_PRIMARY_IDENTITY = 8
SERVICE_NO_PRIMARY_IDENTITY = 20h

MAPIINIT_0 struct
    ulVersion dd    ?
    ulFlags dd      ?
MAPIINIT_0 ends

;;;; end mapi

;;;; winioctl

FILE_DEVICE_BEEP                 = 00000001h
FILE_DEVICE_CD_ROM               = 00000002h
FILE_DEVICE_CD_ROM_FILE_SYSTEM   = 00000003h
FILE_DEVICE_CONTROLLER           = 00000004h
FILE_DEVICE_DATALINK             = 00000005h
FILE_DEVICE_DFS                  = 00000006h
FILE_DEVICE_DISK                 = 00000007h
FILE_DEVICE_DISK_FILE_SYSTEM     = 00000008h
FILE_DEVICE_FILE_SYSTEM          = 00000009h
FILE_DEVICE_INPORT_PORT          = 0000000ah
FILE_DEVICE_KEYBOARD             = 0000000bh
FILE_DEVICE_MAILSLOT             = 0000000ch
FILE_DEVICE_MIDI_IN              = 0000000dh
FILE_DEVICE_MIDI_OUT             = 0000000eh
FILE_DEVICE_MOUSE                = 0000000fh
FILE_DEVICE_MULTI_UNC_PROVIDER   = 00000010h
FILE_DEVICE_NAMED_PIPE           = 00000011h
FILE_DEVICE_NETWORK              = 00000012h
FILE_DEVICE_NETWORK_BROWSER      = 00000013h
FILE_DEVICE_NETWORK_FILE_SYSTEM  = 00000014h
FILE_DEVICE_NULL                 = 00000015h
FILE_DEVICE_PARALLEL_PORT        = 00000016h
FILE_DEVICE_PHYSICAL_NETCARD     = 00000017h
FILE_DEVICE_PRINTER              = 00000018h
FILE_DEVICE_SCANNER              = 00000019h
FILE_DEVICE_SERIAL_MOUSE_PORT    = 0000001ah
FILE_DEVICE_SERIAL_PORT          = 0000001bh
FILE_DEVICE_SCREEN               = 0000001ch
FILE_DEVICE_SOUND                = 0000001dh
FILE_DEVICE_STREAMS              = 0000001eh
FILE_DEVICE_TAPE                 = 0000001fh
FILE_DEVICE_TAPE_FILE_SYSTEM     = 00000020h
FILE_DEVICE_TRANSPORT            = 00000021h
FILE_DEVICE_UNKNOWN              = 00000022h
FILE_DEVICE_VIDEO                = 00000023h
FILE_DEVICE_VIRTUAL_DISK         = 00000024h
FILE_DEVICE_WAVE_IN              = 00000025h
FILE_DEVICE_WAVE_OUT             = 00000026h
FILE_DEVICE_8042_PORT            = 00000027h
FILE_DEVICE_NETWORK_REDIRECTOR   = 00000028h
FILE_DEVICE_BATTERY              = 00000029h
FILE_DEVICE_BUS_EXTENDER         = 0000002ah
FILE_DEVICE_MODEM                = 0000002bh
FILE_DEVICE_VDM                  = 0000002ch
FILE_DEVICE_MASS_STORAGE         = 0000002dh
FILE_DEVICE_SMB                  = 0000002eh
FILE_DEVICE_KS                   = 0000002fh
FILE_DEVICE_CHANGER              = 00000030h
FILE_DEVICE_SMARTCARD            = 00000031h
FILE_DEVICE_ACPI                 = 00000032h
FILE_DEVICE_DVD                  = 00000033h
FILE_DEVICE_FULLSCREEN_VIDEO     = 00000034h
FILE_DEVICE_DFS_FILE_SYSTEM      = 00000035h
FILE_DEVICE_DFS_VOLUME           = 00000036h
FILE_DEVICE_SERENUM              = 00000037h
FILE_DEVICE_TERMSRV              = 00000038h
FILE_DEVICE_KSEC                 = 00000039h
METHOD_BUFFERED                  = 0
METHOD_IN_DIRECT                 = 1
METHOD_OUT_DIRECT                = 2
METHOD_NEITHER                   = 3
FILE_ANY_ACCESS                  = 0
FILE_SPECIAL_ACCESS              = (FILE_ANY_ACCESS)
FILE_READ_ACCESS                 = 1
FILE_WRITE_ACCESS                = 2
IOCTL_STORAGE_BASE               = FILE_DEVICE_MASS_STORAGE
RECOVERED_WRITES_VALID           = 00000001h
UNRECOVERED_WRITES_VALID         = 00000002h
RECOVERED_READS_VALID            = 00000004h
UNRECOVERED_READS_VALID          = 00000008h
WRITE_COMPRESSION_INFO_VALID     = 00000010h
READ_COMPRESSION_INFO_VALID      = 00000020h
TAPE_RETURN_STATISTICS           = 0
TAPE_RETURN_ENV_INFO             = 1
TAPE_RESET_STATISTICS            = 2
MEDIA_ERASEABLE                  = 00000001h
MEDIA_WRITE_ONCE                 = 00000002h
MEDIA_READ_ONLY                  = 00000004h
MEDIA_READ_WRITE                 = 00000008h
MEDIA_WRITE_PROTECTED            = 00000100h
MEDIA_CURRENTLY_MOUNTED          = 80000000h
IOCTL_DISK_BASE                  = FILE_DEVICE_DISK
PARTITION_ENTRY_UNUSED           = 00h
PARTITION_FAT_12                 = 01h
PARTITION_XENIX_1                = 02h
PARTITION_XENIX_2                = 03h
PARTITION_FAT_16                 = 04h
PARTITION_EXTENDED               = 05h
PARTITION_HUGE                   = 06h
PARTITION_IFS                    = 07h
PARTITION_FAT32                  = 0Bh
PARTITION_FAT32_XINT13           = 0Ch
PARTITION_XINT13                 = 0Eh
PARTITION_XINT13_EXTENDED        = 0Fh
PARTITION_PREP                   = 41h
PARTITION_LDM                    = 42h
PARTITION_UNIX                   = 63h
VALID_NTFT                       = 0C0h
PARTITION_NTFT                   = 80h
HIST_NO_OF_BUCKETS               = 24

HISTOGRAM_BUCKET struct
    Reads DWORD ?
    Writes DWORD ?
HISTOGRAM_BUCKET ends
TYPEDEF PHISTOGRAM_BUCKET,PVOID
HISTOGRAM_BUCKET_SIZE            = sizeof.HISTOGRAM_BUCKET

DISK_HISTOGRAM struct
    DiskSize    LARGE_INTEGER <>
    Start       LARGE_INTEGER <>
    End         LARGE_INTEGER <>
    Average     LARGE_INTEGER <>
    AverageRead LARGE_INTEGER <>
    AverageWrite LARGE_INTEGER <>
    Granularity DWORD ?
    Size        DWORD ?
    ReadCount   DWORD ?
    WriteCount  WORD ?
    Histogram   PHISTOGRAM_BUCKET ?
DISK_HISTOGRAM ends
TYPEDEF PDISK_HISTOGRAM,PVOID
DISK_HISTOGRAM_SIZE              = sizeof.DISK_HISTOGRAM

DISK_LOGGING_START               = 0
DISK_LOGGING_STOP                = 1
DISK_LOGGING_DUMP                = 2
DISK_BINNING                     = 3
CAP_ATA_ID_CMD                   = 1
CAP_ATAPI_ID_CMD                 = 2
CAP_SMART_CMD                    = 4
ATAPI_ID_CMD                     = 0A1h
ID_CMD                           = 0ECh
SMART_CMD                        = 0B0h
SMART_CYL_LOW                    = 4Fh
SMART_CYL_HI                     = 0C2h
SMART_NO_ERROR                   = 0
SMART_IDE_ERROR                  = 1
SMART_INVALID_FLAG               = 2
SMART_INVALID_COMMAND            = 3
SMART_INVALID_BUFFER             = 4
SMART_INVALID_DRIVE              = 5
SMART_INVALID_IOCTL              = 6
SMART_ERROR_NO_MEM               = 7
SMART_INVALID_REGISTER           = 8
SMART_NOT_SUPPORTED              = 9
SMART_NO_IDE_DEVICE              = 10
READ_ATTRIBUTE_BUFFER_SIZE       = 512
IDENTIFY_BUFFER_SIZE             = 512
READ_THRESHOLD_BUFFER_SIZE       = 512
READ_ATTRIBUTES                  = 0D0h
READ_THRESHOLDS                  = 0D1h
ENABLE_DISABLE_AUTOSAVE          = 0D2h
SAVE_ATTRIBUTE_VALUES            = 0D3h
EXECUTE_OFFLINE_DIAGS            = 0D4h
ENABLE_SMART                     = 0D8h
DISABLE_SMART                    = 0D9h
RETURN_SMART_STATUS              = 0DAh
ENABLE_DISABLE_AUTO_OFFLINE      = 0DBh
IOCTL_CHANGER_BASE               = FILE_DEVICE_CHANGER
MAX_VOLUME_ID_SIZE               = 36
MAX_VOLUME_TEMPLATE_SIZE         = 40
VENDOR_ID_LENGTH                 = 8
PRODUCT_ID_LENGTH                = 16
REVISION_LENGTH                  = 4
SERIAL_NUMBER_LENGTH             = 32
CHANGER_BAR_CODE_SCANNER_INSTALLED = 00000001h
CHANGER_INIT_ELEM_STAT_WITH_RANGE = 00000002h
CHANGER_CLOSE_IEPORT             = 00000004h
CHANGER_OPEN_IEPORT              = 00000008h
CHANGER_STATUS_NON_VOLATILE      = 00000010h
CHANGER_EXCHANGE_MEDIA           = 00000020h
CHANGER_CLEANER_SLOT             = 00000040h
CHANGER_LOCK_UNLOCK              = 00000080h
CHANGER_CARTRIDGE_MAGAZINE       = 00000100h
CHANGER_MEDIUM_FLIP              = 00000200h
CHANGER_POSITION_TO_ELEMENT      = 00000400h
CHANGER_REPORT_IEPORT_STATE      = 00000800h
CHANGER_STORAGE_DRIVE            = 00001000h
CHANGER_STORAGE_IEPORT           = 00002000h
CHANGER_STORAGE_SLOT             = 00004000h
CHANGER_STORAGE_TRANSPORT        = 00008000h
CHANGER_DRIVE_CLEANING_REQUIRED  = 00010000h
CHANGER_PREDISMOUNT_EJECT_REQUIRED = 00020000h
CHANGER_CLEANER_ACCESS_NOT_VALID = 00040000h
CHANGER_PREMOUNT_EJECT_REQUIRED  = 00080000h
CHANGER_VOLUME_IDENTIFICATION    = 00100000h
CHANGER_VOLUME_SEARCH            = 00200000h
CHANGER_VOLUME_ASSERT            = 00400000h
CHANGER_VOLUME_REPLACE           = 00800000h
CHANGER_VOLUME_UNDEFINE          = 01000000h
CHANGER_SERIAL_NUMBER_VALID      = 04000000h
CHANGER_DEVICE_REINITIALIZE_CAPABLE = 08000000h
CHANGER_KEYPAD_ENABLE_DISABLE    = 10000000h
CHANGER_DRIVE_EMPTY_ON_DOOR_ACCESS = 20000000h
CHANGER_RESERVED_BIT             = 80000000h
CHANGER_PREDISMOUNT_ALIGN_TO_SLOT = 80000001h
CHANGER_PREDISMOUNT_ALIGN_TO_DRIVE = 80000002h
CHANGER_CLEANER_AUTODISMOUNT     = 80000004h
CHANGER_TRUE_EXCHANGE_CAPABLE    = 80000008h
CHANGER_SLOTS_USE_TRAYS          = 80000010h
CHANGER_RTN_MEDIA_TO_ORIGINAL_ADDR = 80000020h
CHANGER_CLEANER_OPS_NOT_SUPPORTED = 80000040h
CHANGER_IEPORT_USER_CONTROL_OPEN = 80000080h
CHANGER_IEPORT_USER_CONTROL_CLOSE = 80000100h
CHANGER_MOVE_EXTENDS_IEPORT      = 80000200h
CHANGER_MOVE_RETRACTS_IEPORT     = 80000400h
CHANGER_TO_TRANSPORT             = 01h
CHANGER_TO_SLOT                  = 02h
CHANGER_TO_IEPORT                = 04h
CHANGER_TO_DRIVE                 = 08h
LOCK_UNLOCK_IEPORT               = 01h
LOCK_UNLOCK_DOOR                 = 02h
LOCK_UNLOCK_KEYPAD               = 04h
LOCK_ELEMENT                     = 0
UNLOCK_ELEMENT                   = 1
EXTEND_IEPORT                    = 2
RETRACT_IEPORT                   = 3
ELEMENT_STATUS_FULL              = 00000001h
ELEMENT_STATUS_IMPEXP            = 00000002h
ELEMENT_STATUS_EXCEPT            = 00000004h
ELEMENT_STATUS_ACCESS            = 00000008h
ELEMENT_STATUS_EXENAB            = 00000010h
ELEMENT_STATUS_INENAB            = 00000020h
ELEMENT_STATUS_LUN_VALID         = 00001000h
ELEMENT_STATUS_ID_VALID          = 00002000h
ELEMENT_STATUS_NOT_BUS           = 00008000h
ELEMENT_STATUS_INVERT            = 00400000h
ELEMENT_STATUS_SVALID            = 00800000h
ELEMENT_STATUS_PVOLTAG           = 10000000h
ELEMENT_STATUS_AVOLTAG           = 20000000h
ERROR_LABEL_UNREADABLE           = 00000001h
ERROR_LABEL_QUESTIONABLE         = 00000002h
ERROR_SLOT_NOT_PRESENT           = 00000004h
ERROR_DRIVE_NOT_INSTALLED        = 00000008h
ERROR_TRAY_MALFUNCTION           = 00000010h
ERROR_INIT_STATUS_NEEDED         = 00000011h
ERROR_UNHANDLED_ERROR            = 0FFFFFFFFh
SEARCH_ALL                       = 0h
SEARCH_PRIMARY                   = 1h
SEARCH_ALTERNATE                 = 2h
SEARCH_ALL_NO_SEQ                = 4h
SEARCH_PRI_NO_SEQ                = 5h
SEARCH_ALT_NO_SEQ                = 6h
ASSERT_PRIMARY                   = 8h
ASSERT_ALTERNATE                 = 9h
REPLACE_PRIMARY                  = 0Ah
REPLACE_ALTERNATE                = 0Bh
UNDEFINE_PRIMARY                 = 0Ch
UNDEFINE_ALTERNATE               = 0Dh
SERIAL_LSRMST_ESCAPE             = 0
SERIAL_LSRMST_LSR_DATA           = 1
SERIAL_LSRMST_LSR_NODATA         = 2
SERIAL_LSRMST_MST                = 3
SERIAL_IOC_FCR_FIFO_ENABLE       = 00000001
SERIAL_IOC_FCR_RCVR_RESET        = 00000002
SERIAL_IOC_FCR_XMIT_RESET        = 00000004
SERIAL_IOC_FCR_DMA_MODE          = 00000008
SERIAL_IOC_FCR_RES1              = 00000010
SERIAL_IOC_FCR_RES2              = 00000020
SERIAL_IOC_FCR_RCVR_TRIGGER_LSB  = 00000040
SERIAL_IOC_FCR_RCVR_TRIGGER_MSB  = 00000080
SERIAL_IOC_MCR_DTR               = 00000001
SERIAL_IOC_MCR_RTS               = 00000002
SERIAL_IOC_MCR_OUT1              = 00000004
SERIAL_IOC_MCR_OUT2              = 00000008
SERIAL_IOC_MCR_LOOP              = 00000010
USN_PAGE_SIZE                    = 1000h
USN_REASON_DATA_OVERWRITE        = 00000001h
USN_REASON_DATA_EXTEND           = 00000002h
USN_REASON_DATA_TRUNCATION       = 00000004h
USN_REASON_NAMED_DATA_OVERWRITE  = 00000010h
USN_REASON_NAMED_DATA_EXTEND     = 00000020h
USN_REASON_NAMED_DATA_TRUNCATION = 00000040h
USN_REASON_FILE_CREATE           = 00000100h
USN_REASON_FILE_DELETE           = 00000200h
USN_REASON_EA_CHANGE             = 00000400h
USN_REASON_SECURITY_CHANGE       = 00000800h
USN_REASON_RENAME_OLD_NAME       = 00001000h
USN_REASON_RENAME_NEW_NAME       = 00002000h
USN_REASON_INDEXABLE_CHANGE      = 00004000h
USN_REASON_BASIC_INFO_CHANGE     = 00008000h
USN_REASON_HARD_LINK_CHANGE      = 00010000h
USN_REASON_COMPRESSION_CHANGE    = 00020000h
USN_REASON_ENCRYPTION_CHANGE     = 00040000h
USN_REASON_OBJECT_ID_CHANGE      = 00080000h
USN_REASON_REPARSE_POINT_CHANGE  = 00100000h
USN_REASON_STREAM_CHANGE         = 00200000h
USN_REASON_CLOSE                 = 80000000h
USN_DELETE_FLAG_DELETE           = 00000001h
USN_DELETE_FLAG_NOTIFY           = 00000002h
USN_DELETE_VALID_FLAGS           = 00000003h
USN_SOURCE_DATA_MANAGEMENT       = 00000001h
USN_SOURCE_AUXILIARY_DATA        = 00000002h
USN_SOURCE_REPLICATION_MANAGEMENT = 00000004h
VOLUME_IS_DIRTY                  = 00000001h
VOLUME_UPGRADE_SCHEDULED         = 00000002h
FILESYSTEM_STATISTICS_TYPE_NTFS  = 1
FILESYSTEM_STATISTICS_TYPE_FAT   = 2
FILE_SET_ENCRYPTION              = 00000001h
FILE_CLEAR_ENCRYPTION            = 00000002h
STREAM_SET_ENCRYPTION            = 00000003h
STREAM_CLEAR_ENCRYPTION          = 00000004h
MAXIMUM_ENCRYPTION_VALUE         = 00000004h
ENCRYPTION_FORMAT_DEFAULT        = 1
COMPRESSION_FORMAT_SPARSE        = 4000h
COPYFILE_SIS_LINK                = 0001h
COPYFILE_SIS_REPLACE             = 0002h
COPYFILE_SIS_FLAGS               = 0003h
NSS_CONTROL_MARK                 = 1
NSS_CONTROL_UNMARK               = 2
NSS_CONTROL_ISNSSFILE            = 4

;;;; end winioctl

;;;; tapi

TAPI_CURRENT_VERSION             = 00020002h
LINE_ADDRESSSTATE                = 0
LINE_CALLINFO                    = 1
LINE_CALLSTATE                   = 2
LINE_CLOSE                       = 3
LINE_DEVSPECIFIC                 = 4
LINE_DEVSPECIFICFEATURE          = 5
LINE_GATHERDIGITS                = 6
LINE_GENERATE                    = 7
LINE_LINEDEVSTATE                = 8
LINE_MONITORDIGITS               = 9
LINE_MONITORMEDIA                = 10
LINE_MONITORTONE                 = 11
LINE_REPLY                       = 12
LINE_REQUEST                     = 13
PHONE_BUTTON                     = 14
PHONE_CLOSE                      = 15
PHONE_DEVSPECIFIC                = 16
PHONE_REPLY                      = 17
PHONE_STATE                      = 18
LINE_CREATE                      = 19
PHONE_CREATE                     = 20
LINE_AGENTSPECIFIC               = 21
LINE_AGENTSTATUS                 = 22
LINE_APPNEWCALL                  = 23
LINE_PROXYREQUEST                = 24
LINE_REMOVE                      = 25
PHONE_REMOVE                     = 26
LINE_AGENTSESSIONSTATUS          = 27
LINE_QUEUESTATUS                 = 28
LINE_AGENTSTATUSEX               = 29
LINE_GROUPSTATUS                 = 30
LINE_PROXYSTATUS                 = 31
LINE_APPNEWCALLHUB               = 32
LINE_CALLHUBCLOSE                = 33
LINE_DEVSPECIFICEX               = 34
INITIALIZE_NEGOTIATION           = 0FFFFFFFFh
LINEADDRCAPFLAGS_FWDNUMRINGS     = 00000001h
LINEADDRCAPFLAGS_PICKUPGROUPID   = 00000002h
LINEADDRCAPFLAGS_SECURE          = 00000004h
LINEADDRCAPFLAGS_BLOCKIDDEFAULT  = 00000008h
LINEADDRCAPFLAGS_BLOCKIDOVERRIDE = 00000010h
LINEADDRCAPFLAGS_DIALED          = 00000020h
LINEADDRCAPFLAGS_ORIGOFFHOOK     = 00000040h
LINEADDRCAPFLAGS_DESTOFFHOOK     = 00000080h
LINEADDRCAPFLAGS_FWDCONSULT      = 00000100h
LINEADDRCAPFLAGS_SETUPCONFNULL   = 00000200h
LINEADDRCAPFLAGS_AUTORECONNECT   = 00000400h
LINEADDRCAPFLAGS_COMPLETIONID    = 00000800h
LINEADDRCAPFLAGS_TRANSFERHELD    = 00001000h
LINEADDRCAPFLAGS_TRANSFERMAKE    = 00002000h
LINEADDRCAPFLAGS_CONFERENCEHELD  = 00004000h
LINEADDRCAPFLAGS_CONFERENCEMAKE  = 00008000h
LINEADDRCAPFLAGS_PARTIALDIAL     = 00010000h
LINEADDRCAPFLAGS_FWDSTATUSVALID  = 00020000h
LINEADDRCAPFLAGS_FWDINTEXTADDR   = 00040000h
LINEADDRCAPFLAGS_FWDBUSYNAADDR   = 00080000h
LINEADDRCAPFLAGS_ACCEPTTOALERT   = 00100000h
LINEADDRCAPFLAGS_CONFDROP        = 00200000h
LINEADDRCAPFLAGS_PICKUPCALLWAIT  = 00400000h
LINEADDRCAPFLAGS_PREDICTIVEDIALER = 00800000h
LINEADDRCAPFLAGS_QUEUE           = 01000000h
LINEADDRCAPFLAGS_ROUTEPOINT      = 02000000h
LINEADDRCAPFLAGS_HOLDMAKESNEW    = 04000000h
LINEADDRCAPFLAGS_NOINTERNALCALLS = 08000000h
LINEADDRCAPFLAGS_NOEXTERNALCALLS = 10000000h
LINEADDRCAPFLAGS_SETCALLINGID    = 20000000h
LINEADDRCAPFLAGS_ACDGROUP        = 40000000h
LINEADDRCAPFLAGS_NOPSTNADDRESSTRANSLATION = 80000000h
LINEADDRESSMODE_ADDRESSID        = 00000001h
LINEADDRESSMODE_DIALABLEADDR     = 00000002h
LINEADDRESSSHARING_PRIVATE       = 00000001h
LINEADDRESSSHARING_BRIDGEDEXCL   = 00000002h
LINEADDRESSSHARING_BRIDGEDNEW    = 00000004h
LINEADDRESSSHARING_BRIDGEDSHARED = 00000008h
LINEADDRESSSHARING_MONITORED     = 00000010h
LINEADDRESSSTATE_OTHER           = 00000001h
LINEADDRESSSTATE_DEVSPECIFIC     = 00000002h
LINEADDRESSSTATE_INUSEZERO       = 00000004h
LINEADDRESSSTATE_INUSEONE        = 00000008h
LINEADDRESSSTATE_INUSEMANY       = 00000010h
LINEADDRESSSTATE_NUMCALLS        = 00000020h
LINEADDRESSSTATE_FORWARD         = 00000040h
LINEADDRESSSTATE_TERMINALS       = 00000080h
LINEADDRESSSTATE_CAPSCHANGE      = 00000100h
LINEADDRESSTYPE_PHONENUMBER      = 00000001h
LINEADDRESSTYPE_SDP              = 00000002h
LINEADDRESSTYPE_EMAILNAME        = 00000004h
LINEADDRESSTYPE_DOMAINNAME       = 00000008h
LINEADDRESSTYPE_IPADDRESS        = 00000010h
LINEADDRFEATURE_FORWARD          = 00000001h
LINEADDRFEATURE_MAKECALL         = 00000002h
LINEADDRFEATURE_PICKUP           = 00000004h
LINEADDRFEATURE_SETMEDIACONTROL  = 00000008h
LINEADDRFEATURE_SETTERMINAL      = 00000010h
LINEADDRFEATURE_SETUPCONF        = 00000020h
LINEADDRFEATURE_UNCOMPLETECALL   = 00000040h
LINEADDRFEATURE_UNPARK           = 00000080h
LINEADDRFEATURE_PICKUPHELD       = 00000100h
LINEADDRFEATURE_PICKUPGROUP      = 00000200h
LINEADDRFEATURE_PICKUPDIRECT     = 00000400h
LINEADDRFEATURE_PICKUPWAITING    = 00000800h
LINEADDRFEATURE_FORWARDFWD       = 00001000h
LINEADDRFEATURE_FORWARDDND       = 00002000h
LINEAGENTFEATURE_SETAGENTGROUP   = 00000001h
LINEAGENTFEATURE_SETAGENTSTATE   = 00000002h
LINEAGENTFEATURE_SETAGENTACTIVITY = 00000004h
LINEAGENTFEATURE_AGENTSPECIFIC   = 00000008h
LINEAGENTFEATURE_GETAGENTACTIVITYLIST = 00000010h
LINEAGENTFEATURE_GETAGENTGROUP   = 00000020h
LINEAGENTSTATE_LOGGEDOFF         = 00000001h
LINEAGENTSTATE_NOTREADY          = 00000002h
LINEAGENTSTATE_READY             = 00000004h
LINEAGENTSTATE_BUSYACD           = 00000008h
LINEAGENTSTATE_BUSYINCOMING      = 00000010h
LINEAGENTSTATE_BUSYOUTBOUND      = 00000020h
LINEAGENTSTATE_BUSYOTHER         = 00000040h
LINEAGENTSTATE_WORKINGAFTERCALL  = 00000080h
LINEAGENTSTATE_UNKNOWN           = 00000100h
LINEAGENTSTATE_UNAVAIL           = 00000200h
LINEAGENTSTATUS_GROUP            = 00000001h
LINEAGENTSTATUS_STATE            = 00000002h
LINEAGENTSTATUS_NEXTSTATE        = 00000004h
LINEAGENTSTATUS_ACTIVITY         = 00000008h
LINEAGENTSTATUS_ACTIVITYLIST     = 00000010h
LINEAGENTSTATUS_GROUPLIST        = 00000020h
LINEAGENTSTATUS_CAPSCHANGE       = 00000040h
LINEAGENTSTATUS_VALIDSTATES      = 00000080h
LINEAGENTSTATUS_VALIDNEXTSTATES  = 00000100h
LINEAGENTSTATEEX_NOTREADY        = 00000001h
LINEAGENTSTATEEX_READY           = 00000002h
LINEAGENTSTATEEX_BUSYACD         = 00000004h
LINEAGENTSTATEEX_BUSYINCOMING    = 00000008h
LINEAGENTSTATEEX_BUSYOUTGOING    = 00000010h
LINEAGENTSTATEEX_UNKNOWN         = 00000020h
LINEAGENTSTATEEX_RELEASED        = 00000040h
LINEAGENTSTATUSEX_NEWAGENT       = 00000001h
LINEAGENTSTATUSEX_STATE          = 00000002h
LINEAGENTSTATUSEX_UPDATEINFO     = 00000004h
LINEAGENTSESSIONSTATE_NOTREADY   = 00000001h
LINEAGENTSESSIONSTATE_READY      = 00000002h
LINEAGENTSESSIONSTATE_BUSYONCALL = 00000004h
LINEAGENTSESSIONSTATE_BUSYWRAPUP = 00000008h
LINEAGENTSESSIONSTATE_ENDED      = 00000010h
LINEAGENTSESSIONSTATE_RELEASED   = 00000020h
LINEAGENTSESSIONSTATUS_NEWSESSION = 00000001h
LINEAGENTSESSIONSTATUS_STATE     = 00000002h
LINEAGENTSESSIONSTATUS_UPDATEINFO = 00000004h
LINEQUEUESTATUS_UPDATEINFO       = 00000001h
LINEQUEUESTATUS_NEWQUEUE         = 00000002h
LINEQUEUESTATUS_QUEUEREMOVED     = 00000004h
LINEGROUPSTATUS_NEWGROUP         = 00000001h
LINEGROUPSTATUS_GROUPREMOVED     = 00000002h
LINEPROXYSTATUS_OPEN             = 00000001h
LINEPROXYSTATUS_CLOSE            = 00000002h
LINEPROXYSTATUS_ALLOPENFORACD    = 00000004h
LINEANSWERMODE_NONE              = 00000001h
LINEANSWERMODE_DROP              = 00000002h
LINEANSWERMODE_HOLD              = 00000004h
LINEBEARERMODE_VOICE             = 00000001h
LINEBEARERMODE_SPEECH            = 00000002h
LINEBEARERMODE_MULTIUSE          = 00000004h
LINEBEARERMODE_DATA              = 00000008h
LINEBEARERMODE_ALTSPEECHDATA     = 00000010h
LINEBEARERMODE_NONCALLSIGNALING  = 00000020h
LINEBEARERMODE_PASSTHROUGH       = 00000040h
LINEBEARERMODE_RESTRICTEDDATA    = 00000080h
LINEBUSYMODE_STATION             = 00000001h
LINEBUSYMODE_TRUNK               = 00000002h
LINEBUSYMODE_UNKNOWN             = 00000004h
LINEBUSYMODE_UNAVAIL             = 00000008h
LINECALLCOMPLCOND_BUSY           = 00000001h
LINECALLCOMPLCOND_NOANSWER       = 00000002h
LINECALLCOMPLMODE_CAMPON         = 00000001h
LINECALLCOMPLMODE_CALLBACK       = 00000002h
LINECALLCOMPLMODE_INTRUDE        = 00000004h
LINECALLCOMPLMODE_MESSAGE        = 00000008h
LINECALLFEATURE_ACCEPT           = 00000001h
LINECALLFEATURE_ADDTOCONF        = 00000002h
LINECALLFEATURE_ANSWER           = 00000004h
LINECALLFEATURE_BLINDTRANSFER    = 00000008h
LINECALLFEATURE_COMPLETECALL     = 00000010h
LINECALLFEATURE_COMPLETETRANSF   = 00000020h
LINECALLFEATURE_DIAL             = 00000040h
LINECALLFEATURE_DROP             = 00000080h
LINECALLFEATURE_GATHERDIGITS     = 00000100h
LINECALLFEATURE_GENERATEDIGITS   = 00000200h
LINECALLFEATURE_GENERATETONE     = 00000400h
LINECALLFEATURE_HOLD             = 00000800h
LINECALLFEATURE_MONITORDIGITS    = 00001000h
LINECALLFEATURE_MONITORMEDIA     = 00002000h
LINECALLFEATURE_MONITORTONES     = 00004000h
LINECALLFEATURE_PARK             = 00008000h
LINECALLFEATURE_PREPAREADDCONF   = 00010000h
LINECALLFEATURE_REDIRECT         = 00020000h
LINECALLFEATURE_REMOVEFROMCONF   = 00040000h
LINECALLFEATURE_SECURECALL       = 00080000h
LINECALLFEATURE_SENDUSERUSER     = 00100000h
LINECALLFEATURE_SETCALLPARAMS    = 00200000h
LINECALLFEATURE_SETMEDIACONTROL  = 00400000h
LINECALLFEATURE_SETTERMINAL      = 00800000h
LINECALLFEATURE_SETUPCONF        = 01000000h
LINECALLFEATURE_SETUPTRANSFER    = 02000000h
LINECALLFEATURE_SWAPHOLD         = 04000000h
LINECALLFEATURE_UNHOLD           = 08000000h
LINECALLFEATURE_RELEASEUSERUSERINFO = 10000000h
LINECALLFEATURE_SETTREATMENT     = 20000000h
LINECALLFEATURE_SETQOS           = 40000000h
LINECALLFEATURE_SETCALLDATA      = 80000000h
LINECALLFEATURE2_NOHOLDCONFERENCE = 00000001h
LINECALLFEATURE2_ONESTEPTRANSFER = 00000002h
LINECALLFEATURE2_COMPLCAMPON     = 00000004h
LINECALLFEATURE2_COMPLCALLBACK   = 00000008h
LINECALLFEATURE2_COMPLINTRUDE    = 00000010h
LINECALLFEATURE2_COMPLMESSAGE    = 00000020h
LINECALLFEATURE2_TRANSFERNORM    = 00000040h
LINECALLFEATURE2_TRANSFERCONF    = 00000080h
LINECALLFEATURE2_PARKDIRECT      = 00000100h
LINECALLFEATURE2_PARKNONDIRECT   = 00000200h
LINECALLHUBTRACKING_NONE         = 00000000h
LINECALLHUBTRACKING_PROVIDERLEVEL = 00000001h
LINECALLHUBTRACKING_ALLCALLS     = 00000002h
LINECALLINFOSTATE_OTHER          = 00000001h
LINECALLINFOSTATE_DEVSPECIFIC    = 00000002h
LINECALLINFOSTATE_BEARERMODE     = 00000004h
LINECALLINFOSTATE_RATE           = 00000008h
LINECALLINFOSTATE_MEDIAMODE      = 00000010h
LINECALLINFOSTATE_APPSPECIFIC    = 00000020h
LINECALLINFOSTATE_CALLID         = 00000040h
LINECALLINFOSTATE_RELATEDCALLID  = 00000080h
LINECALLINFOSTATE_ORIGIN         = 00000100h
LINECALLINFOSTATE_REASON         = 00000200h
LINECALLINFOSTATE_COMPLETIONID   = 00000400h
LINECALLINFOSTATE_NUMOWNERINCR   = 00000800h
LINECALLINFOSTATE_NUMOWNERDECR   = 00001000h
LINECALLINFOSTATE_NUMMONITORS    = 00002000h
LINECALLINFOSTATE_TRUNK          = 00004000h
LINECALLINFOSTATE_CALLERID       = 00008000h
LINECALLINFOSTATE_CALLEDID       = 00010000h
LINECALLINFOSTATE_CONNECTEDID    = 00020000h
LINECALLINFOSTATE_REDIRECTIONID  = 00040000h
LINECALLINFOSTATE_REDIRECTINGID  = 00080000h
LINECALLINFOSTATE_DISPLAY        = 00100000h
LINECALLINFOSTATE_USERUSERINFO   = 00200000h
LINECALLINFOSTATE_HIGHLEVELCOMP  = 00400000h
LINECALLINFOSTATE_LOWLEVELCOMP   = 00800000h
LINECALLINFOSTATE_CHARGINGINFO   = 01000000h
LINECALLINFOSTATE_TERMINAL       = 02000000h
LINECALLINFOSTATE_DIALPARAMS     = 04000000h
LINECALLINFOSTATE_MONITORMODES   = 08000000h
LINECALLINFOSTATE_TREATMENT      = 10000000h
LINECALLINFOSTATE_QOS            = 20000000h
LINECALLINFOSTATE_CALLDATA       = 40000000h
LINECALLORIGIN_OUTBOUND          = 00000001h
LINECALLORIGIN_INTERNAL          = 00000002h
LINECALLORIGIN_EXTERNAL          = 00000004h
LINECALLORIGIN_UNKNOWN           = 00000010h
LINECALLORIGIN_UNAVAIL           = 00000020h
LINECALLORIGIN_CONFERENCE        = 00000040h
LINECALLORIGIN_INBOUND           = 00000080h
LINECALLPARAMFLAGS_SECURE        = 00000001h
LINECALLPARAMFLAGS_IDLE          = 00000002h
LINECALLPARAMFLAGS_BLOCKID       = 00000004h
LINECALLPARAMFLAGS_ORIGOFFHOOK   = 00000008h
LINECALLPARAMFLAGS_DESTOFFHOOK   = 00000010h
LINECALLPARAMFLAGS_NOHOLDCONFERENCE = 00000020h
LINECALLPARAMFLAGS_PREDICTIVEDIAL = 00000040h
LINECALLPARAMFLAGS_ONESTEPTRANSFER = 00000080h
LINECALLPARTYID_BLOCKED          = 00000001h
LINECALLPARTYID_OUTOFAREA        = 00000002h
LINECALLPARTYID_NAME             = 00000004h
LINECALLPARTYID_ADDRESS          = 00000008h
LINECALLPARTYID_PARTIAL          = 00000010h
LINECALLPARTYID_UNKNOWN          = 00000020h
LINECALLPARTYID_UNAVAIL          = 00000040h
LINECALLPRIVILEGE_NONE           = 00000001h
LINECALLPRIVILEGE_MONITOR        = 00000002h
LINECALLPRIVILEGE_OWNER          = 00000004h
LINECALLREASON_DIRECT            = 00000001h
LINECALLREASON_FWDBUSY           = 00000002h
LINECALLREASON_FWDNOANSWER       = 00000004h
LINECALLREASON_FWDUNCOND         = 00000008h
LINECALLREASON_PICKUP            = 00000010h
LINECALLREASON_UNPARK            = 00000020h
LINECALLREASON_REDIRECT          = 00000040h
LINECALLREASON_CALLCOMPLETION    = 00000080h
LINECALLREASON_TRANSFER          = 00000100h
LINECALLREASON_REMINDER          = 00000200h
LINECALLREASON_UNKNOWN           = 00000400h
LINECALLREASON_UNAVAIL           = 00000800h
LINECALLREASON_INTRUDE           = 00001000h
LINECALLREASON_PARKED            = 00002000h
LINECALLREASON_CAMPEDON          = 00004000h
LINECALLREASON_ROUTEREQUEST      = 00008000h
LINECALLSELECT_LINE              = 00000001h
LINECALLSELECT_ADDRESS           = 00000002h
LINECALLSELECT_CALL              = 00000004h
LINECALLSELECT_DEVICEID          = 00000008h
LINECALLSELECT_CALLID            = 00000010h
LINECALLSTATE_IDLE               = 00000001h
LINECALLSTATE_OFFERING           = 00000002h
LINECALLSTATE_ACCEPTED           = 00000004h
LINECALLSTATE_DIALTONE           = 00000008h
LINECALLSTATE_DIALING            = 00000010h
LINECALLSTATE_RINGBACK           = 00000020h
LINECALLSTATE_BUSY               = 00000040h
LINECALLSTATE_SPECIALINFO        = 00000080h
LINECALLSTATE_CONNECTED          = 00000100h
LINECALLSTATE_PROCEEDING         = 00000200h
LINECALLSTATE_ONHOLD             = 00000400h
LINECALLSTATE_CONFERENCED        = 00000800h
LINECALLSTATE_ONHOLDPENDCONF     = 00001000h
LINECALLSTATE_ONHOLDPENDTRANSFER = 00002000h
LINECALLSTATE_DISCONNECTED       = 00004000h
LINECALLSTATE_UNKNOWN            = 00008000h
LINECALLTREATMENT_SILENCE        = 00000001h
LINECALLTREATMENT_RINGBACK       = 00000002h
LINECALLTREATMENT_BUSY           = 00000003h
LINECALLTREATMENT_MUSIC          = 00000004h
LINECARDOPTION_PREDEFINED        = 00000001h
LINECARDOPTION_HIDDEN            = 00000002h
LINECONNECTEDMODE_ACTIVE         = 00000001h
LINECONNECTEDMODE_INACTIVE       = 00000002h
LINECONNECTEDMODE_ACTIVEHELD     = 00000004h
LINECONNECTEDMODE_INACTIVEHELD   = 00000008h
LINECONNECTEDMODE_CONFIRMED      = 00000010h
LINEDEVCAPFLAGS_CROSSADDRCONF    = 00000001h
LINEDEVCAPFLAGS_HIGHLEVCOMP      = 00000002h
LINEDEVCAPFLAGS_LOWLEVCOMP       = 00000004h
LINEDEVCAPFLAGS_MEDIACONTROL     = 00000008h
LINEDEVCAPFLAGS_MULTIPLEADDR     = 00000010h
LINEDEVCAPFLAGS_CLOSEDROP        = 00000020h
LINEDEVCAPFLAGS_DIALBILLING      = 00000040h
LINEDEVCAPFLAGS_DIALQUIET        = 00000080h
LINEDEVCAPFLAGS_DIALDIALTONE     = 00000100h
LINEDEVCAPFLAGS_MSP              = 00000200h
LINEDEVCAPFLAGS_CALLHUB          = 00000400h
LINEDEVCAPFLAGS_CALLHUBTRACKING  = 00000800h
LINEDEVCAPFLAGS_PRIVATEOBJECTS   = 00001000h
LINEDEVCAPFLAGS_LOCAL            = 00002000h
LINEDEVSTATE_OTHER               = 00000001h
LINEDEVSTATE_RINGING             = 00000002h
LINEDEVSTATE_CONNECTED           = 00000004h
LINEDEVSTATE_DISCONNECTED        = 00000008h
LINEDEVSTATE_MSGWAITON           = 00000010h
LINEDEVSTATE_MSGWAITOFF          = 00000020h
LINEDEVSTATE_INSERVICE           = 00000040h
LINEDEVSTATE_OUTOFSERVICE        = 00000080h
LINEDEVSTATE_MAINTENANCE         = 00000100h
LINEDEVSTATE_OPEN                = 00000200h
LINEDEVSTATE_CLOSE               = 00000400h
LINEDEVSTATE_NUMCALLS            = 00000800h
LINEDEVSTATE_NUMCOMPLETIONS      = 00001000h
LINEDEVSTATE_TERMINALS           = 00002000h
LINEDEVSTATE_ROAMMODE            = 00004000h
LINEDEVSTATE_BATTERY             = 00008000h
LINEDEVSTATE_SIGNAL              = 00010000h
LINEDEVSTATE_DEVSPECIFIC         = 00020000h
LINEDEVSTATE_REINIT              = 00040000h
LINEDEVSTATE_LOCK                = 00080000h
LINEDEVSTATE_CAPSCHANGE          = 00100000h
LINEDEVSTATE_CONFIGCHANGE        = 00200000h
LINEDEVSTATE_TRANSLATECHANGE     = 00400000h
LINEDEVSTATE_COMPLCANCEL         = 00800000h
LINEDEVSTATE_REMOVED             = 01000000h
LINEDEVSTATUSFLAGS_CONNECTED     = 00000001h
LINEDEVSTATUSFLAGS_MSGWAIT       = 00000002h
LINEDEVSTATUSFLAGS_INSERVICE     = 00000004h
LINEDEVSTATUSFLAGS_LOCKED        = 00000008h
LINEDIALTONEMODE_NORMAL          = 00000001h
LINEDIALTONEMODE_SPECIAL         = 00000002h
LINEDIALTONEMODE_INTERNAL        = 00000004h
LINEDIALTONEMODE_EXTERNAL        = 00000008h
LINEDIALTONEMODE_UNKNOWN         = 00000010h
LINEDIALTONEMODE_UNAVAIL         = 00000020h
LINEDIGITMODE_PULSE              = 00000001h
LINEDIGITMODE_DTMF               = 00000002h
LINEDIGITMODE_DTMFEND            = 00000004h
LINEDISCONNECTMODE_NORMAL        = 00000001h
LINEDISCONNECTMODE_UNKNOWN       = 00000002h
LINEDISCONNECTMODE_REJECT        = 00000004h
LINEDISCONNECTMODE_PICKUP        = 00000008h
LINEDISCONNECTMODE_FORWARDED     = 00000010h
LINEDISCONNECTMODE_BUSY          = 00000020h
LINEDISCONNECTMODE_NOANSWER      = 00000040h
LINEDISCONNECTMODE_BADADDRESS    = 00000080h
LINEDISCONNECTMODE_UNREACHABLE   = 00000100h
LINEDISCONNECTMODE_CONGESTION    = 00000200h
LINEDISCONNECTMODE_INCOMPATIBLE  = 00000400h
LINEDISCONNECTMODE_UNAVAIL       = 00000800h
LINEDISCONNECTMODE_NODIALTONE    = 00001000h
LINEDISCONNECTMODE_NUMBERCHANGED = 00002000h
LINEDISCONNECTMODE_OUTOFORDER    = 00004000h
LINEDISCONNECTMODE_TEMPFAILURE   = 00008000h
LINEDISCONNECTMODE_QOSUNAVAIL    = 00010000h
LINEDISCONNECTMODE_BLOCKED       = 00020000h
LINEDISCONNECTMODE_DONOTDISTURB  = 00040000h
LINEDISCONNECTMODE_CANCELLED     = 00080000h
LINEERR_ALLOCATED                = 80000001h
LINEERR_BADDEVICEID              = 80000002h
LINEERR_BEARERMODEUNAVAIL        = 80000003h
LINEERR_CALLUNAVAIL              = 80000005h
LINEERR_COMPLETIONOVERRUN        = 80000006h
LINEERR_CONFERENCEFULL           = 80000007h
LINEERR_DIALBILLING              = 80000008h
LINEERR_DIALDIALTONE             = 80000009h
LINEERR_DIALPROMPT               = 8000000Ah
LINEERR_DIALQUIET                = 8000000Bh
LINEERR_INCOMPATIBLEAPIVERSION   = 8000000Ch
LINEERR_INCOMPATIBLEEXTVERSION   = 8000000Dh
LINEERR_INIFILECORRUPT           = 8000000Eh
LINEERR_INUSE                    = 8000000Fh
LINEERR_INVALADDRESS             = 80000010h
LINEERR_INVALADDRESSID           = 80000011h
LINEERR_INVALADDRESSMODE         = 80000012h
LINEERR_INVALADDRESSSTATE        = 80000013h
LINEERR_INVALAPPHANDLE           = 80000014h
LINEERR_INVALAPPNAME             = 80000015h
LINEERR_INVALBEARERMODE          = 80000016h
LINEERR_INVALCALLCOMPLMODE       = 80000017h
LINEERR_INVALCALLHANDLE          = 80000018h
LINEERR_INVALCALLPARAMS          = 80000019h
LINEERR_INVALCALLPRIVILEGE       = 8000001Ah
LINEERR_INVALCALLSELECT          = 8000001Bh
LINEERR_INVALCALLSTATE           = 8000001Ch
LINEERR_INVALCALLSTATELIST       = 8000001Dh
LINEERR_INVALCARD                = 8000001Eh
LINEERR_INVALCOMPLETIONID        = 8000001Fh
LINEERR_INVALCONFCALLHANDLE      = 80000020h
LINEERR_INVALCONSULTCALLHANDLE   = 80000021h
LINEERR_INVALCOUNTRYCODE         = 80000022h
LINEERR_INVALDEVICECLASS         = 80000023h
LINEERR_INVALDEVICEHANDLE        = 80000024h
LINEERR_INVALDIALPARAMS          = 80000025h
LINEERR_INVALDIGITLIST           = 80000026h
LINEERR_INVALDIGITMODE           = 80000027h
LINEERR_INVALDIGITS              = 80000028h
LINEERR_INVALEXTVERSION          = 80000029h
LINEERR_INVALGROUPID             = 8000002Ah
LINEERR_INVALLINEHANDLE          = 8000002Bh
LINEERR_INVALLINESTATE           = 8000002Ch
LINEERR_INVALLOCATION            = 8000002Dh
LINEERR_INVALMEDIALIST           = 8000002Eh
LINEERR_INVALMEDIAMODE           = 8000002Fh
LINEERR_INVALMESSAGEID           = 80000030h
LINEERR_INVALPARAM               = 80000032h
LINEERR_INVALPARKID              = 80000033h
LINEERR_INVALPARKMODE            = 80000034h
LINEERR_INVALPOINTER             = 80000035h
LINEERR_INVALPRIVSELECT          = 80000036h
LINEERR_INVALRATE                = 80000037h
LINEERR_INVALREQUESTMODE         = 80000038h
LINEERR_INVALTERMINALID          = 80000039h
LINEERR_INVALTERMINALMODE        = 8000003Ah
LINEERR_INVALTIMEOUT             = 8000003Bh
LINEERR_INVALTONE                = 8000003Ch
LINEERR_INVALTONELIST            = 8000003Dh
LINEERR_INVALTONEMODE            = 8000003Eh
LINEERR_INVALTRANSFERMODE        = 8000003Fh
LINEERR_LINEMAPPERFAILED         = 80000040h
LINEERR_NOCONFERENCE             = 80000041h
LINEERR_NODEVICE                 = 80000042h
LINEERR_NODRIVER                 = 80000043h
LINEERR_NOMEM                    = 80000044h
LINEERR_NOREQUEST                = 80000045h
LINEERR_NOTOWNER                 = 80000046h
LINEERR_NOTREGISTERED            = 80000047h
LINEERR_OPERATIONFAILED          = 80000048h
LINEERR_OPERATIONUNAVAIL         = 80000049h
LINEERR_RATEUNAVAIL              = 8000004Ah
LINEERR_RESOURCEUNAVAIL          = 8000004Bh
LINEERR_REQUESTOVERRUN           = 8000004Ch
LINEERR_STRUCTURETOOSMALL        = 8000004Dh
LINEERR_TARGETNOTFOUND           = 8000004Eh
LINEERR_TARGETSELF               = 8000004Fh
LINEERR_UNINITIALIZED            = 80000050h
LINEERR_USERUSERINFOTOOBIG       = 80000051h
LINEERR_REINIT                   = 80000052h
LINEERR_ADDRESSBLOCKED           = 80000053h
LINEERR_BILLINGREJECTED          = 80000054h
LINEERR_INVALFEATURE             = 80000055h
LINEERR_NOMULTIPLEINSTANCE       = 80000056h
LINEERR_INVALAGENTID             = 80000057h
LINEERR_INVALAGENTGROUP          = 80000058h
LINEERR_INVALPASSWORD            = 80000059h
LINEERR_INVALAGENTSTATE          = 8000005Ah
LINEERR_INVALAGENTACTIVITY       = 8000005Bh
LINEERR_DIALVOICEDETECT          = 8000005Ch
LINEERR_USERCANCELLED            = 8000005Dh
LINEERR_INVALADDRESSTYPE         = 8000005Eh
LINEERR_INVALAGENTSESSIONSTATE   = 8000005Fh
LINEERR_DISCONNECTED             = 0x80000060
LINEERR_SERVICE_NOT_RUNNING      = 80000061h
LINEFEATURE_DEVSPECIFIC          = 00000001h
LINEFEATURE_DEVSPECIFICFEAT      = 00000002h
LINEFEATURE_FORWARD              = 00000004h
LINEFEATURE_MAKECALL             = 00000008h
LINEFEATURE_SETMEDIACONTROL      = 00000010h
LINEFEATURE_SETTERMINAL          = 00000020h
LINEFEATURE_SETDEVSTATUS         = 00000040h
LINEFEATURE_FORWARDFWD           = 00000080h
LINEFEATURE_FORWARDDND           = 00000100h
LINEFORWARDMODE_UNCOND           = 00000001h
LINEFORWARDMODE_UNCONDINTERNAL   = 00000002h
LINEFORWARDMODE_UNCONDEXTERNAL   = 00000004h
LINEFORWARDMODE_UNCONDSPECIFIC   = 00000008h
LINEFORWARDMODE_BUSY             = 00000010h
LINEFORWARDMODE_BUSYINTERNAL     = 00000020h
LINEFORWARDMODE_BUSYEXTERNAL     = 00000040h
LINEFORWARDMODE_BUSYSPECIFIC     = 00000080h
LINEFORWARDMODE_NOANSW           = 00000100h
LINEFORWARDMODE_NOANSWINTERNAL   = 00000200h
LINEFORWARDMODE_NOANSWEXTERNAL   = 00000400h
LINEFORWARDMODE_NOANSWSPECIFIC   = 00000800h
LINEFORWARDMODE_BUSYNA           = 00001000h
LINEFORWARDMODE_BUSYNAINTERNAL   = 00002000h
LINEFORWARDMODE_BUSYNAEXTERNAL   = 00004000h
LINEFORWARDMODE_BUSYNASPECIFIC   = 00008000h
LINEFORWARDMODE_UNKNOWN          = 00010000h
LINEFORWARDMODE_UNAVAIL          = 00020000h
LINEGATHERTERM_BUFFERFULL        = 00000001h
LINEGATHERTERM_TERMDIGIT         = 00000002h
LINEGATHERTERM_FIRSTTIMEOUT      = 00000004h
LINEGATHERTERM_INTERTIMEOUT      = 00000008h
LINEGATHERTERM_CANCEL            = 00000010h
LINEGENERATETERM_DONE            = 00000001h
LINEGENERATETERM_CANCEL          = 00000002h
LINEINITIALIZEEXOPTION_USEHIDDENWINDOW = 00000001h
LINEINITIALIZEEXOPTION_USEEVENT  = 00000002h
LINEINITIALIZEEXOPTION_USECOMPLETIONPORT = 00000003h
LINEINITIALIZEEXOPTION_CALLHUBTRACKING = 80000000h
LINELOCATIONOPTION_PULSEDIAL     = 00000001h
LINEMAPPER                       = 0FFFFFFFFh
LINEMEDIACONTROL_NONE            = 00000001h
LINEMEDIACONTROL_START           = 00000002h
LINEMEDIACONTROL_RESET           = 00000004h
LINEMEDIACONTROL_PAUSE           = 00000008h
LINEMEDIACONTROL_RESUME          = 00000010h
LINEMEDIACONTROL_RATEUP          = 00000020h
LINEMEDIACONTROL_RATEDOWN        = 00000040h
LINEMEDIACONTROL_RATENORMAL      = 00000080h
LINEMEDIACONTROL_VOLUMEUP        = 00000100h
LINEMEDIACONTROL_VOLUMEDOWN      = 00000200h
LINEMEDIACONTROL_VOLUMENORMAL    = 00000400h
LINEMEDIAMODE_UNKNOWN            = 00000002h
LINEMEDIAMODE_INTERACTIVEVOICE   = 00000004h
LINEMEDIAMODE_AUTOMATEDVOICE     = 00000008h
LINEMEDIAMODE_DATAMODEM          = 00000010h
LINEMEDIAMODE_G3FAX              = 00000020h
LINEMEDIAMODE_TDD                = 00000040h
LINEMEDIAMODE_G4FAX              = 00000080h
LINEMEDIAMODE_DIGITALDATA        = 00000100h
LINEMEDIAMODE_TELETEX            = 00000200h
LINEMEDIAMODE_VIDEOTEX           = 00000400h
LINEMEDIAMODE_TELEX              = 00000800h
LINEMEDIAMODE_MIXED              = 00001000h
LINEMEDIAMODE_ADSI               = 00002000h
LINEMEDIAMODE_VOICEVIEW          = 00004000h
LINEMEDIAMODE_VIDEO              = 00008000h
LAST_LINEMEDIAMODE               = 00008000h
LINEOFFERINGMODE_ACTIVE          = 00000001h
LINEOFFERINGMODE_INACTIVE        = 00000002h
LINEOPENOPTION_SINGLEADDRESS     = 80000000h
LINEOPENOPTION_PROXY             = 40000000h
LINEPARKMODE_DIRECTED            = 00000001h
LINEPARKMODE_NONDIRECTED         = 00000002h
LINEPROXYREQUEST_SETAGENTGROUP   = 00000001h
LINEPROXYREQUEST_SETAGENTSTATE   = 00000002h
LINEPROXYREQUEST_SETAGENTACTIVITY = 00000003h
LINEPROXYREQUEST_GETAGENTCAPS    = 00000004h
LINEPROXYREQUEST_GETAGENTSTATUS  = 00000005h
LINEPROXYREQUEST_AGENTSPECIFIC   = 00000006h
LINEPROXYREQUEST_GETAGENTACTIVITYLIST = 00000007h
LINEPROXYREQUEST_GETAGENTGROUPLIST = 00000008h
LINEPROXYREQUEST_CREATEAGENT     = 00000009h
LINEPROXYREQUEST_SETAGENTMEASUREMENTPERIOD = 0000000Ah
LINEPROXYREQUEST_GETAGENTINFO    = 0000000Bh
LINEPROXYREQUEST_CREATEAGENTSESSION = 0000000Ch
LINEPROXYREQUEST_GETAGENTSESSIONLIST = 0000000Dh
LINEPROXYREQUEST_SETAGENTSESSIONSTATE = 0000000Eh
LINEPROXYREQUEST_GETAGENTSESSIONINFO = 0000000Fh
LINEPROXYREQUEST_GETQUEUELIST    = 00000010h
LINEPROXYREQUEST_SETQUEUEMEASUREMENTPERIOD = 00000011h
LINEPROXYREQUEST_GETQUEUEINFO    = 00000012h
LINEPROXYREQUEST_GETGROUPLIST    = 00000013h
LINEPROXYREQUEST_SETAGENTSTATEEX = 00000014h
LINEREMOVEFROMCONF_NONE          = 00000001h
LINEREMOVEFROMCONF_LAST          = 00000002h
LINEREMOVEFROMCONF_ANY           = 00000003h
LINEREQUESTMODE_MAKECALL         = 00000001h
LINEREQUESTMODE_MEDIACALL        = 00000002h
LINEREQUESTMODE_DROP             = 00000004h
LINEREQUESTMODE_MEDIACAL         = 00000002h
LAST_LINEREQUESTMODE             = LINEREQUESTMODE_MEDIACAL
LINEROAMMODE_UNKNOWN             = 00000001h
LINEROAMMODE_UNAVAIL             = 00000002h
LINEROAMMODE_HOME                = 00000004h
LINEROAMMODE_ROAMA               = 00000008h
LINEROAMMODE_ROAMB               = 00000010h
LINESPECIALINFO_NOCIRCUIT        = 00000001h
LINESPECIALINFO_CUSTIRREG        = 00000002h
LINESPECIALINFO_REORDER          = 00000004h
LINESPECIALINFO_UNKNOWN          = 00000008h
LINESPECIALINFO_UNAVAIL          = 00000010h
LINETERMDEV_PHONE                = 00000001h
LINETERMDEV_HEADSET              = 00000002h
LINETERMDEV_SPEAKER              = 00000004h
LINETERMMODE_BUTTONS             = 00000001h
LINETERMMODE_LAMPS               = 00000002h
LINETERMMODE_DISPLAY             = 00000004h
LINETERMMODE_RINGER              = 00000008h
LINETERMMODE_HOOKSWITCH          = 00000010h
LINETERMMODE_MEDIATOLINE         = 00000020h
LINETERMMODE_MEDIAFROMLINE       = 00000040h
LINETERMMODE_MEDIABIDIRECT       = 00000080h
LINETERMSHARING_PRIVATE          = 00000001h
LINETERMSHARING_SHAREDEXCL       = 00000002h
LINETERMSHARING_SHAREDCONF       = 00000004h
LINETOLLLISTOPTION_ADD           = 00000001h
LINETOLLLISTOPTION_REMOVE        = 00000002h
LINETONEMODE_CUSTOM              = 00000001h
LINETONEMODE_RINGBACK            = 00000002h
LINETONEMODE_BUSY                = 00000004h
LINETONEMODE_BEEP                = 00000008h
LINETONEMODE_BILLING             = 00000010h
LINETRANSFERMODE_TRANSFER        = 00000001h
LINETRANSFERMODE_CONFERENCE      = 00000002h
LINETRANSLATEOPTION_CARDOVERRIDE = 00000001h
LINETRANSLATEOPTION_CANCELCALLWAITING = 00000002h
LINETRANSLATEOPTION_FORCELOCAL   = 00000004h
LINETRANSLATEOPTION_FORCELD      = 00000008h
LINETRANSLATERESULT_CANONICAL    = 00000001h
LINETRANSLATERESULT_INTERNATIONAL = 00000002h
LINETRANSLATERESULT_LONGDISTANCE = 00000004h
LINETRANSLATERESULT_LOCAL        = 00000008h
LINETRANSLATERESULT_INTOLLLIST   = 00000010h
LINETRANSLATERESULT_NOTINTOLLLIST = 00000020h
LINETRANSLATERESULT_DIALBILLING  = 00000040h
LINETRANSLATERESULT_DIALQUIET    = 00000080h
LINETRANSLATERESULT_DIALDIALTONE = 00000100h
LINETRANSLATERESULT_DIALPROMPT   = 00000200h
LINETRANSLATERESULT_VOICEDETECT  = 00000400h
LINETRANSLATERESULT_NOTRANSLATION = 00000800h
PHONEBUTTONFUNCTION_UNKNOWN      = 00000000h
PHONEBUTTONFUNCTION_CONFERENCE   = 00000001h
PHONEBUTTONFUNCTION_TRANSFER     = 00000002h
PHONEBUTTONFUNCTION_DROP         = 00000003h
PHONEBUTTONFUNCTION_HOLD         = 00000004h
PHONEBUTTONFUNCTION_RECALL       = 00000005h
PHONEBUTTONFUNCTION_DISCONNECT   = 00000006h
PHONEBUTTONFUNCTION_CONNECT      = 00000007h
PHONEBUTTONFUNCTION_MSGWAITON    = 00000008h
PHONEBUTTONFUNCTION_MSGWAITOFF   = 00000009h
PHONEBUTTONFUNCTION_SELECTRING   = 0000000Ah
PHONEBUTTONFUNCTION_ABBREVDIAL   = 0000000Bh
PHONEBUTTONFUNCTION_FORWARD      = 0000000Ch
PHONEBUTTONFUNCTION_PICKUP       = 0000000Dh
PHONEBUTTONFUNCTION_RINGAGAIN    = 0000000Eh
PHONEBUTTONFUNCTION_PARK         = 0000000Fh
PHONEBUTTONFUNCTION_REJECT       = 00000010h
PHONEBUTTONFUNCTION_REDIRECT     = 00000011h
PHONEBUTTONFUNCTION_MUTE         = 00000012h
PHONEBUTTONFUNCTION_VOLUMEUP     = 00000013h
PHONEBUTTONFUNCTION_VOLUMEDOWN   = 00000014h
PHONEBUTTONFUNCTION_SPEAKERON    = 00000015h
PHONEBUTTONFUNCTION_SPEAKEROFF   = 00000016h
PHONEBUTTONFUNCTION_FLASH        = 00000017h
PHONEBUTTONFUNCTION_DATAON       = 00000018h
PHONEBUTTONFUNCTION_DATAOFF      = 00000019h
PHONEBUTTONFUNCTION_DONOTDISTURB = 0000001Ah
PHONEBUTTONFUNCTION_INTERCOM     = 0000001Bh
PHONEBUTTONFUNCTION_BRIDGEDAPP   = 0000001Ch
PHONEBUTTONFUNCTION_BUSY         = 0000001Dh
PHONEBUTTONFUNCTION_CALLAPP      = 0000001Eh
PHONEBUTTONFUNCTION_DATETIME     = 0000001Fh
PHONEBUTTONFUNCTION_DIRECTORY    = 00000020h
PHONEBUTTONFUNCTION_COVER        = 00000021h
PHONEBUTTONFUNCTION_CALLID       = 00000022h
PHONEBUTTONFUNCTION_LASTNUM      = 00000023h
PHONEBUTTONFUNCTION_NIGHTSRV     = 00000024h
PHONEBUTTONFUNCTION_SENDCALLS    = 00000025h
PHONEBUTTONFUNCTION_MSGINDICATOR = 00000026h
PHONEBUTTONFUNCTION_REPDIAL      = 00000027h
PHONEBUTTONFUNCTION_SETREPDIAL   = 00000028h
PHONEBUTTONFUNCTION_SYSTEMSPEED  = 00000029h
PHONEBUTTONFUNCTION_STATIONSPEED = 0000002Ah
PHONEBUTTONFUNCTION_CAMPON       = 0000002Bh
PHONEBUTTONFUNCTION_SAVEREPEAT   = 0000002Ch
PHONEBUTTONFUNCTION_QUEUECALL    = 0000002Dh
PHONEBUTTONFUNCTION_NONE         = 0000002Eh
PHONEBUTTONFUNCTION_SEND         = 0000002Fh
PHONEBUTTONMODE_DUMMY            = 00000001h
PHONEBUTTONMODE_CALL             = 00000002h
PHONEBUTTONMODE_FEATURE          = 00000004h
PHONEBUTTONMODE_KEYPAD           = 00000008h
PHONEBUTTONMODE_LOCAL            = 00000010h
PHONEBUTTONMODE_DISPLAY          = 00000020h
PHONEBUTTONSTATE_UP              = 00000001h
PHONEBUTTONSTATE_DOWN            = 00000002h
PHONEBUTTONSTATE_UNKNOWN         = 00000004h
PHONEBUTTONSTATE_UNAVAIL         = 00000008h
PHONEERR_ALLOCATED               = 90000001h
PHONEERR_BADDEVICEID             = 90000002h
PHONEERR_INCOMPATIBLEAPIVERSION  = 90000003h
PHONEERR_INCOMPATIBLEEXTVERSION  = 90000004h
PHONEERR_INIFILECORRUPT          = 90000005h
PHONEERR_INUSE                   = 90000006h
PHONEERR_INVALAPPHANDLE          = 90000007h
PHONEERR_INVALAPPNAME            = 90000008h
PHONEERR_INVALBUTTONLAMPID       = 90000009h
PHONEERR_INVALBUTTONMODE         = 9000000Ah
PHONEERR_INVALBUTTONSTATE        = 9000000Bh
PHONEERR_INVALDATAID             = 9000000Ch
PHONEERR_INVALDEVICECLASS        = 9000000Dh
PHONEERR_INVALEXTVERSION         = 9000000Eh
PHONEERR_INVALHOOKSWITCHDEV      = 9000000Fh
PHONEERR_INVALHOOKSWITCHMODE     = 90000010h
PHONEERR_INVALLAMPMODE           = 90000011h
PHONEERR_INVALPARAM              = 90000012h
PHONEERR_INVALPHONEHANDLE        = 90000013h
PHONEERR_INVALPHONESTATE         = 90000014h
PHONEERR_INVALPOINTER            = 90000015h
PHONEERR_INVALPRIVILEGE          = 90000016h
PHONEERR_INVALRINGMODE           = 90000017h
PHONEERR_NODEVICE                = 90000018h
PHONEERR_NODRIVER                = 90000019h
PHONEERR_NOMEM                   = 9000001Ah
PHONEERR_NOTOWNER                = 9000001Bh
PHONEERR_OPERATIONFAILED         = 9000001Ch
PHONEERR_OPERATIONUNAVAIL        = 9000001Dh
PHONEERR_RESOURCEUNAVAIL         = 9000001Fh
PHONEERR_REQUESTOVERRUN          = 90000020h
PHONEERR_STRUCTURETOOSMALL       = 90000021h
PHONEERR_UNINITIALIZED           = 90000022h
PHONEERR_REINIT                  = 90000023h
PHONEERR_DISCONNECTED            = 90000024h
PHONEERR_SERVICE_NOT_RUNNING     = 90000025h
PHONEFEATURE_GETBUTTONINFO       = 00000001h
PHONEFEATURE_GETDATA             = 00000002h
PHONEFEATURE_GETDISPLAY          = 00000004h
PHONEFEATURE_GETGAINHANDSET      = 00000008h
PHONEFEATURE_GETGAINSPEAKER      = 00000010h
PHONEFEATURE_GETGAINHEADSET      = 00000020h
PHONEFEATURE_GETHOOKSWITCHHANDSET = 00000040h
PHONEFEATURE_GETHOOKSWITCHSPEAKER = 00000080h
PHONEFEATURE_GETHOOKSWITCHHEADSET = 00000100h
PHONEFEATURE_GETLAMP             = 00000200h
PHONEFEATURE_GETRING             = 00000400h
PHONEFEATURE_GETVOLUMEHANDSET    = 00000800h
PHONEFEATURE_GETVOLUMESPEAKER    = 00001000h
PHONEFEATURE_GETVOLUMEHEADSET    = 00002000h
PHONEFEATURE_SETBUTTONINFO       = 00004000h
PHONEFEATURE_SETDATA             = 00008000h
PHONEFEATURE_SETDISPLAY          = 00010000h
PHONEFEATURE_SETGAINHANDSET      = 00020000h
PHONEFEATURE_SETGAINSPEAKER      = 00040000h
PHONEFEATURE_SETGAINHEADSET      = 00080000h
PHONEFEATURE_SETHOOKSWITCHHANDSET = 00100000h
PHONEFEATURE_SETHOOKSWITCHSPEAKER = 00200000h
PHONEFEATURE_SETHOOKSWITCHHEADSET = 00400000h
PHONEFEATURE_SETLAMP             = 00800000h
PHONEFEATURE_SETRING             = 01000000h
PHONEFEATURE_SETVOLUMEHANDSET    = 02000000h
PHONEFEATURE_SETVOLUMESPEAKER    = 04000000h
PHONEFEATURE_SETVOLUMEHEADSET    = 08000000h
PHONEFEATURE_GENERICPHONE        = 10000000h
PHONEHOOKSWITCHDEV_HANDSET       = 00000001h
PHONEHOOKSWITCHDEV_SPEAKER       = 00000002h
PHONEHOOKSWITCHDEV_HEADSET       = 00000004h
PHONEHOOKSWITCHMODE_ONHOOK       = 00000001h
PHONEHOOKSWITCHMODE_MIC          = 00000002h
PHONEHOOKSWITCHMODE_SPEAKER      = 00000004h
PHONEHOOKSWITCHMODE_MICSPEAKER   = 00000008h
PHONEHOOKSWITCHMODE_UNKNOWN      = 00000010h
PHONEINITIALIZEEXOPTION_USEHIDDENWINDOW = 00000001h
PHONEINITIALIZEEXOPTION_USEEVENT = 00000002h
PHONEINITIALIZEEXOPTION_USECOMPLETIONPORT = 00000003h
PHONELAMPMODE_DUMMY              = 00000001h
PHONELAMPMODE_OFF                = 00000002h
PHONELAMPMODE_STEADY             = 00000004h
PHONELAMPMODE_WINK               = 00000008h
PHONELAMPMODE_FLASH              = 00000010h
PHONELAMPMODE_FLUTTER            = 00000020h
PHONELAMPMODE_BROKENFLUTTER      = 00000040h
PHONELAMPMODE_UNKNOWN            = 00000080h
PHONEPRIVILEGE_MONITOR           = 00000001h
PHONEPRIVILEGE_OWNER             = 00000002h
PHONESTATE_OTHER                 = 00000001h
PHONESTATE_CONNECTED             = 00000002h
PHONESTATE_DISCONNECTED          = 00000004h
PHONESTATE_OWNER                 = 00000008h
PHONESTATE_MONITORS              = 00000010h
PHONESTATE_DISPLAY               = 00000020h
PHONESTATE_LAMP                  = 00000040h
PHONESTATE_RINGMODE              = 00000080h
PHONESTATE_RINGVOLUME            = 00000100h
PHONESTATE_HANDSETHOOKSWITCH     = 00000200h
PHONESTATE_HANDSETVOLUME         = 00000400h
PHONESTATE_HANDSETGAIN           = 00000800h
PHONESTATE_SPEAKERHOOKSWITCH     = 00001000h
PHONESTATE_SPEAKERVOLUME         = 00002000h
PHONESTATE_SPEAKERGAIN           = 00004000h
PHONESTATE_HEADSETHOOKSWITCH     = 00008000h
PHONESTATE_HEADSETVOLUME         = 00010000h
PHONESTATE_HEADSETGAIN           = 00020000h
PHONESTATE_SUSPEND               = 00040000h
PHONESTATE_RESUME                = 00080000h
PHONESTATE_DEVSPECIFIC           = 00100000h
PHONESTATE_REINIT                = 00200000h
PHONESTATE_CAPSCHANGE            = 00400000h
PHONESTATE_REMOVED               = 00800000h
PHONESTATUSFLAGS_CONNECTED       = 00000001h
PHONESTATUSFLAGS_SUSPENDED       = 00000002h
STRINGFORMAT_ASCII               = 00000001h
STRINGFORMAT_DBCS                = 00000002h
STRINGFORMAT_UNICODE             = 00000003h
STRINGFORMAT_BINARY              = 00000004h
TAPI_REPLY                       = WM_USER + 99
TAPIERR_CONNECTED                = 0
TAPIERR_DROPPED                  = -1
TAPIERR_NOREQUESTRECIPIENT       = -2
TAPIERR_REQUESTQUEUEFULL         = -3
TAPIERR_INVALDESTADDRESS         = -4
TAPIERR_INVALWINDOWHANDLE        = -5
TAPIERR_INVALDEVICECLASS         = -6
TAPIERR_INVALDEVICEID            = -7
TAPIERR_DEVICECLASSUNAVAIL       = -8
TAPIERR_DEVICEIDUNAVAIL          = -9
TAPIERR_DEVICEINUSE              = -10
TAPIERR_DESTBUSY                 = -11
TAPIERR_DESTNOANSWER             = -12
TAPIERR_DESTUNAVAIL              = -13
TAPIERR_UNKNOWNWINHANDLE         = -14
TAPIERR_UNKNOWNREQUESTID         = -15
TAPIERR_REQUESTFAILED            = -16
TAPIERR_REQUESTCANCELLED         = -17
TAPIERR_INVALPOINTER             = -18
TAPIERR_NOTADMIN                 = -19
TAPIERR_MMCWRITELOCKED           = -20
TAPIERR_PROVIDERALREADYINSTALLED = -21
TAPIMAXDESTADDRESSSIZE           = 80
TAPIMAXAPPNAMESIZE               = 40
TAPIMAXCALLEDPARTYSIZE           = 40
TAPIMAXCOMMENTSIZE               = 80
TAPIMAXDEVICECLASSSIZE           = 40
TAPIMAXDEVICEIDSIZE              = 40

;;;; end tapi

;;;; ntstatus

STATUS_SUCCESS                   = 00000000h
FACILITY_USB_ERROR_CODE          = 10h
FACILITY_TERMINAL_SERVER         = 0Ah
FACILITY_SXS_ERROR_CODE          = 15h
FACILITY_RPC_STUBS               = 3h
FACILITY_RPC_RUNTIME             = 2h
FACILITY_IO_ERROR_CODE           = 4h
FACILITY_HID_ERROR_CODE          = 11h
FACILITY_FIREWIRE_ERROR_CODE     = 12h
FACILITY_DEBUGGER                = 1h
FACILITY_CLUSTER_ERROR_CODE      = 13h
FACILITY_ACPI_ERROR_CODE         = 14h
STATUS_SEVERITY_WARNING          = 2h
STATUS_SEVERITY_SUCCESS          = 0h
STATUS_SEVERITY_INFORMATIONAL    = 1h
STATUS_SEVERITY_ERROR            = 3h
STATUS_WAIT_1                    = 00000001h
STATUS_WAIT_2                    = 00000002h
STATUS_WAIT_3                    = 00000003h
STATUS_WAIT_63                   = 0000003Fh
STATUS_ABANDONED                 = 00000080h
STATUS_ABANDONED_WAIT_63         = 000000BFh
STATUS_KERNEL_APC                = 00000100h
STATUS_ALERTED                   = 00000101h
STATUS_REPARSE                   = 00000104h
STATUS_MORE_ENTRIES              = 00000105h
STATUS_NOT_ALL_ASSIGNED          = 00000106h
STATUS_SOME_NOT_MAPPED           = 00000107h
STATUS_OPLOCK_BREAK_IN_PROGRESS  = 00000108h
STATUS_VOLUME_MOUNTED            = 00000109h
STATUS_RXACT_COMMITTED           = 0000010Ah
STATUS_NOTIFY_CLEANUP            = 0000010Bh
STATUS_NOTIFY_ENUM_DIR           = 0000010Ch
STATUS_NO_QUOTAS_FOR_ACCOUNT     = 0000010Dh
STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED = 0000010Eh
STATUS_PAGE_FAULT_TRANSITION     = 00000110h
STATUS_PAGE_FAULT_DEMAND_ZERO    = 00000111h
STATUS_PAGE_FAULT_COPY_ON_WRITE  = 00000112h
STATUS_PAGE_FAULT_GUARD_PAGE     = 00000113h
STATUS_PAGE_FAULT_PAGING_FILE    = 00000114h
STATUS_CACHE_PAGE_LOCKED         = 00000115h
STATUS_CRASH_DUMP                = 00000116h
STATUS_BUFFER_ALL_ZEROS          = 00000117h
STATUS_REPARSE_OBJECT            = 00000118h
STATUS_RESOURCE_REQUIREMENTS_CHANGED = 00000119h
STATUS_TRANSLATION_COMPLETE      = 00000120h
STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY = 00000121h
STATUS_NOTHING_TO_TERMINATE      = 00000122h
STATUS_PROCESS_NOT_IN_JOB        = 00000123h
STATUS_PROCESS_IN_JOB            = 00000124h
STATUS_VOLSNAP_HIBERNATE_READY   = 00000125h
STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY = 00000126h
STATUS_OBJECT_NAME_EXISTS        = 40000000h
STATUS_THREAD_WAS_SUSPENDED      = 40000001h
STATUS_WORKING_SET_LIMIT_RANGE   = 40000002h
STATUS_IMAGE_NOT_AT_BASE         = 40000003h
STATUS_RXACT_STATE_CREATED       = 40000004h
STATUS_LOCAL_USER_SESSION_KEY    = 40000006h
STATUS_BAD_CURRENT_DIRECTORY     = 40000007h
STATUS_SERIAL_MORE_WRITES        = 40000008h
STATUS_REGISTRY_RECOVERED        = 40000009h
STATUS_FT_READ_RECOVERY_FROM_BACKUP = 4000000Ah
STATUS_FT_WRITE_RECOVERY         = 4000000Bh
STATUS_SERIAL_COUNTER_TIMEOUT    = 4000000Ch
STATUS_NULL_LM_PASSWORD          = 4000000Dh
STATUS_IMAGE_MACHINE_TYPE_MISMATCH = 4000000Eh
STATUS_RECEIVE_PARTIAL           = 4000000Fh
STATUS_RECEIVE_EXPEDITED         = 40000010h
STATUS_RECEIVE_PARTIAL_EXPEDITED = 40000011h
STATUS_EVENT_DONE                = 40000012h
STATUS_EVENT_PENDING             = 40000013h
STATUS_CHECKING_FILE_SYSTEM      = 40000014h
STATUS_FATAL_APP_EXIT            = 40000015h
STATUS_PREDEFINED_HANDLE         = 40000016h
STATUS_WAS_UNLOCKED              = 40000017h
STATUS_SERVICE_NOTIFICATION      = 40000018h
STATUS_WAS_LOCKED                = 40000019h
STATUS_LOG_HARD_ERROR            = 4000001Ah
STATUS_ALREADY_WIN32             = 4000001Bh
STATUS_WX86_UNSIMULATE           = 4000001Ch
STATUS_WX86_CONTINUE             = 4000001Dh
STATUS_WX86_SINGLE_STEP          = 4000001Eh
STATUS_WX86_BREAKPOINT           = 4000001Fh
STATUS_WX86_EXCEPTION_CONTINUE   = 40000020h
STATUS_WX86_EXCEPTION_LASTCHANCE = 40000021h
STATUS_WX86_EXCEPTION_CHAIN      = 40000022h
STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE = 40000023h
STATUS_NO_YIELD_PERFORMED        = 40000024h
STATUS_TIMER_RESUME_IGNORED      = 40000025h
STATUS_ARBITRATION_UNHANDLED     = 40000026h
STATUS_CARDBUS_NOT_SUPPORTED     = 40000027h
STATUS_WX86_CREATEWX86TIB        = 40000028h
STATUS_MP_PROCESSOR_MISMATCH     = 40000029h
STATUS_HIBERNATED                = 4000002Ah
STATUS_RESUME_HIBERNATION        = 4000002Bh
STATUS_FIRMWARE_UPDATED          = 4000002Ch
STATUS_DRIVERS_LEAKING_LOCKED_PAGES = 4000002Dh
DBG_REPLY_LATER                  = 40010001h
DBG_UNABLE_TO_PROVIDE_HANDLE     = 40010002h
DBG_PRINTEXCEPTION_C             = 40010006h
DBG_RIPEXCEPTION                 = 40010007h
STATUS_BUFFER_OVERFLOW           = 80000005h
STATUS_NO_MORE_FILES             = 80000006h
STATUS_WAKE_SYSTEM_DEBUGGER      = 80000007h
STATUS_HANDLES_CLOSED            = 8000000Ah
STATUS_NO_INHERITANCE            = 8000000Bh
STATUS_GUID_SUBSTITUTION_MADE    = 8000000Ch
STATUS_PARTIAL_COPY              = 8000000Dh
STATUS_DEVICE_PAPER_EMPTY        = 8000000Eh
STATUS_DEVICE_POWERED_OFF        = 8000000Fh
STATUS_DEVICE_OFF_LINE           = 80000010h
STATUS_DEVICE_BUSY               = 80000011h
STATUS_NO_MORE_EAS               = 80000012h
STATUS_INVALID_EA_NAME           = 80000013h
STATUS_EA_LIST_INCONSISTENT      = 80000014h
STATUS_INVALID_EA_FLAG           = 80000015h
STATUS_VERIFY_REQUIRED           = 80000016h
STATUS_EXTRANEOUS_INFORMATION    = 80000017h
STATUS_RXACT_COMMIT_NECESSARY    = 80000018h
STATUS_NO_MORE_ENTRIES           = 8000001Ah
STATUS_FILEMARK_DETECTED         = 8000001Bh
STATUS_MEDIA_CHANGED             = 8000001Ch
STATUS_BUS_RESET                 = 8000001Dh
STATUS_END_OF_MEDIA              = 8000001Eh
STATUS_BEGINNING_OF_MEDIA        = 8000001Fh
STATUS_MEDIA_CHECK               = 80000020h
STATUS_SETMARK_DETECTED          = 80000021h
STATUS_NO_DATA_DETECTED          = 80000022h
STATUS_REDIRECTOR_HAS_OPEN_HANDLES = 80000023h
STATUS_SERVER_HAS_OPEN_HANDLES   = 80000024h
STATUS_ALREADY_DISCONNECTED      = 80000025h
STATUS_LONGJUMP                  = 80000026h
STATUS_CLEANER_CARTRIDGE_INSTALLED = 80000027h
STATUS_PLUGPLAY_QUERY_VETOED     = 80000028h
STATUS_UNWIND_CONSOLIDATE        = 80000029h
STATUS_REGISTRY_HIVE_RECOVERED   = 8000002Ah
STATUS_DLL_MIGHT_BE_INSECURE     = 8000002Bh
STATUS_DLL_MIGHT_BE_INCOMPATIBLE = 8000002Ch
STATUS_CLUSTER_NODE_ALREADY_UP   = 80130001h
STATUS_CLUSTER_NODE_ALREADY_DOWN = 80130002h
STATUS_CLUSTER_NETWORK_ALREADY_ONLINE = 80130003h
STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE = 80130004h
STATUS_CLUSTER_NODE_ALREADY_MEMBER = 80130005h
STATUS_UNSUCCESSFUL              = 0C0000001h
STATUS_NOT_IMPLEMENTED           = 0C0000002h
STATUS_INVALID_INFO_CLASS        = 0C0000003h
STATUS_INFO_LENGTH_MISMATCH      = 0C0000004h
STATUS_PAGEFILE_QUOTA            = 0C0000007h
STATUS_BAD_INITIAL_STACK         = 0C0000009h
STATUS_BAD_INITIAL_PC            = 0C000000Ah
STATUS_INVALID_CID               = 0C000000Bh
STATUS_TIMER_NOT_CANCELED        = 0C000000Ch
STATUS_INVALID_PARAMETER         = 0C000000Dh
STATUS_NO_SUCH_DEVICE            = 0C000000Eh
STATUS_NO_SUCH_FILE              = 0C000000Fh
STATUS_INVALID_DEVICE_REQUEST    = 0C0000010h
STATUS_END_OF_FILE               = 0C0000011h
STATUS_WRONG_VOLUME              = 0C0000012h
STATUS_NO_MEDIA_IN_DEVICE        = 0C0000013h
STATUS_UNRECOGNIZED_MEDIA        = 0C0000014h
STATUS_NONEXISTENT_SECTOR        = 0C0000015h
STATUS_MORE_PROCESSING_REQUIRED  = 0C0000016h
STATUS_CONFLICTING_ADDRESSES     = 0C0000018h
STATUS_NOT_MAPPED_VIEW           = 0C0000019h
STATUS_UNABLE_TO_FREE_VM         = 0C000001Ah
STATUS_UNABLE_TO_DELETE_SECTION  = 0C000001Bh
STATUS_INVALID_SYSTEM_SERVICE    = 0C000001Ch
STATUS_INVALID_LOCK_SEQUENCE     = 0C000001Eh
STATUS_INVALID_VIEW_SIZE         = 0C000001Fh
STATUS_INVALID_FILE_FOR_SECTION  = 0C0000020h
STATUS_ALREADY_COMMITTED         = 0C0000021h
STATUS_ACCESS_DENIED             = 0C0000022h
STATUS_BUFFER_TOO_SMALL          = 0C0000023h
STATUS_OBJECT_TYPE_MISMATCH      = 0C0000024h
STATUS_UNWIND                    = 0C0000027h
STATUS_BAD_STACK                 = 0C0000028h
STATUS_INVALID_UNWIND_TARGET     = 0C0000029h
STATUS_NOT_LOCKED                = 0C000002Ah
STATUS_PARITY_ERROR              = 0C000002Bh
STATUS_UNABLE_TO_DECOMMIT_VM     = 0C000002Ch
STATUS_NOT_COMMITTED             = 0C000002Dh
STATUS_INVALID_PORT_ATTRIBUTES   = 0C000002Eh
STATUS_PORT_MESSAGE_TOO_LONG     = 0C000002Fh
STATUS_INVALID_PARAMETER_MIX     = 0C0000030h
STATUS_INVALID_QUOTA_LOWER       = 0C0000031h
STATUS_DISK_CORRUPT_ERROR        = 0C0000032h
STATUS_OBJECT_NAME_INVALID       = 0C0000033h
STATUS_OBJECT_NAME_NOT_FOUND     = 0C0000034h
STATUS_OBJECT_NAME_COLLISION     = 0C0000035h
STATUS_PORT_DISCONNECTED         = 0C0000037h
STATUS_DEVICE_ALREADY_ATTACHED   = 0C0000038h
STATUS_OBJECT_PATH_INVALID       = 0C0000039h
STATUS_OBJECT_PATH_NOT_FOUND     = 0C000003Ah
STATUS_OBJECT_PATH_SYNTAX_BAD    = 0C000003Bh
STATUS_DATA_OVERRUN              = 0C000003Ch
STATUS_DATA_LATE_ERROR           = 0C000003Dh
STATUS_DATA_ERROR                = 0C000003Eh
STATUS_CRC_ERROR                 = 0C000003Fh
STATUS_SECTION_TOO_BIG           = 0C0000040h
STATUS_PORT_CONNECTION_REFUSED   = 0C0000041h
STATUS_INVALID_PORT_HANDLE       = 0C0000042h
STATUS_SHARING_VIOLATION         = 0C0000043h
STATUS_QUOTA_EXCEEDED            = 0C0000044h
STATUS_INVALID_PAGE_PROTECTION   = 0C0000045h
STATUS_MUTANT_NOT_OWNED          = 0C0000046h
STATUS_SEMAPHORE_LIMIT_EXCEEDED  = 0C0000047h
STATUS_PORT_ALREADY_SET          = 0C0000048h
STATUS_SECTION_NOT_IMAGE         = 0C0000049h
STATUS_SUSPEND_COUNT_EXCEEDED    = 0C000004Ah
STATUS_THREAD_IS_TERMINATING     = 0C000004Bh
STATUS_BAD_WORKING_SET_LIMIT     = 0C000004Ch
STATUS_INCOMPATIBLE_FILE_MAP     = 0C000004Dh
STATUS_SECTION_PROTECTION        = 0C000004Eh
STATUS_EAS_NOT_SUPPORTED         = 0C000004Fh
STATUS_EA_TOO_LARGE              = 0C0000050h
STATUS_NONEXISTENT_EA_ENTRY      = 0C0000051h
STATUS_NO_EAS_ON_FILE            = 0C0000052h
STATUS_EA_CORRUPT_ERROR          = 0C0000053h
STATUS_FILE_LOCK_CONFLICT        = 0C0000054h
STATUS_LOCK_NOT_GRANTED          = 0C0000055h
STATUS_DELETE_PENDING            = 0C0000056h
STATUS_CTL_FILE_NOT_SUPPORTED    = 0C0000057h
STATUS_UNKNOWN_REVISION          = 0C0000058h
STATUS_REVISION_MISMATCH         = 0C0000059h
STATUS_INVALID_OWNER             = 0C000005Ah
STATUS_INVALID_PRIMARY_GROUP     = 0C000005Bh
STATUS_NO_IMPERSONATION_TOKEN    = 0C000005Ch
STATUS_CANT_DISABLE_MANDATORY    = 0C000005Dh
STATUS_NO_LOGON_SERVERS          = 0C000005Eh
STATUS_NO_SUCH_LOGON_SESSION     = 0C000005Fh
STATUS_NO_SUCH_PRIVILEGE         = 0C0000060h
STATUS_PRIVILEGE_NOT_HELD        = 0C0000061h
STATUS_INVALID_ACCOUNT_NAME      = 0C0000062h
STATUS_USER_EXISTS               = 0C0000063h
STATUS_NO_SUCH_USER              = 0C0000064h
STATUS_GROUP_EXISTS              = 0C0000065h
STATUS_NO_SUCH_GROUP             = 0C0000066h
STATUS_MEMBER_IN_GROUP           = 0C0000067h
STATUS_MEMBER_NOT_IN_GROUP       = 0C0000068h
STATUS_LAST_ADMIN                = 0C0000069h
STATUS_WRONG_PASSWORD            = 0C000006Ah
STATUS_ILL_FORMED_PASSWORD       = 0C000006Bh
STATUS_PASSWORD_RESTRICTION      = 0C000006Ch
STATUS_LOGON_FAILURE             = 0C000006Dh
STATUS_ACCOUNT_RESTRICTION       = 0C000006Eh
STATUS_INVALID_LOGON_HOURS       = 0C000006Fh
STATUS_INVALID_WORKSTATION       = 0C0000070h
STATUS_PASSWORD_EXPIRED          = 0C0000071h
STATUS_ACCOUNT_DISABLED          = 0C0000072h
STATUS_NONE_MAPPED               = 0C0000073h
STATUS_TOO_MANY_LUIDS_REQUESTED  = 0C0000074h
STATUS_LUIDS_EXHAUSTED           = 0C0000075h
STATUS_INVALID_SUB_AUTHORITY     = 0C0000076h
STATUS_INVALID_ACL               = 0C0000077h
STATUS_INVALID_SID               = 0C0000078h
STATUS_INVALID_SECURITY_DESCR    = 0C0000079h
STATUS_PROCEDURE_NOT_FOUND       = 0C000007Ah
STATUS_INVALID_IMAGE_FORMAT      = 0C000007Bh
STATUS_NO_TOKEN                  = 0C000007Ch
STATUS_BAD_INHERITANCE_ACL       = 0C000007Dh
STATUS_RANGE_NOT_LOCKED          = 0C000007Eh
STATUS_DISK_FULL                 = 0C000007Fh
STATUS_SERVER_DISABLED           = 0C0000080h
STATUS_SERVER_NOT_DISABLED       = 0C0000081h
STATUS_TOO_MANY_GUIDS_REQUESTED  = 0C0000082h
STATUS_GUIDS_EXHAUSTED           = 0C0000083h
STATUS_INVALID_ID_AUTHORITY      = 0C0000084h
STATUS_AGENTS_EXHAUSTED          = 0C0000085h
STATUS_INVALID_VOLUME_LABEL      = 0C0000086h
STATUS_SECTION_NOT_EXTENDED      = 0C0000087h
STATUS_NOT_MAPPED_DATA           = 0C0000088h
STATUS_RESOURCE_DATA_NOT_FOUND   = 0C0000089h
STATUS_RESOURCE_TYPE_NOT_FOUND   = 0C000008Ah
STATUS_RESOURCE_NAME_NOT_FOUND   = 0C000008Bh
STATUS_TOO_MANY_PAGING_FILES     = 0C0000097h
STATUS_FILE_INVALID              = 0C0000098h
STATUS_ALLOTTED_SPACE_EXCEEDED   = 0C0000099h
STATUS_INSUFFICIENT_RESOURCES    = 0C000009Ah
STATUS_DFS_EXIT_PATH_FOUND       = 0C000009Bh
STATUS_DEVICE_DATA_ERROR         = 0C000009Ch
STATUS_DEVICE_NOT_CONNECTED      = 0C000009Dh
STATUS_DEVICE_POWER_FAILURE      = 0C000009Eh
STATUS_FREE_VM_NOT_AT_BASE       = 0C000009Fh
STATUS_MEMORY_NOT_ALLOCATED      = 0C00000A0h
STATUS_WORKING_SET_QUOTA         = 0C00000A1h
STATUS_MEDIA_WRITE_PROTECTED     = 0C00000A2h
STATUS_DEVICE_NOT_READY          = 0C00000A3h
STATUS_INVALID_GROUP_ATTRIBUTES  = 0C00000A4h
STATUS_BAD_IMPERSONATION_LEVEL   = 0C00000A5h
STATUS_CANT_OPEN_ANONYMOUS       = 0C00000A6h
STATUS_BAD_VALIDATION_CLASS      = 0C00000A7h
STATUS_BAD_TOKEN_TYPE            = 0C00000A8h
STATUS_BAD_MASTER_BOOT_RECORD    = 0C00000A9h
STATUS_INSTRUCTION_MISALIGNMENT  = 0C00000AAh
STATUS_INSTANCE_NOT_AVAILABLE    = 0C00000ABh
STATUS_PIPE_NOT_AVAILABLE        = 0C00000ACh
STATUS_INVALID_PIPE_STATE        = 0C00000ADh
STATUS_PIPE_BUSY                 = 0C00000AEh
STATUS_ILLEGAL_FUNCTION          = 0C00000AFh
STATUS_PIPE_DISCONNECTED         = 0C00000B0h
STATUS_PIPE_CLOSING              = 0C00000B1h
STATUS_PIPE_CONNECTED            = 0C00000B2h
STATUS_PIPE_LISTENING            = 0C00000B3h
STATUS_INVALID_READ_MODE         = 0C00000B4h
STATUS_IO_TIMEOUT                = 0C00000B5h
STATUS_FILE_FORCED_CLOSED        = 0C00000B6h
STATUS_PROFILING_NOT_STARTED     = 0C00000B7h
STATUS_PROFILING_NOT_STOPPED     = 0C00000B8h
STATUS_COULD_NOT_INTERPRET       = 0C00000B9h
STATUS_FILE_IS_A_DIRECTORY       = 0C00000BAh
STATUS_NOT_SUPPORTED             = 0C00000BBh
STATUS_REMOTE_NOT_LISTENING      = 0C00000BCh
STATUS_DUPLICATE_NAME            = 0C00000BDh
STATUS_BAD_NETWORK_PATH          = 0C00000BEh
STATUS_NETWORK_BUSY              = 0C00000BFh
STATUS_DEVICE_DOES_NOT_EXIST     = 0C00000C0h
STATUS_TOO_MANY_COMMANDS         = 0C00000C1h
STATUS_ADAPTER_HARDWARE_ERROR    = 0C00000C2h
STATUS_INVALID_NETWORK_RESPONSE  = 0C00000C3h
STATUS_UNEXPECTED_NETWORK_ERROR  = 0C00000C4h
STATUS_BAD_REMOTE_ADAPTER        = 0C00000C5h
STATUS_PRINT_QUEUE_FULL          = 0C00000C6h
STATUS_NO_SPOOL_SPACE            = 0C00000C7h
STATUS_PRINT_CANCELLED           = 0C00000C8h
STATUS_NETWORK_NAME_DELETED      = 0C00000C9h
STATUS_NETWORK_ACCESS_DENIED     = 0C00000CAh
STATUS_BAD_DEVICE_TYPE           = 0C00000CBh
STATUS_BAD_NETWORK_NAME          = 0C00000CCh
STATUS_TOO_MANY_NAMES            = 0C00000CDh
STATUS_TOO_MANY_SESSIONS         = 0C00000CEh
STATUS_SHARING_PAUSED            = 0C00000CFh
STATUS_REQUEST_NOT_ACCEPTED      = 0C00000D0h
STATUS_REDIRECTOR_PAUSED         = 0C00000D1h
STATUS_NET_WRITE_FAULT           = 0C00000D2h
STATUS_PROFILING_AT_LIMIT        = 0C00000D3h
STATUS_NOT_SAME_DEVICE           = 0C00000D4h
STATUS_FILE_RENAMED              = 0C00000D5h
STATUS_VIRTUAL_CIRCUIT_CLOSED    = 0C00000D6h
STATUS_NO_SECURITY_ON_OBJECT     = 0C00000D7h
STATUS_CANT_WAIT                 = 0C00000D8h
STATUS_PIPE_EMPTY                = 0C00000D9h
STATUS_CANT_ACCESS_DOMAIN_INFO   = 0C00000DAh
STATUS_CANT_TERMINATE_SELF       = 0C00000DBh
STATUS_INVALID_SERVER_STATE      = 0C00000DCh
STATUS_INVALID_DOMAIN_STATE      = 0C00000DDh
STATUS_INVALID_DOMAIN_ROLE       = 0C00000DEh
STATUS_NO_SUCH_DOMAIN            = 0C00000DFh
STATUS_DOMAIN_EXISTS             = 0C00000E0h
STATUS_DOMAIN_LIMIT_EXCEEDED     = 0C00000E1h
STATUS_OPLOCK_NOT_GRANTED        = 0C00000E2h
STATUS_INVALID_OPLOCK_PROTOCOL   = 0C00000E3h
STATUS_INTERNAL_DB_CORRUPTION    = 0C00000E4h
STATUS_INTERNAL_ERROR            = 0C00000E5h
STATUS_GENERIC_NOT_MAPPED        = 0C00000E6h
STATUS_BAD_DESCRIPTOR_FORMAT     = 0C00000E7h
STATUS_INVALID_USER_BUFFER       = 0C00000E8h
STATUS_UNEXPECTED_IO_ERROR       = 0C00000E9h
STATUS_UNEXPECTED_MM_CREATE_ERR  = 0C00000EAh
STATUS_UNEXPECTED_MM_MAP_ERROR   = 0C00000EBh
STATUS_UNEXPECTED_MM_EXTEND_ERR  = 0C00000ECh
STATUS_NOT_LOGON_PROCESS         = 0C00000EDh
STATUS_LOGON_SESSION_EXISTS      = 0C00000EEh
STATUS_INVALID_PARAMETER_1       = 0C00000EFh
STATUS_INVALID_PARAMETER_2       = 0C00000F0h
STATUS_INVALID_PARAMETER_3       = 0C00000F1h
STATUS_INVALID_PARAMETER_4       = 0C00000F2h
STATUS_INVALID_PARAMETER_5       = 0C00000F3h
STATUS_INVALID_PARAMETER_6       = 0C00000F4h
STATUS_INVALID_PARAMETER_7       = 0C00000F5h
STATUS_INVALID_PARAMETER_8       = 0C00000F6h
STATUS_INVALID_PARAMETER_9       = 0C00000F7h
STATUS_INVALID_PARAMETER_10      = 0C00000F8h
STATUS_INVALID_PARAMETER_11      = 0C00000F9h
STATUS_INVALID_PARAMETER_12      = 0C00000FAh
STATUS_REDIRECTOR_NOT_STARTED    = 0C00000FBh
STATUS_REDIRECTOR_STARTED        = 0C00000FCh
STATUS_NO_SUCH_PACKAGE           = 0C00000FEh
STATUS_BAD_FUNCTION_TABLE        = 0C00000FFh
STATUS_VARIABLE_NOT_FOUND        = 0C0000100h
STATUS_DIRECTORY_NOT_EMPTY       = 0C0000101h
STATUS_FILE_CORRUPT_ERROR        = 0C0000102h
STATUS_NOT_A_DIRECTORY           = 0C0000103h
STATUS_BAD_LOGON_SESSION_STATE   = 0C0000104h
STATUS_LOGON_SESSION_COLLISION   = 0C0000105h
STATUS_NAME_TOO_LONG             = 0C0000106h
STATUS_FILES_OPEN                = 0C0000107h
STATUS_CONNECTION_IN_USE         = 0C0000108h
STATUS_MESSAGE_NOT_FOUND         = 0C0000109h
STATUS_PROCESS_IS_TERMINATING    = 0C000010Ah
STATUS_INVALID_LOGON_TYPE        = 0C000010Bh
STATUS_NO_GUID_TRANSLATION       = 0C000010Ch
STATUS_CANNOT_IMPERSONATE        = 0C000010Dh
STATUS_IMAGE_ALREADY_LOADED      = 0C000010Eh
STATUS_ABIOS_NOT_PRESENT         = 0C000010Fh
STATUS_ABIOS_LID_NOT_EXIST       = 0C0000110h
STATUS_ABIOS_LID_ALREADY_OWNED   = 0C0000111h
STATUS_ABIOS_NOT_LID_OWNER       = 0C0000112h
STATUS_ABIOS_INVALID_COMMAND     = 0C0000113h
STATUS_ABIOS_INVALID_LID         = 0C0000114h
STATUS_ABIOS_SELECTOR_NOT_AVAILABLE = 0C0000115h
STATUS_ABIOS_INVALID_SELECTOR    = 0C0000116h
STATUS_NO_LDT                    = 0C0000117h
STATUS_INVALID_LDT_SIZE          = 0C0000118h
STATUS_INVALID_LDT_OFFSET        = 0C0000119h
STATUS_INVALID_LDT_DESCRIPTOR    = 0C000011Ah
STATUS_INVALID_IMAGE_NE_FORMAT   = 0C000011Bh
STATUS_RXACT_INVALID_STATE       = 0C000011Ch
STATUS_RXACT_COMMIT_FAILURE      = 0C000011Dh
STATUS_MAPPED_FILE_SIZE_ZERO     = 0C000011Eh
STATUS_TOO_MANY_OPENED_FILES     = 0C000011Fh
STATUS_CANCELLED                 = 0C0000120h
STATUS_CANNOT_DELETE             = 0C0000121h
STATUS_INVALID_COMPUTER_NAME     = 0C0000122h
STATUS_FILE_DELETED              = 0C0000123h
STATUS_SPECIAL_ACCOUNT           = 0C0000124h
STATUS_SPECIAL_GROUP             = 0C0000125h
STATUS_SPECIAL_USER              = 0C0000126h
STATUS_MEMBERS_PRIMARY_GROUP     = 0C0000127h
STATUS_FILE_CLOSED               = 0C0000128h
STATUS_TOO_MANY_THREADS          = 0C0000129h
STATUS_THREAD_NOT_IN_PROCESS     = 0C000012Ah
STATUS_TOKEN_ALREADY_IN_USE      = 0C000012Bh
STATUS_PAGEFILE_QUOTA_EXCEEDED   = 0C000012Ch
STATUS_COMMITMENT_LIMIT          = 0C000012Dh
STATUS_INVALID_IMAGE_LE_FORMAT   = 0C000012Eh
STATUS_INVALID_IMAGE_NOT_MZ      = 0C000012Fh
STATUS_INVALID_IMAGE_PROTECT     = 0C0000130h
STATUS_INVALID_IMAGE_WIN_16      = 0C0000131h
STATUS_LOGON_SERVER_CONFLICT     = 0C0000132h
STATUS_TIME_DIFFERENCE_AT_DC     = 0C0000133h
STATUS_SYNCHRONIZATION_REQUIRED  = 0C0000134h
STATUS_DLL_NOT_FOUND             = 0C0000135h
STATUS_OPEN_FAILED               = 0C0000136h
STATUS_IO_PRIVILEGE_FAILED       = 0C0000137h
STATUS_ORDINAL_NOT_FOUND         = 0C0000138h
STATUS_ENTRYPOINT_NOT_FOUND      = 0C0000139h
STATUS_LOCAL_DISCONNECT          = 0C000013Bh
STATUS_REMOTE_DISCONNECT         = 0C000013Ch
STATUS_REMOTE_RESOURCES          = 0C000013Dh
STATUS_LINK_FAILED               = 0C000013Eh
STATUS_LINK_TIMEOUT              = 0C000013Fh
STATUS_INVALID_CONNECTION        = 0C0000140h
STATUS_INVALID_ADDRESS           = 0C0000141h
STATUS_DLL_INIT_FAILED           = 0C0000142h
STATUS_MISSING_SYSTEMFILE        = 0C0000143h
STATUS_UNHANDLED_EXCEPTION       = 0C0000144h
STATUS_APP_INIT_FAILURE          = 0C0000145h
STATUS_PAGEFILE_CREATE_FAILED    = 0C0000146h
STATUS_NO_PAGEFILE               = 0C0000147h
STATUS_INVALID_LEVEL             = 0C0000148h
STATUS_WRONG_PASSWORD_CORE       = 0C0000149h
STATUS_ILLEGAL_FLOAT_CONTEXT     = 0C000014Ah
STATUS_PIPE_BROKEN               = 0C000014Bh
STATUS_REGISTRY_CORRUPT          = 0C000014Ch
STATUS_REGISTRY_IO_FAILED        = 0C000014Dh
STATUS_NO_EVENT_PAIR             = 0C000014Eh
STATUS_UNRECOGNIZED_VOLUME       = 0C000014Fh
STATUS_SERIAL_NO_DEVICE_INITED   = 0C0000150h
STATUS_NO_SUCH_ALIAS             = 0C0000151h
STATUS_MEMBER_NOT_IN_ALIAS       = 0C0000152h
STATUS_MEMBER_IN_ALIAS           = 0C0000153h
STATUS_ALIAS_EXISTS              = 0C0000154h
STATUS_LOGON_NOT_GRANTED         = 0C0000155h
STATUS_TOO_MANY_SECRETS          = 0C0000156h
STATUS_SECRET_TOO_LONG           = 0C0000157h
STATUS_INTERNAL_DB_ERROR         = 0C0000158h
STATUS_FULLSCREEN_MODE           = 0C0000159h
STATUS_TOO_MANY_CONTEXT_IDS      = 0C000015Ah
STATUS_LOGON_TYPE_NOT_GRANTED    = 0C000015Bh
STATUS_NOT_REGISTRY_FILE         = 0C000015Ch
STATUS_NT_CROSS_ENCRYPTION_REQUIRED = 0C000015Dh
STATUS_DOMAIN_CTRLR_CONFIG_ERROR = 0C000015Eh
STATUS_FT_MISSING_MEMBER         = 0C000015Fh
STATUS_ILL_FORMED_SERVICE_ENTRY  = 0C0000160h
STATUS_ILLEGAL_CHARACTER         = 0C0000161h
STATUS_UNMAPPABLE_CHARACTER      = 0C0000162h
STATUS_UNDEFINED_CHARACTER       = 0C0000163h
STATUS_FLOPPY_VOLUME             = 0C0000164h
STATUS_FLOPPY_ID_MARK_NOT_FOUND  = 0C0000165h
STATUS_FLOPPY_WRONG_CYLINDER     = 0C0000166h
STATUS_FLOPPY_UNKNOWN_ERROR      = 0C0000167h
STATUS_FLOPPY_BAD_REGISTERS      = 0C0000168h
STATUS_DISK_RECALIBRATE_FAILED   = 0C0000169h
STATUS_DISK_OPERATION_FAILED     = 0C000016Ah
STATUS_DISK_RESET_FAILED         = 0C000016Bh
STATUS_SHARED_IRQ_BUSY           = 0C000016Ch
STATUS_FT_ORPHANING              = 0C000016Dh
STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT = 0C000016Eh
STATUS_PARTITION_FAILURE         = 0C0000172h
STATUS_INVALID_BLOCK_LENGTH      = 0C0000173h
STATUS_DEVICE_NOT_PARTITIONED    = 0C0000174h
STATUS_UNABLE_TO_LOCK_MEDIA      = 0C0000175h
STATUS_UNABLE_TO_UNLOAD_MEDIA    = 0C0000176h
STATUS_EOM_OVERFLOW              = 0C0000177h
STATUS_NO_MEDIA                  = 0C0000178h
STATUS_NO_SUCH_MEMBER            = 0C000017Ah
STATUS_INVALID_MEMBER            = 0C000017Bh
STATUS_KEY_DELETED               = 0C000017Ch
STATUS_NO_LOG_SPACE              = 0C000017Dh
STATUS_TOO_MANY_SIDS             = 0C000017Eh
STATUS_LM_CROSS_ENCRYPTION_REQUIRED = 0C000017Fh
STATUS_KEY_HAS_CHILDREN          = 0C0000180h
STATUS_CHILD_MUST_BE_VOLATILE    = 0C0000181h
STATUS_DEVICE_CONFIGURATION_ERROR = 0C0000182h
STATUS_DRIVER_INTERNAL_ERROR     = 0C0000183h
STATUS_INVALID_DEVICE_STATE      = 0C0000184h
STATUS_IO_DEVICE_ERROR           = 0C0000185h
STATUS_DEVICE_PROTOCOL_ERROR     = 0C0000186h
STATUS_BACKUP_CONTROLLER         = 0C0000187h
STATUS_LOG_FILE_FULL             = 0C0000188h
STATUS_TOO_LATE                  = 0C0000189h
STATUS_NO_TRUST_LSA_SECRET       = 0C000018Ah
STATUS_NO_TRUST_SAM_ACCOUNT      = 0C000018Bh
STATUS_TRUSTED_DOMAIN_FAILURE    = 0C000018Ch
STATUS_TRUSTED_RELATIONSHIP_FAILURE = 0C000018Dh
STATUS_EVENTLOG_FILE_CORRUPT     = 0C000018Eh
STATUS_EVENTLOG_CANT_START       = 0C000018Fh
STATUS_TRUST_FAILURE             = 0C0000190h
STATUS_MUTANT_LIMIT_EXCEEDED     = 0C0000191h
STATUS_NETLOGON_NOT_STARTED      = 0C0000192h
STATUS_ACCOUNT_EXPIRED           = 0C0000193h
STATUS_POSSIBLE_DEADLOCK         = 0C0000194h
STATUS_NETWORK_CREDENTIAL_CONFLICT = 0C0000195h
STATUS_REMOTE_SESSION_LIMIT      = 0C0000196h
STATUS_EVENTLOG_FILE_CHANGED     = 0C0000197h
STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 0C0000198h
STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT = 0C0000199h
STATUS_NOLOGON_SERVER_TRUST_ACCOUNT = 0C000019Ah
STATUS_DOMAIN_TRUST_INCONSISTENT = 0C000019Bh
STATUS_FS_DRIVER_REQUIRED        = 0C000019Ch
STATUS_NO_USER_SESSION_KEY       = 0C0000202h
STATUS_USER_SESSION_DELETED      = 0C0000203h
STATUS_RESOURCE_LANG_NOT_FOUND   = 0C0000204h
STATUS_INSUFF_SERVER_RESOURCES   = 0C0000205h
STATUS_INVALID_BUFFER_SIZE       = 0C0000206h
STATUS_INVALID_ADDRESS_COMPONENT = 0C0000207h
STATUS_INVALID_ADDRESS_WILDCARD  = 0C0000208h
STATUS_TOO_MANY_ADDRESSES        = 0C0000209h
STATUS_ADDRESS_ALREADY_EXISTS    = 0C000020Ah
STATUS_ADDRESS_CLOSED            = 0C000020Bh
STATUS_CONNECTION_DISCONNECTED   = 0C000020Ch
STATUS_CONNECTION_RESET          = 0C000020Dh
STATUS_TOO_MANY_NODES            = 0C000020Eh
STATUS_TRANSACTION_ABORTED       = 0C000020Fh
STATUS_TRANSACTION_TIMED_OUT     = 0C0000210h
STATUS_TRANSACTION_NO_RELEASE    = 0C0000211h
STATUS_TRANSACTION_NO_MATCH      = 0C0000212h
STATUS_TRANSACTION_RESPONDED     = 0C0000213h
STATUS_TRANSACTION_INVALID_ID    = 0C0000214h
STATUS_TRANSACTION_INVALID_TYPE  = 0C0000215h
STATUS_NOT_SERVER_SESSION        = 0C0000216h
STATUS_NOT_CLIENT_SESSION        = 0C0000217h
STATUS_CANNOT_LOAD_REGISTRY_FILE = 0C0000218h
STATUS_DEBUG_ATTACH_FAILED       = 0C0000219h
STATUS_SYSTEM_PROCESS_TERMINATED = 0C000021Ah
STATUS_DATA_NOT_ACCEPTED         = 0C000021Bh
STATUS_NO_BROWSER_SERVERS_FOUND  = 0C000021Ch
STATUS_VDM_HARD_ERROR            = 0C000021Dh
STATUS_DRIVER_CANCEL_TIMEOUT     = 0C000021Eh
STATUS_REPLY_MESSAGE_MISMATCH    = 0C000021Fh
STATUS_MAPPED_ALIGNMENT          = 0C0000220h
STATUS_IMAGE_CHECKSUM_MISMATCH   = 0C0000221h
STATUS_LOST_WRITEBEHIND_DATA     = 0C0000222h
STATUS_CLIENT_SERVER_PARAMETERS_INVALID = 0C0000223h
STATUS_PASSWORD_MUST_CHANGE      = 0C0000224h
STATUS_NOT_FOUND                 = 0C0000225h
STATUS_NOT_TINY_STREAM           = 0C0000226h
STATUS_RECOVERY_FAILURE          = 0C0000227h
STATUS_STACK_OVERFLOW_READ       = 0C0000228h
STATUS_FAIL_CHECK                = 0C0000229h
STATUS_DUPLICATE_OBJECTID        = 0C000022Ah
STATUS_OBJECTID_EXISTS           = 0C000022Bh
STATUS_CONVERT_TO_LARGE          = 0C000022Ch
STATUS_RETRY                     = 0C000022Dh
STATUS_FOUND_OUT_OF_SCOPE        = 0C000022Eh
STATUS_ALLOCATE_BUCKET           = 0C000022Fh
STATUS_PROPSET_NOT_FOUND         = 0C0000230h
STATUS_MARSHALL_OVERFLOW         = 0C0000231h
STATUS_INVALID_VARIANT           = 0C0000232h
STATUS_DOMAIN_CONTROLLER_NOT_FOUND = 0C0000233h
STATUS_ACCOUNT_LOCKED_OUT        = 0C0000234h
STATUS_HANDLE_NOT_CLOSABLE       = 0C0000235h
STATUS_CONNECTION_REFUSED        = 0C0000236h
STATUS_GRACEFUL_DISCONNECT       = 0C0000237h
STATUS_ADDRESS_ALREADY_ASSOCIATED = 0C0000238h
STATUS_ADDRESS_NOT_ASSOCIATED    = 0C0000239h
STATUS_CONNECTION_INVALID        = 0C000023Ah
STATUS_CONNECTION_ACTIVE         = 0C000023Bh
STATUS_NETWORK_UNREACHABLE       = 0C000023Ch
STATUS_HOST_UNREACHABLE          = 0C000023Dh
STATUS_PROTOCOL_UNREACHABLE      = 0C000023Eh
STATUS_PORT_UNREACHABLE          = 0C000023Fh
STATUS_REQUEST_ABORTED           = 0C0000240h
STATUS_CONNECTION_ABORTED        = 0C0000241h
STATUS_BAD_COMPRESSION_BUFFER    = 0C0000242h
STATUS_USER_MAPPED_FILE          = 0C0000243h
STATUS_AUDIT_FAILED              = 0C0000244h
STATUS_TIMER_RESOLUTION_NOT_SET  = 0C0000245h
STATUS_CONNECTION_COUNT_LIMIT    = 0C0000246h
STATUS_LOGIN_TIME_RESTRICTION    = 0C0000247h
STATUS_LOGIN_WKSTA_RESTRICTION   = 0C0000248h
STATUS_IMAGE_MP_UP_MISMATCH      = 0C0000249h
STATUS_INSUFFICIENT_LOGON_INFO   = 0C0000250h
STATUS_BAD_DLL_ENTRYPOINT        = 0C0000251h
STATUS_BAD_SERVICE_ENTRYPOINT    = 0C0000252h
STATUS_LPC_REPLY_LOST            = 0C0000253h
STATUS_IP_ADDRESS_CONFLICT1      = 0C0000254h
STATUS_IP_ADDRESS_CONFLICT2      = 0C0000255h
STATUS_REGISTRY_QUOTA_LIMIT      = 0C0000256h
STATUS_PATH_NOT_COVERED          = 0C0000257h
STATUS_NO_CALLBACK_ACTIVE        = 0C0000258h
STATUS_LICENSE_QUOTA_EXCEEDED    = 0C0000259h
STATUS_PWD_TOO_SHORT             = 0C000025Ah
STATUS_PWD_TOO_RECENT            = 0C000025Bh
STATUS_PWD_HISTORY_CONFLICT      = 0C000025Ch
STATUS_PLUGPLAY_NO_DEVICE        = 0C000025Eh
STATUS_UNSUPPORTED_COMPRESSION   = 0C000025Fh
STATUS_INVALID_HW_PROFILE        = 0C0000260h
STATUS_INVALID_PLUGPLAY_DEVICE_PATH = 0C0000261h
STATUS_DRIVER_ORDINAL_NOT_FOUND  = 0C0000262h
STATUS_DRIVER_ENTRYPOINT_NOT_FOUND = 0C0000263h
STATUS_RESOURCE_NOT_OWNED        = 0C0000264h
STATUS_TOO_MANY_LINKS            = 0C0000265h
STATUS_QUOTA_LIST_INCONSISTENT   = 0C0000266h
STATUS_FILE_IS_OFFLINE           = 0C0000267h
STATUS_EVALUATION_EXPIRATION     = 0C0000268h
STATUS_ILLEGAL_DLL_RELOCATION    = 0C0000269h
STATUS_LICENSE_VIOLATION         = 0C000026Ah
STATUS_DLL_INIT_FAILED_LOGOFF    = 0C000026Bh
STATUS_DRIVER_UNABLE_TO_LOAD     = 0C000026Ch
STATUS_DFS_UNAVAILABLE           = 0C000026Dh
STATUS_VOLUME_DISMOUNTED         = 0C000026Eh
STATUS_WX86_INTERNAL_ERROR       = 0C000026Fh
STATUS_WX86_FLOAT_STACK_CHECK    = 0C0000270h
STATUS_VALIDATE_CONTINUE         = 0C0000271h
STATUS_NO_MATCH                  = 0C0000272h
STATUS_NO_MORE_MATCHES           = 0C0000273h
STATUS_NOT_A_REPARSE_POINT       = 0C0000275h
STATUS_IO_REPARSE_TAG_INVALID    = 0C0000276h
STATUS_IO_REPARSE_TAG_MISMATCH   = 0C0000277h
STATUS_IO_REPARSE_DATA_INVALID   = 0C0000278h
STATUS_IO_REPARSE_TAG_NOT_HANDLED = 0C0000279h
STATUS_REPARSE_POINT_NOT_RESOLVED = 0C0000280h
STATUS_DIRECTORY_IS_A_REPARSE_POINT = 0C0000281h
STATUS_RANGE_LIST_CONFLICT       = 0C0000282h
STATUS_SOURCE_ELEMENT_EMPTY      = 0C0000283h
STATUS_DESTINATION_ELEMENT_FULL  = 0C0000284h
STATUS_ILLEGAL_ELEMENT_ADDRESS   = 0C0000285h
STATUS_MAGAZINE_NOT_PRESENT      = 0C0000286h
STATUS_REINITIALIZATION_NEEDED   = 0C0000287h
STATUS_DEVICE_REQUIRES_CLEANING  = 80000288h
STATUS_DEVICE_DOOR_OPEN          = 80000289h
STATUS_ENCRYPTION_FAILED         = 0C000028Ah
STATUS_DECRYPTION_FAILED         = 0C000028Bh
STATUS_RANGE_NOT_FOUND           = 0C000028Ch
STATUS_NO_RECOVERY_POLICY        = 0C000028Dh
STATUS_NO_EFS                    = 0C000028Eh
STATUS_WRONG_EFS                 = 0C000028Fh
STATUS_NO_USER_KEYS              = 0C0000290h
STATUS_FILE_NOT_ENCRYPTED        = 0C0000291h
STATUS_NOT_EXPORT_FORMAT         = 0C0000292h
STATUS_FILE_ENCRYPTED            = 0C0000293h
STATUS_WAKE_SYSTEM               = 40000294h
STATUS_WMI_GUID_NOT_FOUND        = 0C0000295h
STATUS_WMI_INSTANCE_NOT_FOUND    = 0C0000296h
STATUS_WMI_ITEMID_NOT_FOUND      = 0C0000297h
STATUS_WMI_TRY_AGAIN             = 0C0000298h
STATUS_SHARED_POLICY             = 0C0000299h
STATUS_POLICY_OBJECT_NOT_FOUND   = 0C000029Ah
STATUS_POLICY_ONLY_IN_DS         = 0C000029Bh
STATUS_VOLUME_NOT_UPGRADED       = 0C000029Ch
STATUS_REMOTE_STORAGE_NOT_ACTIVE = 0C000029Dh
STATUS_REMOTE_STORAGE_MEDIA_ERROR = 0C000029Eh
STATUS_NO_TRACKING_SERVICE       = 0C000029Fh
STATUS_SERVER_SID_MISMATCH       = 0C00002A0h
STATUS_DS_NO_ATTRIBUTE_OR_VALUE  = 0C00002A1h
STATUS_DS_INVALID_ATTRIBUTE_SYNTAX = 0C00002A2h
STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED = 0C00002A3h
STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS = 0C00002A4h
STATUS_DS_BUSY                   = 0C00002A5h
STATUS_DS_UNAVAILABLE            = 0C00002A6h
STATUS_DS_NO_RIDS_ALLOCATED      = 0C00002A7h
STATUS_DS_NO_MORE_RIDS           = 0C00002A8h
STATUS_DS_INCORRECT_ROLE_OWNER   = 0C00002A9h
STATUS_DS_RIDMGR_INIT_ERROR      = 0C00002AAh
STATUS_DS_OBJ_CLASS_VIOLATION    = 0C00002ABh
STATUS_DS_CANT_ON_NON_LEAF       = 0C00002ACh
STATUS_DS_CANT_ON_RDN            = 0C00002ADh
STATUS_DS_CANT_MOD_OBJ_CLASS     = 0C00002AEh
STATUS_DS_CROSS_DOM_MOVE_FAILED  = 0C00002AFh
STATUS_DS_GC_NOT_AVAILABLE       = 0C00002B0h
STATUS_DIRECTORY_SERVICE_REQUIRED = 0C00002B1h
STATUS_REPARSE_ATTRIBUTE_CONFLICT = 0C00002B2h
STATUS_CANT_ENABLE_DENY_ONLY     = 0C00002B3h
STATUS_DEVICE_REMOVED            = 0C00002B6h
STATUS_JOURNAL_DELETE_IN_PROGRESS = 0C00002B7h
STATUS_JOURNAL_NOT_ACTIVE        = 0C00002B8h
STATUS_NOINTERFACE               = 0C00002B9h
STATUS_DS_ADMIN_LIMIT_EXCEEDED   = 0C00002C1h
STATUS_DRIVER_FAILED_SLEEP       = 0C00002C2h
STATUS_MUTUAL_AUTHENTICATION_FAILED = 0C00002C3h
STATUS_CORRUPT_SYSTEM_FILE       = 0C00002C4h
STATUS_DATATYPE_MISALIGNMENT_ERROR = 0C00002C5h
STATUS_WMI_READ_ONLY             = 0C00002C6h
STATUS_WMI_SET_FAILURE           = 0C00002C7h
STATUS_COMMITMENT_MINIMUM        = 0C00002C8h
STATUS_TRANSPORT_FULL            = 0C00002CAh
STATUS_DS_SAM_INIT_FAILURE       = 0C00002CBh
STATUS_ONLY_IF_CONNECTED         = 0C00002CCh
STATUS_DS_SENSITIVE_GROUP_VIOLATION = 0C00002CDh
STATUS_PNP_RESTART_ENUMERATION   = 0C00002CEh
STATUS_JOURNAL_ENTRY_DELETED     = 0C00002CFh
STATUS_DS_CANT_MOD_PRIMARYGROUPID = 0C00002D0h
STATUS_SYSTEM_IMAGE_BAD_SIGNATURE = 0C00002D1h
STATUS_PNP_REBOOT_REQUIRED       = 0C00002D2h
STATUS_POWER_STATE_INVALID       = 0C00002D3h
STATUS_DS_INVALID_GROUP_TYPE     = 0C00002D4h
STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN = 0C00002D5h
STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN = 0C00002D6h
STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER = 0C00002D7h
STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER = 0C00002D8h
STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER = 0C00002D9h
STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER = 0C00002DAh
STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER = 0C00002DBh
STATUS_DS_HAVE_PRIMARY_MEMBERS   = 0C00002DCh
STATUS_WMI_NOT_SUPPORTED         = 0C00002DDh
STATUS_INSUFFICIENT_POWER        = 0C00002DEh
STATUS_SAM_NEED_BOOTKEY_PASSWORD = 0C00002DFh
STATUS_SAM_NEED_BOOTKEY_FLOPPY   = 0C00002E0h
STATUS_DS_CANT_START             = 0C00002E1h
STATUS_DS_INIT_FAILURE           = 0C00002E2h
STATUS_SAM_INIT_FAILURE          = 0C00002E3h
STATUS_DS_GC_REQUIRED            = 0C00002E4h
STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY = 0C00002E5h
STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS = 0C00002E6h
STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED = 0C00002E7h
STATUS_MULTIPLE_FAULT_VIOLATION  = 0C00002E8h
STATUS_CURRENT_DOMAIN_NOT_ALLOWED = 0C00002E9h
STATUS_CANNOT_MAKE               = 0C00002EAh
STATUS_SYSTEM_SHUTDOWN           = 0C00002EBh
STATUS_DS_INIT_FAILURE_CONSOLE   = 0C00002ECh
STATUS_DS_SAM_INIT_FAILURE_CONSOLE = 0C00002EDh
STATUS_UNFINISHED_CONTEXT_DELETED = 0C00002EEh
STATUS_NO_TGT_REPLY              = 0C00002EFh
STATUS_OBJECTID_NOT_FOUND        = 0C00002F0h
STATUS_NO_IP_ADDRESSES           = 0C00002F1h
STATUS_WRONG_CREDENTIAL_HANDLE   = 0C00002F2h
STATUS_CRYPTO_SYSTEM_INVALID     = 0C00002F3h
STATUS_MAX_REFERRALS_EXCEEDED    = 0C00002F4h
STATUS_MUST_BE_KDC               = 0C00002F5h
STATUS_STRONG_CRYPTO_NOT_SUPPORTED = 0C00002F6h
STATUS_TOO_MANY_PRINCIPALS       = 0C00002F7h
STATUS_NO_PA_DATA                = 0C00002F8h
STATUS_PKINIT_NAME_MISMATCH      = 0C00002F9h
STATUS_SMARTCARD_LOGON_REQUIRED  = 0C00002FAh
STATUS_KDC_INVALID_REQUEST       = 0C00002FBh
STATUS_KDC_UNABLE_TO_REFER       = 0C00002FCh
STATUS_KDC_UNKNOWN_ETYPE         = 0C00002FDh
STATUS_SHUTDOWN_IN_PROGRESS      = 0C00002FEh
STATUS_SERVER_SHUTDOWN_IN_PROGRESS = 0C00002FFh
STATUS_NOT_SUPPORTED_ON_SBS      = 0C0000300h
STATUS_WMI_GUID_DISCONNECTED     = 0C0000301h
STATUS_WMI_ALREADY_DISABLED      = 0C0000302h
STATUS_WMI_ALREADY_ENABLED       = 0C0000303h
STATUS_MFT_TOO_FRAGMENTED        = 0C0000304h
STATUS_COPY_PROTECTION_FAILURE   = 0C0000305h
STATUS_CSS_AUTHENTICATION_FAILURE = 0C0000306h
STATUS_CSS_KEY_NOT_PRESENT       = 0C0000307h
STATUS_CSS_KEY_NOT_ESTABLISHED   = 0C0000308h
STATUS_CSS_SCRAMBLED_SECTOR      = 0C0000309h
STATUS_CSS_REGION_MISMATCH       = 0C000030Ah
STATUS_CSS_RESETS_EXHAUSTED      = 0C000030Bh
STATUS_PKINIT_FAILURE            = 0C0000320h
STATUS_SMARTCARD_SUBSYSTEM_FAILURE = 0C0000321h
STATUS_NO_KERB_KEY               = 0C0000322h
STATUS_HOST_DOWN                 = 0C0000350h
STATUS_UNSUPPORTED_PREAUTH       = 0C0000351h
STATUS_EFS_ALG_BLOB_TOO_BIG      = 0C0000352h
STATUS_PORT_NOT_SET              = 0C0000353h
STATUS_DEBUGGER_INACTIVE         = 0C0000354h
STATUS_DS_VERSION_CHECK_FAILURE  = 0C0000355h
STATUS_AUDITING_DISABLED         = 0C0000356h
STATUS_PRENT4_MACHINE_ACCOUNT    = 0C0000357h
STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER = 0C0000358h
STATUS_INVALID_IMAGE_WIN_32      = 0C0000359h
STATUS_INVALID_IMAGE_WIN_64      = 0C000035Ah
STATUS_BAD_BINDINGS              = 0C000035Bh
STATUS_NETWORK_SESSION_EXPIRED   = 0C000035Ch
STATUS_APPHELP_BLOCK             = 0C000035Dh
STATUS_ALL_SIDS_FILTERED         = 0C000035Eh
STATUS_NOT_SAFE_MODE_DRIVER      = 0C000035Fh
STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT = 0C0000361h
STATUS_ACCESS_DISABLED_BY_POLICY_PATH = 0C0000362h
STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER = 0C0000363h
STATUS_ACCESS_DISABLED_BY_POLICY_OTHER = 0C0000364h
STATUS_FAILED_DRIVER_ENTRY       = 0C0000365h
STATUS_DEVICE_ENUMERATION_ERROR  = 0C0000366h
STATUS_WAIT_FOR_OPLOCK           = 00000367h
STATUS_MOUNT_POINT_NOT_RESOLVED  = 0C0000368h
STATUS_INVALID_DEVICE_OBJECT_PARAMETER = 0C0000369h
STATUS_MCA_OCCURED               = 0C000036Ah
STATUS_DRIVER_BLOCKED_CRITICAL   = 0C000036Bh
STATUS_DRIVER_BLOCKED            = 0C000036Ch
STATUS_DRIVER_DATABASE_ERROR     = 0C000036Dh
STATUS_SYSTEM_HIVE_TOO_LARGE     = 0C000036Eh
STATUS_INVALID_IMPORT_OF_NON_DLL = 0C000036Fh
STATUS_DS_SHUTTING_DOWN          = 40000370h
STATUS_SMARTCARD_WRONG_PIN       = 0C0000380h
STATUS_SMARTCARD_CARD_BLOCKED    = 0C0000381h
STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED = 0C0000382h
STATUS_SMARTCARD_NO_CARD         = 0C0000383h
STATUS_SMARTCARD_NO_KEY_CONTAINER = 0C0000384h
STATUS_SMARTCARD_NO_CERTIFICATE  = 0C0000385h
STATUS_SMARTCARD_NO_KEYSET       = 0C0000386h
STATUS_SMARTCARD_IO_ERROR        = 0C0000387h
STATUS_DOWNGRADE_DETECTED        = 0C0000388h
STATUS_SMARTCARD_CERT_REVOKED    = 0C0000389h
STATUS_ISSUING_CA_UNTRUSTED      = 0C000038Ah
STATUS_REVOCATION_OFFLINE_C      = 0C000038Bh
STATUS_PKINIT_CLIENT_FAILURE     = 0C000038Ch
STATUS_SMARTCARD_CERT_EXPIRED    = 0C000038Dh
STATUS_DRIVER_FAILED_PRIOR_UNLOAD = 0C000038Eh
STATUS_SMARTCARD_SILENT_CONTEXT  = 0C000038Fh
STATUS_PER_USER_TRUST_QUOTA_EXCEEDED = 0C0000401h
STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED = 0C0000402h
STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED = 0C0000403h
STATUS_DS_NAME_NOT_UNIQUE        = 0C0000404h
STATUS_DS_DUPLICATE_ID_FOUND     = 0C0000405h
STATUS_DS_GROUP_CONVERSION_ERROR = 0C0000406h
STATUS_VOLSNAP_PREPARE_HIBERNATE = 0C0000407h
STATUS_USER2USER_REQUIRED        = 0C0000408h
STATUS_STACK_BUFFER_OVERRUN      = 0C0000409h
STATUS_NO_S4U_PROT_SUPPORT       = 0C000040Ah
STATUS_CROSSREALM_DELEGATION_FAILURE = 0C000040Bh
STATUS_REVOCATION_OFFLINE_KDC    = 0C000040Ch
STATUS_ISSUING_CA_UNTRUSTED_KDC  = 0C000040Dh
STATUS_KDC_CERT_EXPIRED          = 0C000040Eh
STATUS_KDC_CERT_REVOKED          = 0C000040Fh
STATUS_PARAMETER_QUOTA_EXCEEDED  = 0C0000410h
STATUS_HIBERNATION_FAILURE       = 0C0000411h
STATUS_DELAY_LOAD_FAILED         = 0C0000412h
STATUS_AUTHENTICATION_FIREWALL_FAILED = 0C0000413h
STATUS_VDM_DISALLOWED            = 0C0000414h
STATUS_HUNG_DISPLAY_DRIVER_THREAD = 0C0000415h
STATUS_WOW_ASSERTION             = 0C0009898h
DBG_NO_STATE_CHANGE              = 0C0010001h
DBG_APP_NOT_IDLE                 = 0C0010002h
RPC_NT_INVALID_STRING_BINDING    = 0C0020001h
RPC_NT_WRONG_KIND_OF_BINDING     = 0C0020002h
RPC_NT_INVALID_BINDING           = 0C0020003h
RPC_NT_PROTSEQ_NOT_SUPPORTED     = 0C0020004h
RPC_NT_INVALID_RPC_PROTSEQ       = 0C0020005h
RPC_NT_INVALID_STRING_UUID       = 0C0020006h
RPC_NT_INVALID_ENDPOINT_FORMAT   = 0C0020007h
RPC_NT_INVALID_NET_ADDR          = 0C0020008h
RPC_NT_NO_ENDPOINT_FOUND         = 0C0020009h
RPC_NT_INVALID_TIMEOUT           = 0C002000Ah
RPC_NT_OBJECT_NOT_FOUND          = 0C002000Bh
RPC_NT_ALREADY_REGISTERED        = 0C002000Ch
RPC_NT_TYPE_ALREADY_REGISTERED   = 0C002000Dh
RPC_NT_ALREADY_LISTENING         = 0C002000Eh
RPC_NT_NO_PROTSEQS_REGISTERED    = 0C002000Fh
RPC_NT_NOT_LISTENING             = 0C0020010h
RPC_NT_UNKNOWN_MGR_TYPE          = 0C0020011h
RPC_NT_UNKNOWN_IF                = 0C0020012h
RPC_NT_NO_BINDINGS               = 0C0020013h
RPC_NT_NO_PROTSEQS               = 0C0020014h
RPC_NT_CANT_CREATE_ENDPOINT      = 0C0020015h
RPC_NT_OUT_OF_RESOURCES          = 0C0020016h
RPC_NT_SERVER_UNAVAILABLE        = 0C0020017h
RPC_NT_SERVER_TOO_BUSY           = 0C0020018h
RPC_NT_INVALID_NETWORK_OPTIONS   = 0C0020019h
RPC_NT_NO_CALL_ACTIVE            = 0C002001Ah
RPC_NT_CALL_FAILED               = 0C002001Bh
RPC_NT_CALL_FAILED_DNE           = 0C002001Ch
RPC_NT_PROTOCOL_ERROR            = 0C002001Dh
RPC_NT_UNSUPPORTED_TRANS_SYN     = 0C002001Fh
RPC_NT_UNSUPPORTED_TYPE          = 0C0020021h
RPC_NT_INVALID_TAG               = 0C0020022h
RPC_NT_INVALID_BOUND             = 0C0020023h
RPC_NT_NO_ENTRY_NAME             = 0C0020024h
RPC_NT_INVALID_NAME_SYNTAX       = 0C0020025h
RPC_NT_UNSUPPORTED_NAME_SYNTAX   = 0C0020026h
RPC_NT_UUID_NO_ADDRESS           = 0C0020028h
RPC_NT_DUPLICATE_ENDPOINT        = 0C0020029h
RPC_NT_UNKNOWN_AUTHN_TYPE        = 0C002002Ah
RPC_NT_MAX_CALLS_TOO_SMALL       = 0C002002Bh
RPC_NT_STRING_TOO_LONG           = 0C002002Ch
RPC_NT_PROTSEQ_NOT_FOUND         = 0C002002Dh
RPC_NT_PROCNUM_OUT_OF_RANGE      = 0C002002Eh
RPC_NT_BINDING_HAS_NO_AUTH       = 0C002002Fh
RPC_NT_UNKNOWN_AUTHN_SERVICE     = 0C0020030h
RPC_NT_UNKNOWN_AUTHN_LEVEL       = 0C0020031h
RPC_NT_INVALID_AUTH_IDENTITY     = 0C0020032h
RPC_NT_UNKNOWN_AUTHZ_SERVICE     = 0C0020033h
EPT_NT_INVALID_ENTRY             = 0C0020034h
EPT_NT_CANT_PERFORM_OP           = 0C0020035h
EPT_NT_NOT_REGISTERED            = 0C0020036h
RPC_NT_NOTHING_TO_EXPORT         = 0C0020037h
RPC_NT_INCOMPLETE_NAME           = 0C0020038h
RPC_NT_INVALID_VERS_OPTION       = 0C0020039h
RPC_NT_NO_MORE_MEMBERS           = 0C002003Ah
RPC_NT_NOT_ALL_OBJS_UNEXPORTED   = 0C002003Bh
RPC_NT_INTERFACE_NOT_FOUND       = 0C002003Ch
RPC_NT_ENTRY_ALREADY_EXISTS      = 0C002003Dh
RPC_NT_ENTRY_NOT_FOUND           = 0C002003Eh
RPC_NT_NAME_SERVICE_UNAVAILABLE  = 0C002003Fh
RPC_NT_INVALID_NAF_ID            = 0C0020040h
RPC_NT_CANNOT_SUPPORT            = 0C0020041h
RPC_NT_NO_CONTEXT_AVAILABLE      = 0C0020042h
RPC_NT_INTERNAL_ERROR            = 0C0020043h
RPC_NT_ZERO_DIVIDE               = 0C0020044h
RPC_NT_ADDRESS_ERROR             = 0C0020045h
RPC_NT_FP_DIV_ZERO               = 0C0020046h
RPC_NT_FP_UNDERFLOW              = 0C0020047h
RPC_NT_FP_OVERFLOW               = 0C0020048h
RPC_NT_NO_MORE_ENTRIES           = 0C0030001h
RPC_NT_SS_CHAR_TRANS_OPEN_FAIL   = 0C0030002h
RPC_NT_SS_CHAR_TRANS_SHORT_FILE  = 0C0030003h
RPC_NT_SS_IN_NULL_CONTEXT        = 0C0030004h
RPC_NT_SS_CONTEXT_MISMATCH       = 0C0030005h
RPC_NT_SS_CONTEXT_DAMAGED        = 0C0030006h
RPC_NT_SS_HANDLES_MISMATCH       = 0C0030007h
RPC_NT_SS_CANNOT_GET_CALL_HANDLE = 0C0030008h
RPC_NT_NULL_REF_POINTER          = 0C0030009h
RPC_NT_ENUM_VALUE_OUT_OF_RANGE   = 0C003000Ah
RPC_NT_BYTE_COUNT_TOO_SMALL      = 0C003000Bh
RPC_NT_BAD_STUB_DATA             = 0C003000Ch
RPC_NT_CALL_IN_PROGRESS          = 0C0020049h
RPC_NT_NO_MORE_BINDINGS          = 0C002004Ah
RPC_NT_GROUP_MEMBER_NOT_FOUND    = 0C002004Bh
EPT_NT_CANT_CREATE               = 0C002004Ch
RPC_NT_INVALID_OBJECT            = 0C002004Dh
RPC_NT_NO_INTERFACES             = 0C002004Fh
RPC_NT_CALL_CANCELLED            = 0C0020050h
RPC_NT_BINDING_INCOMPLETE        = 0C0020051h
RPC_NT_COMM_FAILURE              = 0C0020052h
RPC_NT_UNSUPPORTED_AUTHN_LEVEL   = 0C0020053h
RPC_NT_NO_PRINC_NAME             = 0C0020054h
RPC_NT_NOT_RPC_ERROR             = 0C0020055h
RPC_NT_UUID_LOCAL_ONLY           = 40020056h
RPC_NT_SEC_PKG_ERROR             = 0C0020057h
RPC_NT_NOT_CANCELLED             = 0C0020058h
RPC_NT_INVALID_ES_ACTION         = 0C0030059h
RPC_NT_WRONG_ES_VERSION          = 0C003005Ah
RPC_NT_WRONG_STUB_VERSION        = 0C003005Bh
RPC_NT_INVALID_PIPE_OBJECT       = 0C003005Ch
RPC_NT_INVALID_PIPE_OPERATION    = 0C003005Dh
RPC_NT_WRONG_PIPE_VERSION        = 0C003005Eh
RPC_NT_PIPE_CLOSED               = 0C003005Fh
RPC_NT_PIPE_DISCIPLINE_ERROR     = 0C0030060h
RPC_NT_PIPE_EMPTY                = 0C0030061h
RPC_NT_INVALID_ASYNC_HANDLE      = 0C0020062h
RPC_NT_INVALID_ASYNC_CALL        = 0C0020063h
RPC_NT_SEND_INCOMPLETE           = 400200AFh
STATUS_ACPI_INVALID_OPCODE       = 0C0140001h
STATUS_ACPI_STACK_OVERFLOW       = 0C0140002h
STATUS_ACPI_ASSERT_FAILED        = 0C0140003h
STATUS_ACPI_INVALID_INDEX        = 0C0140004h
STATUS_ACPI_INVALID_ARGUMENT     = 0C0140005h
STATUS_ACPI_FATAL                = 0C0140006h
STATUS_ACPI_INVALID_SUPERNAME    = 0C0140007h
STATUS_ACPI_INVALID_ARGTYPE      = 0C0140008h
STATUS_ACPI_INVALID_OBJTYPE      = 0C0140009h
STATUS_ACPI_INVALID_TARGETTYPE   = 0C014000Ah
STATUS_ACPI_INCORRECT_ARGUMENT_COUNT = 0C014000Bh
STATUS_ACPI_ADDRESS_NOT_MAPPED   = 0C014000Ch
STATUS_ACPI_INVALID_EVENTTYPE    = 0C014000Dh
STATUS_ACPI_HANDLER_COLLISION    = 0C014000Eh
STATUS_ACPI_INVALID_DATA         = 0C014000Fh
STATUS_ACPI_INVALID_REGION       = 0C0140010h
STATUS_ACPI_INVALID_ACCESS_SIZE  = 0C0140011h
STATUS_ACPI_ACQUIRE_GLOBAL_LOCK  = 0C0140012h
STATUS_ACPI_ALREADY_INITIALIZED  = 0C0140013h
STATUS_ACPI_NOT_INITIALIZED      = 0C0140014h
STATUS_ACPI_INVALID_MUTEX_LEVEL  = 0C0140015h
STATUS_ACPI_MUTEX_NOT_OWNED      = 0C0140016h
STATUS_ACPI_MUTEX_NOT_OWNER      = 0C0140017h
STATUS_ACPI_RS_ACCESS            = 0C0140018h
STATUS_ACPI_INVALID_TABLE        = 0C0140019h
STATUS_ACPI_REG_HANDLER_FAILED   = 0C0140020h
STATUS_ACPI_POWER_REQUEST_FAILED = 0C0140021h
STATUS_CTX_WINSTATION_NAME_INVALID = 0C00A0001h
STATUS_CTX_INVALID_PD            = 0C00A0002h
STATUS_CTX_PD_NOT_FOUND          = 0C00A0003h
STATUS_CTX_CDM_CONNECT           = 400A0004h
STATUS_CTX_CDM_DISCONNECT        = 400A0005h
STATUS_CTX_CLOSE_PENDING         = 0C00A0006h
STATUS_CTX_NO_OUTBUF             = 0C00A0007h
STATUS_CTX_MODEM_INF_NOT_FOUND   = 0C00A0008h
STATUS_CTX_INVALID_MODEMNAME     = 0C00A0009h
STATUS_CTX_RESPONSE_ERROR        = 0C00A000Ah
STATUS_CTX_MODEM_RESPONSE_TIMEOUT = 0C00A000Bh
STATUS_CTX_MODEM_RESPONSE_NO_CARRIER = 0C00A000Ch
STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE = 0C00A000Dh
STATUS_CTX_MODEM_RESPONSE_BUSY   = 0C00A000Eh
STATUS_CTX_MODEM_RESPONSE_VOICE  = 0C00A000Fh
STATUS_CTX_TD_ERROR              = 0C00A0010h
STATUS_CTX_LICENSE_CLIENT_INVALID = 0C00A0012h
STATUS_CTX_LICENSE_NOT_AVAILABLE = 0C00A0013h
STATUS_CTX_LICENSE_EXPIRED       = 0C00A0014h
STATUS_CTX_WINSTATION_NOT_FOUND  = 0C00A0015h
STATUS_CTX_WINSTATION_NAME_COLLISION = 0C00A0016h
STATUS_CTX_WINSTATION_BUSY       = 0C00A0017h
STATUS_CTX_BAD_VIDEO_MODE        = 0C00A0018h
STATUS_CTX_GRAPHICS_INVALID      = 0C00A0022h
STATUS_CTX_NOT_CONSOLE           = 0C00A0024h
STATUS_CTX_CLIENT_QUERY_TIMEOUT  = 0C00A0026h
STATUS_CTX_CONSOLE_DISCONNECT    = 0C00A0027h
STATUS_CTX_CONSOLE_CONNECT       = 0C00A0028h
STATUS_CTX_SHADOW_DENIED         = 0C00A002Ah
STATUS_CTX_WINSTATION_ACCESS_DENIED = 0C00A002Bh
STATUS_CTX_INVALID_WD            = 0C00A002Eh
STATUS_CTX_WD_NOT_FOUND          = 0C00A002Fh
STATUS_CTX_SHADOW_INVALID        = 0C00A0030h
STATUS_CTX_SHADOW_DISABLED       = 0C00A0031h
STATUS_RDP_PROTOCOL_ERROR        = 0C00A0032h
STATUS_CTX_CLIENT_LICENSE_NOT_SET = 0C00A0033h
STATUS_CTX_CLIENT_LICENSE_IN_USE = 0C00A0034h
STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE = 0C00A0035h
STATUS_CTX_SHADOW_NOT_RUNNING    = 0C00A0036h
STATUS_PNP_BAD_MPS_TABLE         = 0C0040035h
STATUS_PNP_TRANSLATION_FAILED    = 0C0040036h
STATUS_PNP_IRQ_TRANSLATION_FAILED = 0C0040037h
STATUS_PNP_INVALID_ID            = 0C0040038h
STATUS_SXS_SECTION_NOT_FOUND     = 0C0150001h
STATUS_SXS_CANT_GEN_ACTCTX       = 0C0150002h
STATUS_SXS_INVALID_ACTCTXDATA_FORMAT = 0C0150003h
STATUS_SXS_ASSEMBLY_NOT_FOUND    = 0C0150004h
STATUS_SXS_MANIFEST_FORMAT_ERROR = 0C0150005h
STATUS_SXS_MANIFEST_PARSE_ERROR  = 0C0150006h
STATUS_SXS_ACTIVATION_CONTEXT_DISABLED = 0C0150007h
STATUS_SXS_KEY_NOT_FOUND         = 0C0150008h
STATUS_SXS_VERSION_CONFLICT      = 0C0150009h
STATUS_SXS_WRONG_SECTION_TYPE    = 0C015000Ah
STATUS_SXS_THREAD_QUERIES_DISABLED = 0C015000Bh
STATUS_SXS_ASSEMBLY_MISSING      = 0C015000Ch
STATUS_SXS_RELEASE_ACTIVATION_CONTEXT = 4015000Dh
STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET = 0C015000Eh
STATUS_SXS_MULTIPLE_DEACTIVATION = 0C0150011h
STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY = 0C0150012h
STATUS_SXS_PROCESS_TERMINATION_REQUESTED = 0C0150013h
STATUS_SXS_CORRUPT_ACTIVATION_STACK = 0C0150014h
STATUS_SXS_CORRUPTION            = 0C0150015h
STATUS_CLUSTER_INVALID_NODE      = 0C0130001h
STATUS_CLUSTER_NODE_EXISTS       = 0C0130002h
STATUS_CLUSTER_JOIN_IN_PROGRESS  = 0C0130003h
STATUS_CLUSTER_NODE_NOT_FOUND    = 0C0130004h
STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND = 0C0130005h
STATUS_CLUSTER_NETWORK_EXISTS    = 0C0130006h
STATUS_CLUSTER_NETWORK_NOT_FOUND = 0C0130007h
STATUS_CLUSTER_NETINTERFACE_EXISTS = 0C0130008h
STATUS_CLUSTER_NETINTERFACE_NOT_FOUND = 0C0130009h
STATUS_CLUSTER_INVALID_REQUEST   = 0C013000Ah
STATUS_CLUSTER_INVALID_NETWORK_PROVIDER = 0C013000Bh
STATUS_CLUSTER_NODE_DOWN         = 0C013000Ch
STATUS_CLUSTER_NODE_UNREACHABLE  = 0C013000Dh
STATUS_CLUSTER_NODE_NOT_MEMBER   = 0C013000Eh
STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS = 0C013000Fh
STATUS_CLUSTER_INVALID_NETWORK   = 0C0130010h
STATUS_CLUSTER_NO_NET_ADAPTERS   = 0C0130011h
STATUS_CLUSTER_NODE_UP           = 0C0130012h
STATUS_CLUSTER_NODE_PAUSED       = 0C0130013h
STATUS_CLUSTER_NODE_NOT_PAUSED   = 0C0130014h
STATUS_CLUSTER_NO_SECURITY_CONTEXT = 0C0130015h
STATUS_CLUSTER_NETWORK_NOT_INTERNAL = 0C0130016h
STATUS_CLUSTER_POISONED          = 0C0130017h
FACILITY_VIDEO                   = 1Bh
FACILITY_TRANSACTION             = 19h
FACILITY_NTSSPI                  = 9h
FACILITY_NTWIN32                 = 7h
FACILITY_NDIS_ERROR_CODE         = 23h
FACILTIY_MUI_ERROR_CODE          = 0Bh
FACILITY_MONITOR                 = 1Dh
FACILITY_MAXIMUM_VALUE           = 37h
FACILITY_IPSEC                   = 36h
FACILITY_HYPERVISOR              = 35h
FACILITY_GRAPHICS_KERNEL         = 1Eh
FACILITY_FWP_ERROR_CODE          = 22h
FACILITY_FVE_ERROR_CODE          = 21h
FACILITY_FILTER_MANAGER          = 1Ch
FACILITY_DRIVER_FRAMEWORK        = 20h
FACILITY_COMMONLOG               = 1Ah
STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED = 00000127h
STATUS_INTERRUPT_STILL_CONNECTED = 00000128h
STATUS_PROCESS_CLONED            = 00000129h
STATUS_FILE_LOCKED_WITH_ONLY_READERS = 0000012Ah
STATUS_FILE_LOCKED_WITH_WRITERS  = 0000012Bh
STATUS_RESOURCEMANAGER_READ_ONLY = 00000202h
STATUS_FLT_IO_COMPLETE           = 001C0001h
STATUS_MESSAGE_RETRIEVED         = 4000002Eh
STATUS_SYSTEM_POWERSTATE_TRANSITION = 4000002Fh
STATUS_ALPC_CHECK_COMPLETION_LIST = 40000030h
STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION = 40000031h
STATUS_ACCESS_AUDIT_BY_POLICY    = 40000032h
STATUS_ABANDON_HIBERFILE         = 40000033h
STATUS_BIZRULES_NOT_ENABLED      = 40000034h
STATUS_FLT_BUFFER_TOO_SMALL      = 801C0001h
STATUS_STOPPED_ON_SYMLINK        = 8000002Dh
STATUS_FVE_PARTIAL_METADATA      = 80210001h
STATUS_IMAGE_ALREADY_LOADED_AS_DLL = 0C000019Dh
STATUS_NETWORK_OPEN_RESTRICTION  = 0C0000201h
STATUS_NO_SECRETS                = 0C0000371h
STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY = 0C0000372h
STATUS_FAILED_STACK_SWITCH       = 0C0000373h
STATUS_HEAP_CORRUPTION           = 0C0000374h
STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE = 0C0000416h
STATUS_INVALID_CRUNTIME_PARAMETER = 0C0000417h
STATUS_NTLM_BLOCKED              = 0C0000418h
STATUS_ASSERTION_FAILURE         = 0C0000420h
STATUS_VERIFIER_STOP             = 0C0000421h
STATUS_CALLBACK_POP_STACK        = 0C0000423h
STATUS_INCOMPATIBLE_DRIVER_BLOCKED = 0C0000424h
STATUS_HIVE_UNLOADED             = 0C0000425h
STATUS_COMPRESSION_DISABLED      = 0C0000426h
STATUS_FILE_SYSTEM_LIMITATION    = 0C0000427h
STATUS_INVALID_IMAGE_HASH        = 0C0000428h
STATUS_NOT_CAPABLE               = 0C0000429h
STATUS_REQUEST_OUT_OF_SEQUENCE   = 0C000042Ah
STATUS_IMPLEMENTATION_LIMIT      = 0C000042Bh
STATUS_ELEVATION_REQUIRED        = 0C000042Ch
STATUS_BEYOND_VDL                = 0C0000432h
STATUS_ENCOUNTERED_WRITE_IN_PROGRESS = 0C0000433h
STATUS_PTE_CHANGED               = 0C0000434h
STATUS_PURGE_FAILED              = 0C0000435h
STATUS_CRED_REQUIRES_CONFIRMATION = 0C0000440h
STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE = 0C0000441h
STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER = 0C0000442h
STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE = 0C0000443h
STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE = 0C0000444h
STATUS_CS_ENCRYPTION_FILE_NOT_CSE = 0C0000445h
STATUS_INVALID_LABEL             = 0C0000446h
STATUS_DRIVER_PROCESS_TERMINATED = 0C0000450h
STATUS_AMBIGUOUS_SYSTEM_DEVICE   = 0C0000451h
STATUS_SYSTEM_DEVICE_NOT_FOUND   = 0C0000452h
STATUS_RESTART_BOOT_APPLICATION  = 0C0000453h
STATUS_INVALID_TASK_NAME         = 0C0000500h
STATUS_INVALID_TASK_INDEX        = 0C0000501h
STATUS_THREAD_ALREADY_IN_TASK    = 0C0000502h
STATUS_CALLBACK_BYPASS           = 0C0000503h
STATUS_PORT_CLOSED               = 0C0000700h
STATUS_MESSAGE_LOST              = 0C0000701h
STATUS_INVALID_MESSAGE           = 0C0000702h
STATUS_REQUEST_CANCELED          = 0C0000703h
STATUS_RECURSIVE_DISPATCH        = 0C0000704h
STATUS_LPC_RECEIVE_BUFFER_EXPECTED = 0C0000705h
STATUS_LPC_INVALID_CONNECTION_USAGE = 0C0000706h
STATUS_LPC_REQUESTS_NOT_ALLOWED  = 0C0000707h
STATUS_RESOURCE_IN_USE           = 0C0000708h
STATUS_HARDWARE_MEMORY_ERROR     = 0C0000709h
STATUS_THREADPOOL_HANDLE_EXCEPTION = 0C000070Ah
STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED = 0C000070Bh
STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED = 0C000070Ch
STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED = 0C000070Dh
STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED = 0C000070Eh
STATUS_THREADPOOL_RELEASED_DURING_OPERATION = 0C000070Fh
STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING = 0C0000710h
STATUS_APC_RETURNED_WHILE_IMPERSONATING = 0C0000711h
STATUS_PROCESS_IS_PROTECTED      = 0C0000712h
STATUS_MCA_EXCEPTION             = 0C0000713h
STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE = 0C0000714h
STATUS_SYMLINK_CLASS_DISABLED    = 0C0000715h
STATUS_INVALID_IDN_NORMALIZATION = 0C0000716h
STATUS_NO_UNICODE_TRANSLATION    = 0C0000717h
STATUS_ALREADY_REGISTERED        = 0C0000718h
STATUS_CONTEXT_MISMATCH          = 0C0000719h
STATUS_PORT_ALREADY_HAS_COMPLETION_LIST = 0C000071Ah
STATUS_CALLBACK_RETURNED_THREAD_PRIORITY = 0C000071Bh
STATUS_INVALID_THREAD            = 0C000071Ch
STATUS_CALLBACK_RETURNED_TRANSACTION = 0C000071Dh
STATUS_CALLBACK_RETURNED_LDR_LOCK = 0C000071Eh
STATUS_CALLBACK_RETURNED_LANG    = 0C000071Fh
STATUS_CALLBACK_RETURNED_PRI_BACK = 0C0000720h
STATUS_CALLBACK_RETURNED_THREAD_AFFINITY = 0C0000721h
STATUS_DISK_REPAIR_DISABLED      = 0C0000800h
STATUS_DS_DOMAIN_RENAME_IN_PROGRESS = 0C0000801h
STATUS_DISK_QUOTA_EXCEEDED       = 0C0000802h
STATUS_DATA_LOST_REPAIR          = 80000803h
STATUS_CONTENT_BLOCKED           = 0C0000804h
STATUS_BAD_CLUSTERS              = 0C0000805h
STATUS_VOLUME_DIRTY              = 0C0000806h
STATUS_FILE_CHECKED_OUT          = 0C0000901h
STATUS_CHECKOUT_REQUIRED         = 0C0000902h
STATUS_BAD_FILE_TYPE             = 0C0000903h
STATUS_FILE_TOO_LARGE            = 0C0000904h
STATUS_FORMS_AUTH_REQUIRED       = 0C0000905h
STATUS_VIRUS_INFECTED            = 0C0000906h
STATUS_VIRUS_DELETED             = 0C0000907h
STATUS_BAD_MCFG_TABLE            = 0C0000908h
STATUS_INVALID_SIGNATURE         = 0C000A000h
STATUS_HMAC_NOT_SUPPORTED        = 0C000A001h
STATUS_IPSEC_QUEUE_OVERFLOW      = 0C000A010h
STATUS_ND_QUEUE_OVERFLOW         = 0C000A011h
STATUS_HOPLIMIT_EXCEEDED         = 0C000A012h
STATUS_PROTOCOL_NOT_SUPPORTED    = 0C000A013h
STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED = 0C000A080h
STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR = 0C000A081h
STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR = 0C000A082h
STATUS_XML_PARSE_ERROR           = 0C000A083h
STATUS_XMLDSIG_ERROR             = 0C000A084h
STATUS_WRONG_COMPARTMENT         = 0C000A085h
STATUS_AUTHIP_FAILURE            = 0C000A086h
RPC_NT_PROXY_ACCESS_DENIED       = 0C0020064h
STATUS_CTX_LOGON_DISABLED        = 0C00A0037h
STATUS_CTX_SECURITY_LAYER_ERROR  = 0C00A0038h
STATUS_TS_INCOMPATIBLE_SESSIONS  = 0C00A0039h
STATUS_IO_REISSUE_AS_CACHED      = 0C0040039h
STATUS_MUI_FILE_NOT_FOUND        = 0C00B0001h
STATUS_MUI_INVALID_FILE          = 0C00B0002h
STATUS_MUI_INVALID_RC_CONFIG     = 0C00B0003h
STATUS_MUI_INVALID_LOCALE_NAME   = 0C00B0004h
STATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME = 0C00B0005h
STATUS_MUI_FILE_NOT_LOADED       = 0C00B0006h
STATUS_RESOURCE_ENUM_USER_STOP   = 0C00B0007h
STATUS_FLT_NO_HANDLER_DEFINED    = 0C01C0001h
STATUS_FLT_CONTEXT_ALREADY_DEFINED = 0C01C0002h
STATUS_FLT_INVALID_ASYNCHRONOUS_REQUEST = 0C01C0003h
STATUS_FLT_DISALLOW_FAST_IO      = 0C01C0004h
STATUS_FLT_INVALID_NAME_REQUEST  = 0C01C0005h
STATUS_FLT_NOT_SAFE_TO_POST_OPERATION = 0C01C0006h
STATUS_FLT_NOT_INITIALIZED       = 0C01C0007h
STATUS_FLT_FILTER_NOT_READY      = 0C01C0008h
STATUS_FLT_POST_OPERATION_CLEANUP = 0C01C0009h
STATUS_FLT_INTERNAL_ERROR        = 0C01C000Ah
STATUS_FLT_DELETING_OBJECT       = 0C01C000Bh
STATUS_FLT_MUST_BE_NONPAGED_POOL = 0C01C000Ch
STATUS_FLT_DUPLICATE_ENTRY       = 0C01C000Dh
STATUS_FLT_CBDQ_DISABLED         = 0C01C000Eh
STATUS_FLT_DO_NOT_ATTACH         = 0C01C000Fh
STATUS_FLT_DO_NOT_DETACH         = 0C01C0010h
STATUS_FLT_INSTANCE_ALTITUDE_COLLISION = 0C01C0011h
STATUS_FLT_INSTANCE_NAME_COLLISION = 0C01C0012h
STATUS_FLT_FILTER_NOT_FOUND      = 0C01C0013h
STATUS_FLT_VOLUME_NOT_FOUND      = 0C01C0014h
STATUS_FLT_INSTANCE_NOT_FOUND    = 0C01C0015h
STATUS_FLT_CONTEXT_ALLOCATION_NOT_FOUND = 0C01C0016h
STATUS_FLT_INVALID_CONTEXT_REGISTRATION = 0C01C0017h
STATUS_FLT_NAME_CACHE_MISS       = 0C01C0018h
STATUS_FLT_NO_DEVICE_OBJECT      = 0C01C0019h
STATUS_FLT_VOLUME_ALREADY_MOUNTED = 0C01C001Ah
STATUS_FLT_ALREADY_ENLISTED      = 0C01C001Bh
STATUS_FLT_CONTEXT_ALREADY_LINKED = 0C01C001Ch
STATUS_FLT_NO_WAITER_FOR_REPLY   = 0C01C0020h
STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE = 0C0150016h
STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME = 0C0150017h
STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE = 0C0150018h
STATUS_SXS_IDENTITY_PARSE_ERROR  = 0C0150019h
STATUS_SXS_COMPONENT_STORE_CORRUPT = 0C015001Ah
STATUS_SXS_FILE_HASH_MISMATCH    = 0C015001Bh
STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT = 0C015001Ch
STATUS_SXS_IDENTITIES_DIFFERENT  = 0C015001Dh
STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT = 0C015001Eh
STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY = 0C015001Fh
STATUS_ADVANCED_INSTALLER_FAILED = 0C0150020h
STATUS_XML_ENCODING_MISMATCH     = 0C0150021h
STATUS_SXS_MANIFEST_TOO_BIG      = 0C0150022h
STATUS_SXS_SETTING_NOT_REGISTERED = 0C0150023h
STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE = 0C0150024h
STATUS_SMI_PRIMITIVE_INSTALLER_FAILED = 0C0150025h
STATUS_GENERIC_COMMAND_FAILED    = 0C0150026h
STATUS_SXS_FILE_HASH_MISSING     = 0C0150027h
STATUS_TRANSACTIONAL_CONFLICT    = 0C0190001h
STATUS_INVALID_TRANSACTION       = 0C0190002h
STATUS_TRANSACTION_NOT_ACTIVE    = 0C0190003h
STATUS_TM_INITIALIZATION_FAILED  = 0C0190004h
STATUS_RM_NOT_ACTIVE             = 0C0190005h
STATUS_RM_METADATA_CORRUPT       = 0C0190006h
STATUS_TRANSACTION_NOT_JOINED    = 0C0190007h
STATUS_DIRECTORY_NOT_RM          = 0C0190008h
STATUS_COULD_NOT_RESIZE_LOG      = 80190009h
STATUS_TRANSACTIONS_UNSUPPORTED_REMOTE = 0C019000Ah
STATUS_LOG_RESIZE_INVALID_SIZE   = 0C019000Bh
STATUS_REMOTE_FILE_VERSION_MISMATCH = 0C019000Ch
STATUS_CRM_PROTOCOL_ALREADY_EXISTS = 0C019000Fh
STATUS_TRANSACTION_PROPAGATION_FAILED = 0C0190010h
STATUS_CRM_PROTOCOL_NOT_FOUND    = 0C0190011h
STATUS_TRANSACTION_SUPERIOR_EXISTS = 0C0190012h
STATUS_TRANSACTION_REQUEST_NOT_VALID = 0C0190013h
STATUS_TRANSACTION_NOT_REQUESTED = 0C0190014h
STATUS_TRANSACTION_ALREADY_ABORTED = 0C0190015h
STATUS_TRANSACTION_ALREADY_COMMITTED = 0C0190016h
STATUS_TRANSACTION_INVALID_MARSHALL_BUFFER = 0C0190017h
STATUS_CURRENT_TRANSACTION_NOT_VALID = 0C0190018h
STATUS_LOG_GROWTH_FAILED         = 0C0190019h
STATUS_OBJECT_NO_LONGER_EXISTS   = 0C0190021h
STATUS_STREAM_MINIVERSION_NOT_FOUND = 0C0190022h
STATUS_STREAM_MINIVERSION_NOT_VALID = 0C0190023h
STATUS_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION = 0C0190024h
STATUS_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT = 0C0190025h
STATUS_CANT_CREATE_MORE_STREAM_MINIVERSIONS = 0C0190026h
STATUS_HANDLE_NO_LONGER_VALID    = 0C0190028h
STATUS_NO_TXF_METADATA           = 80190029h
STATUS_LOG_CORRUPTION_DETECTED   = 0C0190030h
STATUS_CANT_RECOVER_WITH_HANDLE_OPEN = 80190031h
STATUS_RM_DISCONNECTED           = 0C0190032h
STATUS_ENLISTMENT_NOT_SUPERIOR   = 0C0190033h
STATUS_RECOVERY_NOT_NEEDED       = 40190034h
STATUS_RM_ALREADY_STARTED        = 40190035h
STATUS_FILE_IDENTITY_NOT_PERSISTENT = 0C0190036h
STATUS_CANT_BREAK_TRANSACTIONAL_DEPENDENCY = 0C0190037h
STATUS_CANT_CROSS_RM_BOUNDARY    = 0C0190038h
STATUS_TXF_DIR_NOT_EMPTY         = 0C0190039h
STATUS_INDOUBT_TRANSACTIONS_EXIST = 0C019003Ah
STATUS_TM_VOLATILE               = 0C019003Bh
STATUS_ROLLBACK_TIMER_EXPIRED    = 0C019003Ch
STATUS_TXF_ATTRIBUTE_CORRUPT     = 0C019003Dh
STATUS_EFS_NOT_ALLOWED_IN_TRANSACTION = 0C019003Eh
STATUS_TRANSACTIONAL_OPEN_NOT_ALLOWED = 0C019003Fh
STATUS_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE = 0C0190040h
STATUS_TXF_METADATA_ALREADY_PRESENT = 80190041h
STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET = 80190042h
STATUS_TRANSACTION_REQUIRED_PROMOTION = 0C0190043h
STATUS_CANNOT_EXECUTE_FILE_IN_TRANSACTION = 0C0190044h
STATUS_TRANSACTIONS_NOT_FROZEN   = 0C0190045h
STATUS_TRANSACTION_FREEZE_IN_PROGRESS = 0C0190046h
STATUS_NOT_SNAPSHOT_VOLUME       = 0C0190047h
STATUS_NO_SAVEPOINT_WITH_OPEN_FILES = 0C0190048h
STATUS_SPARSE_NOT_ALLOWED_IN_TRANSACTION = 0C0190049h
STATUS_TM_IDENTITY_MISMATCH      = 0C019004Ah
STATUS_FLOATED_SECTION           = 0C019004Bh
STATUS_CANNOT_ACCEPT_TRANSACTED_WORK = 0C019004Ch
STATUS_CANNOT_ABORT_TRANSACTIONS = 0C019004Dh
STATUS_TRANSACTION_NOT_FOUND     = 0C019004Eh
STATUS_RESOURCEMANAGER_NOT_FOUND = 0C019004Fh
STATUS_ENLISTMENT_NOT_FOUND      = 0C0190050h
STATUS_TRANSACTIONMANAGER_NOT_FOUND = 0C0190051h
STATUS_TRANSACTIONMANAGER_NOT_ONLINE = 0C0190052h
STATUS_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION = 0C0190053h
STATUS_TRANSACTION_NOT_ROOT      = 0C0190054h
STATUS_TRANSACTION_OBJECT_EXPIRED = 0C0190055h
STATUS_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION = 0C0190056h
STATUS_TRANSACTION_RESPONSE_NOT_ENLISTED = 0C0190057h
STATUS_TRANSACTION_RECORD_TOO_LONG = 0C0190058h
STATUS_NO_LINK_TRACKING_IN_TRANSACTION = 0C0190059h
STATUS_OPERATION_NOT_SUPPORTED_IN_TRANSACTION = 0C019005Ah
STATUS_TRANSACTION_INTEGRITY_VIOLATED = 0C019005Bh
STATUS_LOG_SECTOR_INVALID        = 0C01A0001h
STATUS_LOG_SECTOR_PARITY_INVALID = 0C01A0002h
STATUS_LOG_SECTOR_REMAPPED       = 0C01A0003h
STATUS_LOG_BLOCK_INCOMPLETE      = 0C01A0004h
STATUS_LOG_INVALID_RANGE         = 0C01A0005h
STATUS_LOG_BLOCKS_EXHAUSTED      = 0C01A0006h
STATUS_LOG_READ_CONTEXT_INVALID  = 0C01A0007h
STATUS_LOG_RESTART_INVALID       = 0C01A0008h
STATUS_LOG_BLOCK_VERSION         = 0C01A0009h
STATUS_LOG_BLOCK_INVALID         = 0C01A000Ah
STATUS_LOG_READ_MODE_INVALID     = 0C01A000Bh
STATUS_LOG_NO_RESTART            = 401A000Ch
STATUS_LOG_METADATA_CORRUPT      = 0C01A000Dh
STATUS_LOG_METADATA_INVALID      = 0C01A000Eh
STATUS_LOG_METADATA_INCONSISTENT = 0C01A000Fh
STATUS_LOG_RESERVATION_INVALID   = 0C01A0010h
STATUS_LOG_CANT_DELETE           = 0C01A0011h
STATUS_LOG_CONTAINER_LIMIT_EXCEEDED = 0C01A0012h
STATUS_LOG_START_OF_LOG          = 0C01A0013h
STATUS_LOG_POLICY_ALREADY_INSTALLED = 0C01A0014h
STATUS_LOG_POLICY_NOT_INSTALLED  = 0C01A0015h
STATUS_LOG_POLICY_INVALID        = 0C01A0016h
STATUS_LOG_POLICY_CONFLICT       = 0C01A0017h
STATUS_LOG_PINNED_ARCHIVE_TAIL   = 0C01A0018h
STATUS_LOG_RECORD_NONEXISTENT    = 0C01A0019h
STATUS_LOG_RECORDS_RESERVED_INVALID = 0C01A001Ah
STATUS_LOG_SPACE_RESERVED_INVALID = 0C01A001Bh
STATUS_LOG_TAIL_INVALID          = 0C01A001Ch
STATUS_LOG_FULL                  = 0C01A001Dh
STATUS_LOG_MULTIPLEXED           = 0C01A001Eh
STATUS_LOG_DEDICATED             = 0C01A001Fh
STATUS_LOG_ARCHIVE_NOT_IN_PROGRESS = 0C01A0020h
STATUS_LOG_ARCHIVE_IN_PROGRESS   = 0C01A0021h
STATUS_LOG_EPHEMERAL             = 0C01A0022h
STATUS_LOG_NOT_ENOUGH_CONTAINERS = 0C01A0023h
STATUS_LOG_CLIENT_ALREADY_REGISTERED = 0C01A0024h
STATUS_LOG_CLIENT_NOT_REGISTERED = 0C01A0025h
STATUS_LOG_FULL_HANDLER_IN_PROGRESS = 0C01A0026h
STATUS_LOG_CONTAINER_READ_FAILED = 0C01A0027h
STATUS_LOG_CONTAINER_WRITE_FAILED = 0C01A0028h
STATUS_LOG_CONTAINER_OPEN_FAILED = 0C01A0029h
STATUS_LOG_CONTAINER_STATE_INVALID = 0C01A002Ah
STATUS_LOG_STATE_INVALID         = 0C01A002Bh
STATUS_LOG_PINNED                = 0C01A002Ch
STATUS_LOG_METADATA_FLUSH_FAILED = 0C01A002Dh
STATUS_LOG_INCONSISTENT_SECURITY = 0C01A002Eh
STATUS_LOG_APPENDED_FLUSH_FAILED = 0C01A002Fh
STATUS_LOG_PINNED_RESERVATION    = 0C01A0030h
STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD = 0C01B00EAh
STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED = 801B00EBh
STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST = 401B00ECh
STATUS_MONITOR_NO_DESCRIPTOR     = 0C01D0001h
STATUS_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT = 0C01D0002h
STATUS_MONITOR_INVALID_DESCRIPTOR_CHECKSUM = 0C01D0003h
STATUS_MONITOR_INVALID_STANDARD_TIMING_BLOCK = 0C01D0004h
STATUS_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED = 0C01D0005h
STATUS_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK = 0C01D0006h
STATUS_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK = 0C01D0007h
STATUS_MONITOR_NO_MORE_DESCRIPTOR_DATA = 0C01D0008h
STATUS_MONITOR_INVALID_DETAILED_TIMING_BLOCK = 0C01D0009h
STATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER = 0C01E0000h
STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER = 0C01E0001h
STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER = 0C01E0002h
STATUS_GRAPHICS_ADAPTER_WAS_RESET = 0C01E0003h
STATUS_GRAPHICS_INVALID_DRIVER_MODEL = 0C01E0004h
STATUS_GRAPHICS_PRESENT_MODE_CHANGED = 0C01E0005h
STATUS_GRAPHICS_PRESENT_OCCLUDED = 0C01E0006h
STATUS_GRAPHICS_PRESENT_DENIED   = 0C01E0007h
STATUS_GRAPHICS_CANNOTCOLORCONVERT = 0C01E0008h
STATUS_GRAPHICS_DRIVER_MISMATCH  = 0C01E0009h
STATUS_GRAPHICS_PARTIAL_DATA_POPULATED = 401E000Ah
STATUS_GRAPHICS_NO_VIDEO_MEMORY  = 0C01E0100h
STATUS_GRAPHICS_CANT_LOCK_MEMORY = 0C01E0101h
STATUS_GRAPHICS_ALLOCATION_BUSY  = 0C01E0102h
STATUS_GRAPHICS_TOO_MANY_REFERENCES = 0C01E0103h
STATUS_GRAPHICS_TRY_AGAIN_LATER  = 0C01E0104h
STATUS_GRAPHICS_TRY_AGAIN_NOW    = 0C01E0105h
STATUS_GRAPHICS_ALLOCATION_INVALID = 0C01E0106h
STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE = 0C01E0107h
STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED = 0C01E0108h
STATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION = 0C01E0109h
STATUS_GRAPHICS_INVALID_ALLOCATION_USAGE = 0C01E0110h
STATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION = 0C01E0111h
STATUS_GRAPHICS_ALLOCATION_CLOSED = 0C01E0112h
STATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE = 0C01E0113h
STATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE = 0C01E0114h
STATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE = 0C01E0115h
STATUS_GRAPHICS_ALLOCATION_CONTENT_LOST = 0C01E0116h
STATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE = 0C01E0200h
STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY = 0C01E0300h
STATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED = 0C01E0301h
STATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED = 0C01E0302h
STATUS_GRAPHICS_INVALID_VIDPN    = 0C01E0303h
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE = 0C01E0304h
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET = 0C01E0305h
STATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED = 0C01E0306h
STATUS_GRAPHICS_MODE_NOT_PINNED  = 401E0307h
STATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET = 0C01E0308h
STATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET = 0C01E0309h
STATUS_GRAPHICS_INVALID_FREQUENCY = 0C01E030Ah
STATUS_GRAPHICS_INVALID_ACTIVE_REGION = 0C01E030Bh
STATUS_GRAPHICS_INVALID_TOTAL_REGION = 0C01E030Ch
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE = 0C01E0310h
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE = 0C01E0311h
STATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET = 0C01E0312h
STATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY = 0C01E0313h
STATUS_GRAPHICS_MODE_ALREADY_IN_MODESET = 0C01E0314h
STATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET = 0C01E0315h
STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET = 0C01E0316h
STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET = 0C01E0317h
STATUS_GRAPHICS_TARGET_ALREADY_IN_SET = 0C01E0318h
STATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH = 0C01E0319h
STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY = 0C01E031Ah
STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET = 0C01E031Bh
STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE = 0C01E031Ch
STATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET = 0C01E031Dh
STATUS_GRAPHICS_NO_PREFERRED_MODE = 401E031Eh
STATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET = 0C01E031Fh
STATUS_GRAPHICS_STALE_MODESET    = 0C01E0320h
STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET = 0C01E0321h
STATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE = 0C01E0322h
STATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN = 0C01E0323h
STATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE = 0C01E0324h
STATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION = 0C01E0325h
STATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES = 0C01E0326h
STATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY = 0C01E0327h
STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE = 0C01E0328h
STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET = 0C01E0329h
STATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET = 0C01E032Ah
STATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR = 0C01E032Bh
STATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET = 0C01E032Ch
STATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET = 0C01E032Dh
STATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE = 0C01E032Eh
STATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE = 0C01E032Fh
STATUS_GRAPHICS_RESOURCES_NOT_RELATED = 0C01E0330h
STATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE = 0C01E0331h
STATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE = 0C01E0332h
STATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET = 0C01E0333h
STATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER = 0C01E0334h
STATUS_GRAPHICS_NO_VIDPNMGR      = 0C01E0335h
STATUS_GRAPHICS_NO_ACTIVE_VIDPN  = 0C01E0336h
STATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY = 0C01E0337h
STATUS_GRAPHICS_MONITOR_NOT_CONNECTED = 0C01E0338h
STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY = 0C01E0339h
STATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE = 0C01E033Ah
STATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE = 0C01E033Bh
STATUS_GRAPHICS_INVALID_STRIDE   = 0C01E033Ch
STATUS_GRAPHICS_INVALID_PIXELFORMAT = 0C01E033Dh
STATUS_GRAPHICS_INVALID_COLORBASIS = 0C01E033Eh
STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE = 0C01E033Fh
STATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY = 0C01E0340h
STATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT = 0C01E0341h
STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE = 0C01E0342h
STATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN = 0C01E0343h
STATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL = 0C01E0344h
STATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION = 0C01E0345h
STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED = 0C01E0346h
STATUS_GRAPHICS_INVALID_GAMMA_RAMP = 0C01E0347h
STATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED = 0C01E0348h
STATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED = 0C01E0349h
STATUS_GRAPHICS_MODE_NOT_IN_MODESET = 0C01E034Ah
STATUS_GRAPHICS_DATASET_IS_EMPTY = 401E034Bh
STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET = 401E034Ch
STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON = 0C01E034Dh
STATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE = 0C01E034Eh
STATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE = 0C01E034Fh
STATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS = 0C01E0350h
STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED = 401E0351h
STATUS_GRAPHICS_INVALID_SCANLINE_ORDERING = 0C01E0352h
STATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED = 0C01E0353h
STATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS = 0C01E0354h
STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT = 0C01E0355h
STATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM = 0C01E0356h
STATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN = 0C01E0357h
STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT = 0C01E0358h
STATUS_GRAPHICS_MAX_NUM_PATHS_REACHED = 0C01E0359h
STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION = 0C01E035Ah
STATUS_GRAPHICS_INVALID_CLIENT_TYPE = 0C01E035Bh
STATUS_GRAPHICS_CLIENTVIDPN_NOT_SET = 0C01E035Ch
STATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED = 0C01E0400h
STATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED = 0C01E0401h
STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS = 401E042Fh
STATUS_GRAPHICS_NOT_A_LINKED_ADAPTER = 0C01E0430h
STATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED = 0C01E0431h
STATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED = 0C01E0432h
STATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY = 0C01E0433h
STATUS_GRAPHICS_CHAINLINKS_NOT_STARTED = 0C01E0434h
STATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON = 0C01E0435h
STATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE = 0C01E0436h
STATUS_GRAPHICS_LEADLINK_START_DEFERRED = 401E0437h
STATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER = 0C01E0438h
STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY = 401E0439h
STATUS_GRAPHICS_START_DEFERRED   = 401E043Ah
STATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED = 0C01E043Bh
STATUS_GRAPHICS_OPM_NOT_SUPPORTED = 0C01E0500h
STATUS_GRAPHICS_COPP_NOT_SUPPORTED = 0C01E0501h
STATUS_GRAPHICS_UAB_NOT_SUPPORTED = 0C01E0502h
STATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS = 0C01E0503h
STATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST = 0C01E0505h
STATUS_GRAPHICS_OPM_INTERNAL_ERROR = 0C01E050Bh
STATUS_GRAPHICS_OPM_INVALID_HANDLE = 0C01E050Ch
STATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH = 0C01E050Eh
STATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED = 0C01E050Fh
STATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED = 0C01E0510h
STATUS_GRAPHICS_PVP_HFS_FAILED   = 0C01E0511h
STATUS_GRAPHICS_OPM_INVALID_SRM  = 0C01E0512h
STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP = 0C01E0513h
STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP = 0C01E0514h
STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA = 0C01E0515h
STATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET = 0C01E0516h
STATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH = 0C01E0517h
STATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE = 0C01E0518h
STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS = 0C01E051Ah
STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS = 0C01E051Ch
STATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST = 0C01E051Dh
STATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR = 0C01E051Eh
STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS = 0C01E051Fh
STATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED = 0C01E0520h
STATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST = 0C01E0521h
STATUS_GRAPHICS_I2C_NOT_SUPPORTED = 0C01E0580h
STATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST = 0C01E0581h
STATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA = 0C01E0582h
STATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA = 0C01E0583h
STATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED = 0C01E0584h
STATUS_GRAPHICS_DDCCI_INVALID_DATA = 0C01E0585h
STATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE = 0C01E0586h
STATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING = 0C01E0587h
STATUS_GRAPHICS_MCA_INTERNAL_ERROR = 0C01E0588h
STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND = 0C01E0589h
STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH = 0C01E058Ah
STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM = 0C01E058Bh
STATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE = 0C01E058Ch
STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS = 0C01E058Dh
STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED = 0C01E05E0h
STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME = 0C01E05E1h
STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP = 0C01E05E2h
STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED = 0C01E05E3h
STATUS_GRAPHICS_INVALID_POINTER  = 0C01E05E4h
STATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE = 0C01E05E5h
STATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL = 0C01E05E6h
STATUS_GRAPHICS_INTERNAL_ERROR   = 0C01E05E7h
STATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS = 0C01E05E8h
STATUS_FVE_LOCKED_VOLUME         = 0C0210000h
STATUS_FVE_NOT_ENCRYPTED         = 0C0210001h
STATUS_FVE_BAD_INFORMATION       = 0C0210002h
STATUS_FVE_TOO_SMALL             = 0C0210003h
STATUS_FVE_FAILED_WRONG_FS       = 0C0210004h
STATUS_FVE_FAILED_BAD_FS         = 0C0210005h
STATUS_FVE_FS_NOT_EXTENDED       = 0C0210006h
STATUS_FVE_FS_MOUNTED            = 0C0210007h
STATUS_FVE_NO_LICENSE            = 0C0210008h
STATUS_FVE_ACTION_NOT_ALLOWED    = 0C0210009h
STATUS_FVE_BAD_DATA              = 0C021000Ah
STATUS_FVE_VOLUME_NOT_BOUND      = 0C021000Bh
STATUS_FVE_NOT_DATA_VOLUME       = 0C021000Ch
STATUS_FVE_CONV_READ_ERROR       = 0C021000Dh
STATUS_FVE_CONV_WRITE_ERROR      = 0C021000Eh
STATUS_FVE_OVERLAPPED_UPDATE     = 0C021000Fh
STATUS_FVE_FAILED_SECTOR_SIZE    = 0C0210010h
STATUS_FVE_FAILED_AUTHENTICATION = 0C0210011h
STATUS_FVE_NOT_OS_VOLUME         = 0C0210012h
STATUS_FVE_KEYFILE_NOT_FOUND     = 0C0210013h
STATUS_FVE_KEYFILE_INVALID       = 0C0210014h
STATUS_FVE_KEYFILE_NO_VMK        = 0C0210015h
STATUS_FVE_TPM_DISABLED          = 0C0210016h
STATUS_FVE_TPM_SRK_AUTH_NOT_ZERO = 0C0210017h
STATUS_FVE_TPM_INVALID_PCR       = 0C0210018h
STATUS_FVE_TPM_NO_VMK            = 0C0210019h
STATUS_FVE_PIN_INVALID           = 0C021001Ah
STATUS_FVE_AUTH_INVALID_APPLICATION = 0C021001Bh
STATUS_FVE_AUTH_INVALID_CONFIG   = 0C021001Ch
STATUS_FVE_DEBUGGER_ENABLED      = 0C021001Dh
STATUS_FVE_DRY_RUN_FAILED        = 0C021001Eh
STATUS_FVE_BAD_METADATA_POINTER  = 0C021001Fh
STATUS_FVE_OLD_METADATA_COPY     = 0C0210020h
STATUS_FVE_REBOOT_REQUIRED       = 0C0210021h
STATUS_FVE_RAW_ACCESS            = 0C0210022h
STATUS_FVE_RAW_BLOCKED           = 0C0210023h
STATUS_FWP_CALLOUT_NOT_FOUND     = 0C0220001h
STATUS_FWP_CONDITION_NOT_FOUND   = 0C0220002h
STATUS_FWP_FILTER_NOT_FOUND      = 0C0220003h
STATUS_FWP_LAYER_NOT_FOUND       = 0C0220004h
STATUS_FWP_PROVIDER_NOT_FOUND    = 0C0220005h
STATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND = 0C0220006h
STATUS_FWP_SUBLAYER_NOT_FOUND    = 0C0220007h
STATUS_FWP_NOT_FOUND             = 0C0220008h
STATUS_FWP_ALREADY_EXISTS        = 0C0220009h
STATUS_FWP_IN_USE                = 0C022000Ah
STATUS_FWP_DYNAMIC_SESSION_IN_PROGRESS = 0C022000Bh
STATUS_FWP_WRONG_SESSION         = 0C022000Ch
STATUS_FWP_NO_TXN_IN_PROGRESS    = 0C022000Dh
STATUS_FWP_TXN_IN_PROGRESS       = 0C022000Eh
STATUS_FWP_TXN_ABORTED           = 0C022000Fh
STATUS_FWP_SESSION_ABORTED       = 0C0220010h
STATUS_FWP_INCOMPATIBLE_TXN      = 0C0220011h
STATUS_FWP_TIMEOUT               = 0C0220012h
STATUS_FWP_NET_EVENTS_DISABLED   = 0C0220013h
STATUS_FWP_INCOMPATIBLE_LAYER    = 0C0220014h
STATUS_FWP_KM_CLIENTS_ONLY       = 0C0220015h
STATUS_FWP_LIFETIME_MISMATCH     = 0C0220016h
STATUS_FWP_BUILTIN_OBJECT        = 0C0220017h
STATUS_FWP_TOO_MANY_CALLOUTS     = 0C0220018h
STATUS_FWP_NOTIFICATION_DROPPED  = 0C0220019h
STATUS_FWP_TRAFFIC_MISMATCH      = 0C022001Ah
STATUS_FWP_INCOMPATIBLE_SA_STATE = 0C022001Bh
STATUS_FWP_NULL_POINTER          = 0C022001Ch
STATUS_FWP_INVALID_ENUMERATOR    = 0C022001Dh
STATUS_FWP_INVALID_FLAGS         = 0C022001Eh
STATUS_FWP_INVALID_NET_MASK      = 0C022001Fh
STATUS_FWP_INVALID_RANGE         = 0C0220020h
STATUS_FWP_INVALID_INTERVAL      = 0C0220021h
STATUS_FWP_ZERO_LENGTH_ARRAY     = 0C0220022h
STATUS_FWP_NULL_DISPLAY_NAME     = 0C0220023h
STATUS_FWP_INVALID_ACTION_TYPE   = 0C0220024h
STATUS_FWP_INVALID_WEIGHT        = 0C0220025h
STATUS_FWP_MATCH_TYPE_MISMATCH   = 0C0220026h
STATUS_FWP_TYPE_MISMATCH         = 0C0220027h
STATUS_FWP_OUT_OF_BOUNDS         = 0C0220028h
STATUS_FWP_RESERVED              = 0C0220029h
STATUS_FWP_DUPLICATE_CONDITION   = 0C022002Ah
STATUS_FWP_DUPLICATE_KEYMOD      = 0C022002Bh
STATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER = 0C022002Ch
STATUS_FWP_ACTION_INCOMPATIBLE_WITH_SUBLAYER = 0C022002Dh
STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_LAYER = 0C022002Eh
STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_CALLOUT = 0C022002Fh
STATUS_FWP_INCOMPATIBLE_AUTH_METHOD = 0C0220030h
STATUS_FWP_INCOMPATIBLE_DH_GROUP = 0C0220031h
STATUS_FWP_EM_NOT_SUPPORTED      = 0C0220032h
STATUS_FWP_NEVER_MATCH           = 0C0220033h
STATUS_FWP_PROVIDER_CONTEXT_MISMATCH = 0C0220034h
STATUS_FWP_INVALID_PARAMETER     = 0C0220035h
STATUS_FWP_TOO_MANY_SUBLAYERS    = 0C0220036h
STATUS_FWP_CALLOUT_NOTIFICATION_FAILED = 0C0220037h
STATUS_FWP_INVALID_AUTH_TRANSFORM = 0C0220038h
STATUS_FWP_INVALID_CIPHER_TRANSFORM = 0C0220039h
STATUS_FWP_TCPIP_NOT_READY       = 0C0220100h
STATUS_FWP_INJECT_HANDLE_CLOSING = 0C0220101h
STATUS_FWP_INJECT_HANDLE_STALE   = 0C0220102h
STATUS_FWP_CANNOT_PEND           = 0C0220103h
STATUS_NDIS_CLOSING              = 0C0230002h
STATUS_NDIS_BAD_VERSION          = 0C0230004h
STATUS_NDIS_BAD_CHARACTERISTICS  = 0C0230005h
STATUS_NDIS_ADAPTER_NOT_FOUND    = 0C0230006h
STATUS_NDIS_OPEN_FAILED          = 0C0230007h
STATUS_NDIS_DEVICE_FAILED        = 0C0230008h
STATUS_NDIS_MULTICAST_FULL       = 0C0230009h
STATUS_NDIS_MULTICAST_EXISTS     = 0C023000Ah
STATUS_NDIS_MULTICAST_NOT_FOUND  = 0C023000Bh
STATUS_NDIS_REQUEST_ABORTED      = 0C023000Ch
STATUS_NDIS_RESET_IN_PROGRESS    = 0C023000Dh
STATUS_NDIS_NOT_SUPPORTED        = 0C02300BBh
STATUS_NDIS_INVALID_PACKET       = 0C023000Fh
STATUS_NDIS_ADAPTER_NOT_READY    = 0C0230011h
STATUS_NDIS_INVALID_LENGTH       = 0C0230014h
STATUS_NDIS_INVALID_DATA         = 0C0230015h
STATUS_NDIS_BUFFER_TOO_SHORT     = 0C0230016h
STATUS_NDIS_INVALID_OID          = 0C0230017h
STATUS_NDIS_ADAPTER_REMOVED      = 0C0230018h
STATUS_NDIS_UNSUPPORTED_MEDIA    = 0C0230019h
STATUS_NDIS_GROUP_ADDRESS_IN_USE = 0C023001Ah
STATUS_NDIS_FILE_NOT_FOUND       = 0C023001Bh
STATUS_NDIS_ERROR_READING_FILE   = 0C023001Ch
STATUS_NDIS_ALREADY_MAPPED       = 0C023001Dh
STATUS_NDIS_RESOURCE_CONFLICT    = 0C023001Eh
STATUS_NDIS_MEDIA_DISCONNECTED   = 0C023001Fh
STATUS_NDIS_INVALID_ADDRESS      = 0C0230022h
STATUS_NDIS_INVALID_DEVICE_REQUEST = 0C0230010h
STATUS_NDIS_PAUSED               = 0C023002Ah
STATUS_NDIS_INTERFACE_NOT_FOUND  = 0C023002Bh
STATUS_NDIS_UNSUPPORTED_REVISION = 0C023002Ch
STATUS_NDIS_INVALID_PORT         = 0C023002Dh
STATUS_NDIS_INVALID_PORT_STATE   = 0C023002Eh
STATUS_NDIS_LOW_POWER_STATE      = 0C023002Fh
STATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED = 0C0232000h
STATUS_NDIS_DOT11_MEDIA_IN_USE   = 0C0232001h
STATUS_NDIS_DOT11_POWER_STATE_INVALID = 0C0232002h
STATUS_NDIS_INDICATION_REQUIRED  = 40230001h
STATUS_IPSEC_BAD_SPI             = 0C0360001h
STATUS_IPSEC_SA_LIFETIME_EXPIRED = 0C0360002h
STATUS_IPSEC_WRONG_SA            = 0C0360003h
STATUS_IPSEC_REPLAY_CHECK_FAILED = 0C0360004h
STATUS_IPSEC_INVALID_PACKET      = 0C0360005h
STATUS_IPSEC_INTEGRITY_CHECK_FAILED = 0C0360006h
STATUS_IPSEC_CLEAR_TEXT_DROP     = 0C0360007h

;;;; end ntstatus

;;;; lmserver

;-------------------------------------[ lmcons.h ]--------------------------------------
CNLEN = 15
LM20_CNLEN = 15
DNLEN = CNLEN
LM20_DNLEN = LM20_CNLEN
UNCLEN = CNLEN+2
LM20_UNCLEN = LM20_CNLEN+2
NNLEN = 80
LM20_NNLEN = 12
RMLEN = UNCLEN+1+NNLEN
LM20_RMLEN = LM20_UNCLEN+1+LM20_NNLEN
SNLEN = 80
LM20_SNLEN = 15
STXTLEN = 256
LM20_STXTLEN = 63
PATHLEN = 256
LM20_PATHLEN = 256
DEVLEN = 80
LM20_DEVLEN = 8
EVLEN = 16
UNLEN = 256
LM20_UNLEN = 20
GNLEN = UNLEN
LM20_GNLEN = LM20_UNLEN
PWLEN = 256
LM20_PWLEN = 14
SHPWLEN = 8
CLTYPE_LEN = 12
MAXCOMMENTSZ = 256
LM20_MAXCOMMENTSZ = 48
QNLEN = NNLEN
LM20_QNLEN = LM20_NNLEN
ALERTSZ = 128
MAXDEVENTRIES = 4*8
NETBIOS_NAME_LEN = 16
MAX_PREFERRED_LENGTH = -1
CRYPT_KEY_LEN = 7
CRYPT_TXT_LEN = 8
ENCRYPTED_PWLEN = 16
SESSION_PWLEN = 24
SESSION_CRYPT_KLEN = 21
PARMNUM_ALL = 0
PARM_ERROR_UNKNOWN = -1
PARM_ERROR_NONE = 0
PARMNUM_BASE_INFOLEVEL = 1000
MESSAGE_FILENAME equ "NETMSG";A
OS2MSG_FILENAME equ "BASE";A
HELP_MSG_FILENAME equ "NETH";A
BACKUP_MSG_FILENAME equ "BAK.MSG";A
PLATFORM_ID_DOS = 300
PLATFORM_ID_OS2 = 400
PLATFORM_ID_NT = 500
PLATFORM_ID_OSF = 600
PLATFORM_ID_VMS = 700
MIN_LANMAN_MESSAGE_ID = NERR_BASE
MAX_LANMAN_MESSAGE_ID = 5799

;==================================== LMServer.h =================================
SV_PLATFORM_ID_OS2 = 400
SV_PLATFORM_ID_NT = 500
MAJOR_VERSION_MASK = 0Fh
SV_TYPE_WORKSTATION = 1
SV_TYPE_SERVER = 2
SV_TYPE_SQLSERVER = 4
SV_TYPE_DOMAIN_CTRL = 8
SV_TYPE_DOMAIN_BAKCTRL = 10h
SV_TYPE_TIME_SOURCE = 20h
SV_TYPE_AFP = 40h
SV_TYPE_NOVELL = 80h
SV_TYPE_DOMAIN_MEMBER = 100h
SV_TYPE_PRINTQ_SERVER = 200h
SV_TYPE_DIALIN_SERVER = 400h
SV_TYPE_XENIX_SERVER = 800h
SV_TYPE_SERVER_UNIX = SV_TYPE_XENIX_SERVER
SV_TYPE_NT = 1000h
SV_TYPE_WFW = 2000h
SV_TYPE_SERVER_MFPN = 4000h
SV_TYPE_SERVER_NT = 8000h
SV_TYPE_POTENTIAL_BROWSER = 10000h
SV_TYPE_BACKUP_BROWSER = 20000h
SV_TYPE_MASTER_BROWSER = 40000h
SV_TYPE_DOMAIN_MASTER = 80000h
SV_TYPE_SERVER_OSF = 100000h
SV_TYPE_SERVER_VMS = 200000h
SV_TYPE_WINDOWS = 400000h
SV_TYPE_DFS = 800000h
SV_TYPE_CLUSTER_NT = 1000000h
SV_TYPE_DCE = 10000000h
SV_TYPE_ALTERNATE_XPORT = 20000000h
SV_TYPE_LOCAL_LIST_ONLY = 40000000h
SV_TYPE_DOMAIN_ENUM = 80000000h
SV_TYPE_ALL = 0FFFFFFFFh
SV_NODISC = (-1)
SV_USERSECURITY = 1
SV_SHARESECURITY = 0
SV_HIDDEN = 1
SV_VISIBLE = 0
SV_PLATFORM_ID_PARMNUM = 101
SV_NAME_PARMNUM = 102
SV_VERSION_MAJOR_PARMNUM = 103
SV_VERSION_MINOR_PARMNUM = 104
SV_TYPE_PARMNUM = 105
SV_COMMENT_PARMNUM = 5
SV_USERS_PARMNUM = 107
SV_DISC_PARMNUM = 10
SV_HIDDEN_PARMNUM = 16
SV_ANNOUNCE_PARMNUM = 17
SV_ANNDELTA_PARMNUM = 18
SV_USERPATH_PARMNUM = 112
SV_ULIST_MTIME_PARMNUM = 401
SV_GLIST_MTIME_PARMNUM = 402
SV_ALIST_MTIME_PARMNUM = 403
SV_ALERTS_PARMNUM = 11
SV_SECURITY_PARMNUM = 405
SV_NUMADMIN_PARMNUM = 406
SV_LANMASK_PARMNUM = 407
SV_GUESTACC_PARMNUM = 408
SV_CHDEVQ_PARMNUM = 410
SV_CHDEVJOBS_PARMNUM = 411
SV_CONNECTIONS_PARMNUM = 412
SV_SHARES_PARMNUM = 413
SV_OPENFILES_PARMNUM = 414
SV_SESSREQS_PARMNUM = 417
SV_ACTIVELOCKS_PARMNUM = 419
SV_NUMREQBUF_PARMNUM = 420
SV_NUMBIGBUF_PARMNUM = 422
SV_NUMFILETASKS_PARMNUM = 423
SV_ALERTSCHED_PARMNUM = 37
SV_ERRORALERT_PARMNUM = 38
SV_LOGONALERT_PARMNUM = 39
SV_ACCESSALERT_PARMNUM = 40
SV_DISKALERT_PARMNUM = 41
SV_NETIOALERT_PARMNUM = 42
SV_MAXAUDITSZ_PARMNUM = 43
SV_SRVHEURISTICS_PARMNUM = 431
SV_SESSOPENS_PARMNUM = 501
SV_SESSVCS_PARMNUM = 502
SV_OPENSEARCH_PARMNUM = 503
SV_SIZREQBUF_PARMNUM = 504
SV_INITWORKITEMS_PARMNUM = 505
SV_MAXWORKITEMS_PARMNUM = 506
SV_RAWWORKITEMS_PARMNUM = 507
SV_IRPSTACKSIZE_PARMNUM = 508
SV_MAXRAWBUFLEN_PARMNUM = 509
SV_SESSUSERS_PARMNUM = 510
SV_SESSCONNS_PARMNUM = 511
SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM = 512
SV_MAXPAGEDMEMORYUSAGE_PARMNUM = 513
SV_ENABLESOFTCOMPAT_PARMNUM = 514
SV_ENABLEFORCEDLOGOFF_PARMNUM = 515
SV_TIMESOURCE_PARMNUM = 516
SV_ACCEPTDOWNLEVELAPIS_PARMNUM = 517
SV_LMANNOUNCE_PARMNUM = 518
SV_DOMAIN_PARMNUM = 519
SV_MAXCOPYREADLEN_PARMNUM = 520
SV_MAXCOPYWRITELEN_PARMNUM = 521
SV_MINKEEPSEARCH_PARMNUM = 522
SV_MAXKEEPSEARCH_PARMNUM = 523
SV_MINKEEPCOMPLSEARCH_PARMNUM = 524
SV_MAXKEEPCOMPLSEARCH_PARMNUM = 525
SV_THREADCOUNTADD_PARMNUM = 526
SV_NUMBLOCKTHREADS_PARMNUM = 527
SV_SCAVTIMEOUT_PARMNUM = 528
SV_MINRCVQUEUE_PARMNUM = 529
SV_MINFREEWORKITEMS_PARMNUM = 530
SV_XACTMEMSIZE_PARMNUM = 531
SV_THREADPRIORITY_PARMNUM = 532
SV_MAXMPXCT_PARMNUM = 533
SV_OPLOCKBREAKWAIT_PARMNUM = 534
SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM = 535
SV_ENABLEOPLOCKS_PARMNUM = 536
SV_ENABLEOPLOCKFORCECLOSE_PARMNUM = 537
SV_ENABLEFCBOPENS_PARMNUM = 538
SV_ENABLERAW_PARMNUM = 539
SV_ENABLESHAREDNETDRIVES_PARMNUM = 540
SV_MINFREECONNECTIONS_PARMNUM = 541
SV_MAXFREECONNECTIONS_PARMNUM = 542
SV_INITSESSTABLE_PARMNUM = 543
SV_INITCONNTABLE_PARMNUM = 544
SV_INITFILETABLE_PARMNUM = 545
SV_INITSEARCHTABLE_PARMNUM = 546
SV_ALERTSCHEDULE_PARMNUM = 547
SV_ERRORTHRESHOLD_PARMNUM = 548
SV_NETWORKERRORTHRESHOLD_PARMNUM = 549
SV_DISKSPACETHRESHOLD_PARMNUM = 550
SV_MAXLINKDELAY_PARMNUM = 552
SV_MINLINKTHROUGHPUT_PARMNUM = 553
SV_LINKINFOVALIDTIME_PARMNUM = 554
SV_SCAVQOSINFOUPDATETIME_PARMNUM = 555
SV_MAXWORKITEMIDLETIME_PARMNUM = 556
SV_MAXRAWWORKITEMS_PARMNUM = 557
SV_PRODUCTTYPE_PARMNUM = 560
SV_SERVERSIZE_PARMNUM = 561
SV_CONNECTIONLESSAUTODISC_PARMNUM = 562
SV_SHARINGVIOLATIONRETRIES_PARMNUM = 563
SV_SHARINGVIOLATIONDELAY_PARMNUM = 564
SV_MAXGLOBALOPENSEARCH_PARMNUM = 565
SV_REMOVEDUPLICATESEARCHES_PARMNUM = 566
SV_LOCKVIOLATIONRETRIES_PARMNUM = 567
SV_LOCKVIOLATIONOFFSET_PARMNUM = 568
SV_LOCKVIOLATIONDELAY_PARMNUM = 569
SV_MDLREADSWITCHOVER_PARMNUM = 570
SV_CACHEDOPENLIMIT_PARMNUM = 571
SV_CRITICALTHREADS_PARMNUM = 572
SV_RESTRICTNULLSESSACCESS_PARMNUM = 573
SV_ENABLEWFW311DIRECTIPX_PARMNUM = 574
SV_OTHERQUEUEAFFINITY_PARMNUM = 575
SV_QUEUESAMPLESECS_PARMNUM = 576
SV_BALANCECOUNT_PARMNUM = 577
SV_PREFERREDAFFINITY_PARMNUM = 578
SV_MAXFREERFCBS_PARMNUM = 579
SV_MAXFREEMFCBS_PARMNUM = 580
SV_MAXFREELFCBS_PARMNUM = 581
SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM = 582
SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM = 583
SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM = 584
SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM = 585
SV_MAXTHREADSPERQUEUE_PARMNUM = 586
SV_CACHEDDIRECTORYLIMIT_PARMNUM = 587
SV_MAXCOPYLENGTH_PARMNUM = 588
SV_ENABLEBULKTRANSFER_PARMNUM = 589
SV_ENABLECOMPRESSION_PARMNUM = 590
SV_AUTOSHAREWKS_PARMNUM = 591
SV_AUTOSHARESERVER_PARMNUM = 592
SV_ENABLESECURITYSIGNATURE_PARMNUM = 593
SV_REQUIRESECURITYSIGNATURE_PARMNUM = 594
SV_MINCLIENTBUFFERSIZE_PARMNUM = 595
SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM = 596
SV_COMMENT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_COMMENT_PARMNUM)
SV_USERS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_USERS_PARMNUM)
SV_DISC_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_DISC_PARMNUM)
SV_HIDDEN_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_HIDDEN_PARMNUM)
SV_ANNOUNCE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ANNOUNCE_PARMNUM)
SV_ANNDELTA_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ANNDELTA_PARMNUM)
SV_SESSOPENS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SESSOPENS_PARMNUM)
SV_SESSVCS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SESSVCS_PARMNUM)
SV_OPENSEARCH_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_OPENSEARCH_PARMNUM)
SV_MAXWORKITEMS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMS_PARMNUM)
SV_MAXRAWBUFLEN_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXRAWBUFLEN_PARMNUM)
SV_SESSUSERS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SESSUSERS_PARMNUM)
SV_SESSCONNS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SESSCONNS_PARMNUM)
SV_MAXNONPAGEDMEMORYUSAGE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM)
SV_MAXPAGEDMEMORYUSAGE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXPAGEDMEMORYUSAGE_PARMNUM)
SV_ENABLESOFTCOMPAT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLESOFTCOMPAT_PARMNUM)
SV_ENABLEFORCEDLOGOFF_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEFORCEDLOGOFF_PARMNUM)
SV_TIMESOURCE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_TIMESOURCE_PARMNUM)
SV_LMANNOUNCE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_LMANNOUNCE_PARMNUM)
SV_MAXCOPYREADLEN_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYREADLEN_PARMNUM)
SV_MAXCOPYWRITELEN_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYWRITELEN_PARMNUM)
SV_MINKEEPSEARCH_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MINKEEPSEARCH_PARMNUM)
SV_MAXKEEPSEARCH_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPSEARCH_PARMNUM)
SV_MINKEEPCOMPLSEARCH_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MINKEEPCOMPLSEARCH_PARMNUM)
SV_MAXKEEPCOMPLSEARCH_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPCOMPLSEARCH_PARMNUM)
SV_SCAVTIMEOUT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SCAVTIMEOUT_PARMNUM)
SV_MINRCVQUEUE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MINRCVQUEUE_PARMNUM)
SV_MINFREEWORKITEMS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MINFREEWORKITEMS_PARMNUM)
SV_MAXMPXCT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXMPXCT_PARMNUM)
SV_OPLOCKBREAKWAIT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_OPLOCKBREAKWAIT_PARMNUM)
SV_OPLOCKBREAKRESPONSEWAIT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM)
SV_ENABLEOPLOCKS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKS_PARMNUM)
SV_ENABLEOPLOCKFORCECLOSE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKFORCECLOSE_PARMNUM)
SV_ENABLEFCBOPENS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEFCBOPENS_PARMNUM)
SV_ENABLERAW_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLERAW_PARMNUM)
SV_ENABLESHAREDNETDRIVES_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLESHAREDNETDRIVES_PARMNUM)
SV_MINFREECONNECTIONS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MINFREECONNECTIONS_PARMNUM)
SV_MAXFREECONNECTIONS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREECONNECTIONS_PARMNUM)
SV_INITSESSTABLE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_INITSESSTABLE_PARMNUM)
SV_INITCONNTABLE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_INITCONNTABLE_PARMNUM)
SV_INITFILETABLE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_INITFILETABLE_PARMNUM)
SV_INITSEARCHTABLE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_INITSEARCHTABLE_PARMNUM)
SV_ALERTSCHEDULE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ALERTSCHEDULE_PARMNUM)
SV_ERRORTHRESHOLD_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ERRORTHRESHOLD_PARMNUM)
SV_NETWORKERRORTHRESHOLD_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_NETWORKERRORTHRESHOLD_PARMNUM)
SV_DISKSPACETHRESHOLD_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_DISKSPACETHRESHOLD_PARMNUM)
SV_MAXLINKDELAY_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXLINKDELAY_PARMNUM)
SV_MINLINKTHROUGHPUT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MINLINKTHROUGHPUT_PARMNUM)
SV_LINKINFOVALIDTIME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_LINKINFOVALIDTIME_PARMNUM)
SV_SCAVQOSINFOUPDATETIME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SCAVQOSINFOUPDATETIME_PARMNUM)
SV_MAXWORKITEMIDLETIME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMIDLETIME_PARMNUM)
SV_MAXRAWWORKITEMS_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXRAWWORKITEMS_PARMNUM)
SV_PRODUCTTYPE_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_PRODUCTTYPE_PARMNUM)
SV_SERVERSIZE_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SERVERSIZE_PARMNUM)
SV_CONNECTIONLESSAUTODISC_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_CONNECTIONLESSAUTODISC_PARMNUM)
SV_SHARINGVIOLATIONRETRIES_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SHARINGVIOLATIONRETRIES_PARMNUM)
SV_SHARINGVIOLATIONDELAY_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SHARINGVIOLATIONDELAY_PARMNUM)
SV_MAXGLOBALOPENSEARCH_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXGLOBALOPENSEARCH_PARMNUM)
SV_REMOVEDUPLICATESEARCHES_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_REMOVEDUPLICATESEARCHES_PARMNUM)
SV_LOCKVIOLATIONRETRIES_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONRETRIES_PARMNUM)
SV_LOCKVIOLATIONOFFSET_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONOFFSET_PARMNUM)
SV_LOCKVIOLATIONDELAY_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONDELAY_PARMNUM)
SV_MDLREADSWITCHOVER_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MDLREADSWITCHOVER_PARMNUM)
SV_CACHEDOPENLIMIT_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_CACHEDOPENLIMIT_PARMNUM)
SV_CRITICALTHREADS_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_CRITICALTHREADS_PARMNUM)
SV_RESTRICTNULLSESSACCESS_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_RESTRICTNULLSESSACCESS_PARMNUM)
SV_ENABLEWFW311DIRECTIPX_INFOLOEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEWFW311DIRECTIPX_PARMNUM)
SV_OTHERQUEUEAFFINITY_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_OTHERQUEUEAFFINITY_PARMNUM)
SV_QUEUESAMPLESECS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_QUEUESAMPLESECS_PARMNUM)
SV_BALANCECOUNT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_BALANCECOUNT_PARMNUM)
SV_PREFERREDAFFINITY_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_PREFERREDAFFINITY_PARMNUM)
SV_MAXFREERFCBS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREERFCBS_PARMNUM)
SV_MAXFREEMFCBS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREEMFCBS_PARMNUM)
SV_MAXFREELFCBS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREELFCBS_PARMNUM)
SV_MAXFREEPAGEDPOOLCHUNKS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM)
SV_MINPAGEDPOOLCHUNKSIZE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM)
SV_MAXPAGEDPOOLCHUNKSIZE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM)
SV_SENDSFROMPREFERREDPROCESSOR_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM)
SV_MAXTHREADSPERQUEUE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXTHREADSPERQUEUE_PARMNUM)
SV_CACHEDDIRECTORYLIMIT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_CACHEDDIRECTORYLIMIT_PARMNUM)
SV_MAXCOPYLENGTH_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYLENGTH_PARMNUM)
SV_ENABLEBULKTRANSFER_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEBULKTRANSFER_PARMNUM)
SV_ENABLECOMPRESSION_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLECOMPRESSION_PARMNUM)
SV_AUTOSHAREWKS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_AUTOSHAREWKS_PARMNUM)
SV_AUTOSHARESERVER_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_AUTOSHARESERVER_PARMNUM)
SV_ENABLESECURITYSIGNATURE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENABLESECURITYSIGNATURE_PARMNUM)
SV_REQUIRESECURITYSIGNATURE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_REQUIRESECURITYSIGNATURE_PARMNUM)
SV_MINCLIENTBUFFERSIZE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_MINCLIENTBUFFERSIZE_PARMNUM)
SV_CONNECTIONNOSESSIONSTIMEOUT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM)
SVI1_NUM_ELEMENTS = 5
SVI2_NUM_ELEMENTS = 40
SVI3_NUM_ELEMENTS = 44
SV_MAX_CMD_LEN = PATHLEN
SW_AUTOPROF_LOAD_MASK = 1
SW_AUTOPROF_SAVE_MASK = 2
SV_MAX_SRV_HEUR_LEN = 32
SV_USERS_PER_LICENSE = 5
SVTI2_REMAP_PIPE_NAMES = 2

SERVER_INFO_100 struct
    sv100_platform_id dd ?
    sv100_name dd ?
SERVER_INFO_100 ends

SERVER_INFO_101 struct
    sv101_platform_id dd ?
    sv101_name dd ?
    sv101_version_major dd ?
    sv101_version_minor dd ?
    sv101_type dd ?
    sv101_comment dd ?
SERVER_INFO_101 ends

SERVER_INFO_102 struct
     sv102_platform_id dd ?
     sv102_name dd ?
     sv102_version_major dd ?
     sv102_version_minor dd ?
     sv102_type dd ?
     sv102_comment dd ?
     sv102_users dd ?
     sv102_disc dd ?
     sv102_hidden dd ?
     sv102_announce dd ?
     sv102_anndelta dd ?
     sv102_licenses dd ?
     sv102_userpath dd ?
SERVER_INFO_102 ends

SERVER_INFO_402  struct
     sv402_ulist_mtime dd ?
     sv402_glist_mtime dd ?
     sv402_alist_mtime dd ?
     sv402_alerts dd ?
     sv402_security dd ?
     sv402_numadmin dd ?
     sv402_lanmask dd ?
     sv402_guestacct dd ?
     sv402_chdevs dd ?
     sv402_chdevq dd ?
     sv402_chdevjobs dd ?
     sv402_connections dd ?
     sv402_shares dd ?
     sv402_openfiles dd ?
     sv402_sessopens dd ?
     sv402_sessvcs dd ?
     sv402_sessreqs dd ?
     sv402_opensearch dd ?
     sv402_activelocks dd ?
     sv402_numreqbuf dd ?
     sv402_sizreqbuf dd ?
     sv402_numbigbuf dd ?
     sv402_numfiletasks dd ?
     sv402_alertsched dd ?
     sv402_erroralert dd ?
     sv402_logonalert dd ?
     sv402_accessalert dd ?
     sv402_diskalert dd ?
     sv402_netioalert dd ?
     sv402_maxauditsz dd ?
     sv402_srvheuristics dd ?
SERVER_INFO_402 ends

SERVER_INFO_403 struct
     sv403_ulist_mtime dd ?
     sv403_glist_mtime dd ?
     sv403_alist_mtime dd ?
     sv403_alerts dd ?
     sv403_security dd ?
     sv403_numadmin dd ?
     sv403_lanmask dd ?
     sv403_guestacct dd ?
     sv403_chdevs dd ?
     sv403_chdevq dd ?
     sv403_chdevjobs dd ?
     sv403_connections dd ?
     sv403_shares dd ?
     sv403_openfiles dd ?
     sv403_sessopens dd ?
     sv403_sessvcs dd ?
     sv403_sessreqs dd ?
     sv403_opensearch dd ?
     sv403_activelocks dd ?
     sv403_numreqbuf dd ?
     sv403_sizreqbuf dd ?
     sv403_numbigbuf dd ?
     sv403_numfiletasks dd ?
     sv403_alertsched dd ?
     sv403_erroralert dd ?
     sv403_logonalert dd ?
     sv403_accessalert dd ?
     sv403_diskalert dd ?
     sv403_netioalert dd ?
     sv403_maxauditsz dd ?
     sv403_srvheuristics dd ?
     sv403_auditedevents dd ?
     sv403_autoprofile dd ?
     sv403_autopath dd ?
SERVER_INFO_403 ends

SERVER_INFO_502 struct
    sv502_sessopens dd ?
    sv502_sessvcs dd ?
    sv502_opensearch dd ?
    sv502_sizreqbuf dd ?
    sv502_initworkitems dd ?
    sv502_maxworkitems dd ?
    sv502_rawworkitems dd ?
    sv502_irpstacksize dd ?
    sv502_maxrawbuflen dd ?
    sv502_sessusers dd ?
    sv502_sessconns dd ?
    sv502_maxpagedmemoryusage dd ?
    sv502_maxnonpagedmemoryusage dd ?
    sv502_enablesoftcompat dd ?
    sv502_enableforcedlogoff dd ?
    sv502_timesource dd ?
    sv502_acceptdownlevelapis dd ?
    sv502_lmannounce dd ?
SERVER_INFO_502 ends

SERVER_INFO_503 struct
    sv503_sessopens dd ?
    sv503_sessvcs dd ?
    sv503_opensearch dd ?
    sv503_sizreqbuf dd ?
    sv503_initworkitems dd ?
    sv503_maxworkitems dd ?
    sv503_rawworkitems dd ?
    sv503_irpstacksize dd ?
    sv503_maxrawbuflen dd ?
    sv503_sessusers dd ?
    sv503_sessconns dd ?
    sv503_maxpagedmemoryusage dd ?
    sv503_maxnonpagedmemoryusage dd ?
    sv503_enablesoftcompat dd ?
    sv503_enableforcedlogoff dd ?
    sv503_timesource dd ?
    sv503_acceptdownlevelapis dd ?
    sv503_lmannounce dd ?
    sv503_domain dd ?
    sv503_maxcopyreadlen dd ?
    sv503_maxcopywritelen dd ?
    sv503_minkeepsearch dd ?
    sv503_maxkeepsearch dd ?
    sv503_minkeepcomplsearch dd ?
    sv503_maxkeepcomplsearch dd ?
    sv503_threadcountadd dd ?
    sv503_numblockthreads dd ?
    sv503_scavtimeout dd ?
    sv503_minrcvqueue dd ?
    sv503_minfreeworkitems dd ?
    sv503_xactmemsize dd ?
    sv503_threadpriority dd ?
    sv503_maxmpxct dd ?
    sv503_oplockbreakwait dd ?
    sv503_oplockbreakresponsewait dd ?
    sv503_enableoplocks dd ?
    sv503_enableoplockforceclose dd ?
    sv503_enablefcbopens dd ?
    sv503_enableraw dd ?
    sv503_enablesharednetdrives dd ?
    sv503_minfreeconnections dd ?
    sv503_maxfreeconnections dd ?
SERVER_INFO_503 ends

SERVER_INFO_599 struct
    sv599_sessopens dd ?
    sv599_sessvcs dd ?
    sv599_opensearch dd ?
    sv599_sizreqbuf dd ?
    sv599_initworkitems dd ?
    sv599_maxworkitems dd ?
    sv599_rawworkitems dd ?
    sv599_irpstacksize dd ?
    sv599_maxrawbuflen dd ?
    sv599_sessusers dd ?
    sv599_sessconns dd ?
    sv599_maxpagedmemoryusage dd ?
    sv599_maxnonpagedmemoryusage dd ?
    sv599_enablesoftcompat dd ?
    sv599_enableforcedlogoff dd ?
    sv599_timesource dd ?
    sv599_acceptdownlevelapis dd ?
    sv599_lmannounce dd ?
    sv599_domain dd ?
    sv599_maxcopyreadlen dd ?
    sv599_maxcopywritelen dd ?
    sv599_minkeepsearch dd ?
    sv599_maxkeepsearch dd ?
    sv599_minkeepcomplsearch dd ?
    sv599_maxkeepcomplsearch dd ?
    sv599_threadcountadd dd ?
    sv599_numblockthreads dd ?
    sv599_scavtimeout dd ?
    sv599_minrcvqueue dd ?
    sv599_minfreeworkitems dd ?
    sv599_xactmemsize dd ?
    sv599_threadpriority dd ?
    sv599_maxmpxct dd ?
    sv599_oplockbreakwait dd ?
    sv599_oplockbreakresponsewait dd ?
    sv599_enableoplocks dd ?
    sv599_enableoplockforceclose dd ?
    sv599_enablefcbopens dd ?
    sv599_enableraw dd ?
    sv599_enablesharednetdrives dd ?
    sv599_minfreeconnections dd ?
    sv599_maxfreeconnections dd ?
    sv599_initsesstable dd ?
    sv599_initconntable dd ?
    sv599_initfiletable dd ?
    sv599_initsearchtable dd ?
    sv599_alertschedule dd ?
    sv599_errorthreshold dd ?
    sv599_networkerrorthreshold dd ?
    sv599_diskspacethreshold dd ?
    sv599_reserved dd ?
    sv599_maxlinkdelay dd ?
    sv599_minlinkthroughput dd ?
    sv599_linkinfovalidtime dd ?
    sv599_scavqosinfoupdatetime dd ?
    sv599_maxworkitemidletime dd ?
SERVER_INFO_599 ends

SERVER_INFO_598 struct
    sv598_maxrawworkitems dd ?
    sv598_maxthreadsperqueue dd ?
    sv598_producttype dd ?
    sv598_serversize dd ?
    sv598_connectionlessautodisc dd ?
    sv598_sharingviolationretries dd ?
    sv598_sharingviolationdelay dd ?
    sv598_maxglobalopensearch dd ?
    sv598_removeduplicatesearches dd ?
    sv598_lockviolationoffset dd ?
    sv598_lockviolationdelay dd ?
    sv598_mdlreadswitchover dd ?
    sv598_cachedopenlimit dd ?
    sv598_otherqueueaffinity dd ?
    sv598_restrictnullsessaccess dd ?
    sv598_enablewfw311directipx dd ?
    sv598_queuesamplesecs dd ?
    sv598_balancecount dd ?
    sv598_preferredaffinity dd ?
    sv598_maxfreerfcbs dd ?
    sv598_maxfreemfcbs dd ?
    sv598_maxfreelfcbs dd ?
    sv598_maxfreepagedpoolchunks dd ?
    sv598_minpagedpoolchunksize dd ?
    sv598_maxpagedpoolchunksize dd ?
    sv598_sendsfrompreferredprocessor dd ?
    sv598_cacheddirectorylimit dd ?
    sv598_maxcopylength dd ?
    sv598_enablebulktransfer dd ?
    sv598_enablecompression dd ?
    sv598_autosharewks dd ?
    sv598_autoshareserver dd ?
    sv598_enablesecuritysignature dd ?
    sv598_requiresecuritysignature dd ?
    sv598_minclientbuffersize dd ?
    sv598_serverguid GUID <>
    sv598_ConnectionNoSessionsTimeout dd ?
SERVER_INFO_598 ends

SERVER_INFO_1005 struct
    sv1005_comment dd ?
SERVER_INFO_1005 ends

SERVER_INFO_1107 struct
    sv1107_users dd ?
SERVER_INFO_1107 ends

SERVER_INFO_1010 struct
    sv1010_disc dd ?
SERVER_INFO_1010 ends

SERVER_INFO_1016 struct
    sv1016_hidden dd ?
SERVER_INFO_1016 ends

SERVER_INFO_1017 struct
    sv1017_announce dd ?
SERVER_INFO_1017 ends

SERVER_INFO_1018 struct
    sv1018_anndelta dd ?
SERVER_INFO_1018 ends

SERVER_INFO_1501 struct
    sv1501_sessopens dd ?
SERVER_INFO_1501 ends

SERVER_INFO_1502 struct
    sv1502_sessvcs dd ?
SERVER_INFO_1502 ends

SERVER_INFO_1503 struct
    sv1503_opensearch dd ?
SERVER_INFO_1503 ends

SERVER_INFO_1506 struct
    sv1506_maxworkitems dd ?
SERVER_INFO_1506 ends

SERVER_INFO_1509 struct
    sv1509_maxrawbuflen dd ?
SERVER_INFO_1509 ends

SERVER_INFO_1510 struct
    sv1510_sessusers dd ?
SERVER_INFO_1510 ends

SERVER_INFO_1511 struct
    sv1511_sessconns dd ?
SERVER_INFO_1511 ends

SERVER_INFO_1512 struct
    sv1512_maxnonpagedmemoryusage dd ?
SERVER_INFO_1512 ends

SERVER_INFO_1513 struct
    sv1513_maxpagedmemoryusage dd ?
SERVER_INFO_1513 ends

SERVER_INFO_1514 struct
    sv1514_enablesoftcompat dd ?
SERVER_INFO_1514 ends

SERVER_INFO_1515 struct
    sv1515_enableforcedlogoff dd ?
SERVER_INFO_1515 ends

SERVER_INFO_1516 struct
    sv1516_timesource dd ?
SERVER_INFO_1516 ends

SERVER_INFO_1518 struct
    sv1518_lmannounce dd ?
SERVER_INFO_1518 ends

SERVER_INFO_1520 struct
    sv1520_maxcopyreadlen dd ?
SERVER_INFO_1520 ends

SERVER_INFO_1521 struct
    sv1521_maxcopywritelen dd ?
SERVER_INFO_1521 ends

SERVER_INFO_1522 struct
    sv1522_minkeepsearch dd ?
SERVER_INFO_1522 ends

SERVER_INFO_1523 struct
    sv1523_maxkeepsearch dd ?
SERVER_INFO_1523 ends

SERVER_INFO_1524 struct
    sv1524_minkeepcomplsearch dd ?
SERVER_INFO_1524 ends

SERVER_INFO_1525 struct
    sv1525_maxkeepcomplsearch dd ?
SERVER_INFO_1525 ends

SERVER_INFO_1528 struct
    sv1528_scavtimeout dd ?
SERVER_INFO_1528 ends

SERVER_INFO_1529 struct
    sv1529_minrcvqueue dd ?
SERVER_INFO_1529 ends

SERVER_INFO_1530 struct
    sv1530_minfreeworkitems dd ?
SERVER_INFO_1530 ends

SERVER_INFO_1533 struct
    sv1533_maxmpxct dd ?
SERVER_INFO_1533 ends

SERVER_INFO_1534 struct
    sv1534_oplockbreakwait dd ?
SERVER_INFO_1534 ends

SERVER_INFO_1535 struct
    sv1535_oplockbreakresponsewait dd ?
SERVER_INFO_1535 ends

SERVER_INFO_1536 struct
    sv1536_enableoplocks dd ?
SERVER_INFO_1536 ends

SERVER_INFO_1537 struct
    sv1537_enableoplockforceclose dd ?
SERVER_INFO_1537 ends

SERVER_INFO_1538 struct
    sv1538_enablefcbopens dd ?
SERVER_INFO_1538 ends

SERVER_INFO_1539 struct
    sv1539_enableraw dd ?
SERVER_INFO_1539 ends

SERVER_INFO_1540 struct
    sv1540_enablesharednetdrives dd ?
SERVER_INFO_1540 ends

SERVER_INFO_1541 struct
    sv1541_minfreeconnections dd ?
SERVER_INFO_1541 ends

SERVER_INFO_1542 struct
    sv1542_maxfreeconnections dd ?
SERVER_INFO_1542 ends

SERVER_INFO_1543 struct
    sv1543_initsesstable dd ?
SERVER_INFO_1543 ends

SERVER_INFO_1544 struct
    sv1544_initconntable dd ?
SERVER_INFO_1544 ends

SERVER_INFO_1545 struct
    sv1545_initfiletable dd ?
SERVER_INFO_1545 ends

SERVER_INFO_1546 struct
    sv1546_initsearchtable dd ?
SERVER_INFO_1546 ends

SERVER_INFO_1547 struct
    sv1547_alertschedule dd ?
SERVER_INFO_1547 ends

SERVER_INFO_1548 struct
    sv1548_errorthreshold dd ?
SERVER_INFO_1548 ends

SERVER_INFO_1549 struct
    sv1549_networkerrorthreshold dd ?
SERVER_INFO_1549 ends

SERVER_INFO_1550 struct
    sv1550_diskspacethreshold dd ?
SERVER_INFO_1550 ends

SERVER_INFO_1552 struct
    sv1552_maxlinkdelay dd ?
SERVER_INFO_1552 ends

SERVER_INFO_1553 struct
    sv1553_minlinkthroughput dd ?
SERVER_INFO_1553 ends

SERVER_INFO_1554 struct
    sv1554_linkinfovalidtime dd ?
SERVER_INFO_1554 ends

SERVER_INFO_1555 struct
    sv1555_scavqosinfoupdatetime dd ?
SERVER_INFO_1555 ends

SERVER_INFO_1556 struct
    sv1556_maxworkitemidletime dd ?
SERVER_INFO_1556 ends

SERVER_INFO_1557 struct
    sv1557_maxrawworkitems dd ?
SERVER_INFO_1557 ends

SERVER_INFO_1560 struct
    sv1560_producttype dd ?
SERVER_INFO_1560 ends

SERVER_INFO_1561 struct
    sv1561_serversize dd ?
SERVER_INFO_1561 ends

SERVER_INFO_1562 struct
    sv1562_connectionlessautodisc dd ?
SERVER_INFO_1562 ends

SERVER_INFO_1563 struct
    sv1563_sharingviolationretries dd ?
SERVER_INFO_1563 ends

SERVER_INFO_1564 struct
    sv1564_sharingviolationdelay dd ?
SERVER_INFO_1564 ends

SERVER_INFO_1565 struct
    sv1565_maxglobalopensearch dd ?
SERVER_INFO_1565 ends

SERVER_INFO_1566 struct
    sv1566_removeduplicatesearches dd ?
SERVER_INFO_1566 ends

SERVER_INFO_1567 struct
    sv1567_lockviolationretries dd ?
SERVER_INFO_1567 ends

SERVER_INFO_1568 struct
    sv1568_lockviolationoffset dd ?
SERVER_INFO_1568 ends

SERVER_INFO_1569 struct
    sv1569_lockviolationdelay dd ?
SERVER_INFO_1569 ends

SERVER_INFO_1570 struct
    sv1570_mdlreadswitchover dd ?
SERVER_INFO_1570 ends

SERVER_INFO_1571 struct
    sv1571_cachedopenlimit dd ?
SERVER_INFO_1571 ends

SERVER_INFO_1572 struct
    sv1572_criticalthreads dd ?
SERVER_INFO_1572 ends

SERVER_INFO_1573 struct
    sv1573_restrictnullsessaccess dd ?
SERVER_INFO_1573 ends

SERVER_INFO_1574 struct
    sv1574_enablewfw311directipx dd ?
SERVER_INFO_1574 ends

SERVER_INFO_1575 struct
    sv1575_otherqueueaffinity dd ?
SERVER_INFO_1575 ends

SERVER_INFO_1576 struct
    sv1576_queuesamplesecs dd ?
SERVER_INFO_1576 ends

SERVER_INFO_1577 struct
    sv1577_balancecount dd ?
SERVER_INFO_1577 ends

SERVER_INFO_1578 struct
    sv1578_preferredaffinity dd ?
SERVER_INFO_1578 ends

SERVER_INFO_1579 struct
    sv1579_maxfreerfcbs dd ?
SERVER_INFO_1579 ends

SERVER_INFO_1580 struct
    sv1580_maxfreemfcbs dd ?
SERVER_INFO_1580 ends

SERVER_INFO_1581 struct
    sv1581_maxfreemlcbs dd ?
SERVER_INFO_1581 ends

SERVER_INFO_1582 struct
    sv1582_maxfreepagedpoolchunks dd ?
SERVER_INFO_1582 ends

SERVER_INFO_1583 struct
    sv1583_minpagedpoolchunksize dd ?
SERVER_INFO_1583 ends

SERVER_INFO_1584 struct
    sv1584_maxpagedpoolchunksize dd ?
SERVER_INFO_1584 ends

SERVER_INFO_1585 struct
    sv1585_sendsfrompreferredprocessor dd ?
SERVER_INFO_1585 ends

SERVER_INFO_1586 struct
    sv1586_maxthreadsperqueue dd ?
SERVER_INFO_1586 ends

SERVER_INFO_1587 struct
    sv1587_cacheddirectorylimit dd ?
SERVER_INFO_1587 ends

SERVER_INFO_1588 struct
    sv1588_maxcopylength dd ?
SERVER_INFO_1588 ends

SERVER_INFO_1589 struct
    sv1589_enablebulktransfer dd ?
SERVER_INFO_1589 ends

SERVER_INFO_1590 struct
    sv1590_enablecompression dd ?
SERVER_INFO_1590 ends

SERVER_INFO_1591 struct
    sv1591_autosharewks dd ?
SERVER_INFO_1591 ends

SERVER_INFO_1592 struct
    sv1592_autosharewks dd ?
SERVER_INFO_1592 ends

SERVER_INFO_1593 struct
    sv1593_enablesecuritysignature dd ?
SERVER_INFO_1593 ends

SERVER_INFO_1594 struct
    sv1594_requiresecuritysignature dd ?
SERVER_INFO_1594 ends

SERVER_INFO_1595 struct
    sv1595_minclientbuffersize dd ?
SERVER_INFO_1595 ends

SERVER_INFO_1596 struct
    sv1596_ConnectionNoSessionsTimeout dd ?
SERVER_INFO_1596 ends

SERVER_TRANSPORT_INFO_0 struct
    svti0_numberofvcs dd ?
    svti0_transportname dd ?
    svti0_transportaddress dd ?
    svti0_transportaddresslength dd ?
    svti0_networkaddress dd ?
SERVER_TRANSPORT_INFO_0 ends

SERVER_TRANSPORT_INFO_1 struct
    svti1_numberofvcs dd ?
    svti1_transportname dd ?
    svti1_transportaddress dd ?
    svti1_transportaddresslength dd ?
    svti1_networkaddress dd ?
    svti1_domain dd ?
SERVER_TRANSPORT_INFO_1 ends

SERVER_TRANSPORT_INFO_2 struct
    svti2_numberofvcs dd ?
    svti2_transportname dd ?
    svti2_transportaddress dd ?
    svti2_transportaddresslength dd ?
    svti2_networkaddress dd ?
    svti2_domain dd ?
    svti2_flags dd ?
SERVER_TRANSPORT_INFO_2 ends

;------------------------------------------------------ LMERR.H --------------------------------------------
NERR_Success = 0
NERR_BASE = 2100
NERR_NetNotStarted = (NERR_BASE+2)
NERR_UnknownServer = (NERR_BASE+3)
NERR_ShareMem = (NERR_BASE+4)
NERR_NoNetworkResource = (NERR_BASE+5)
NERR_RemoteOnly = (NERR_BASE+6)
NERR_DevNotRedirected = (NERR_BASE+7)
NERR_ServerNotStarted = (NERR_BASE+14)
NERR_ItemNotFound = (NERR_BASE+15)
NERR_UnknownDevDir = (NERR_BASE+16)
NERR_RedirectedPath = (NERR_BASE+17)
NERR_DuplicateShare = (NERR_BASE+18)
NERR_NoRoom = (NERR_BASE+19)
NERR_TooManyItems = (NERR_BASE+21)
NERR_InvalidMaxUsers = (NERR_BASE+22)
NERR_BufTooSmall = (NERR_BASE+23)
NERR_RemoteErr = (NERR_BASE+27)
NERR_LanmanIniError = (NERR_BASE+31)
NERR_NetworkError = (NERR_BASE+36)
NERR_WkstaInconsistentState = (NERR_BASE+37)
NERR_WkstaNotStarted = (NERR_BASE+38)
NERR_BrowserNotStarted = (NERR_BASE+39)
NERR_InternalError = (NERR_BASE+40)
NERR_BadTransactConfig = (NERR_BASE+41)
NERR_InvalidAPI = (NERR_BASE+42)
NERR_BadEventName = (NERR_BASE+43)
NERR_DupNameReboot = (NERR_BASE+44)
NERR_CfgCompNotFound = (NERR_BASE+46)
NERR_CfgParamNotFound = (NERR_BASE+47)
NERR_LineTooLong = (NERR_BASE+49)
NERR_QNotFound = (NERR_BASE+50)
NERR_JobNotFound = (NERR_BASE+51)
NERR_DestNotFound = (NERR_BASE+52)
NERR_DestExists = (NERR_BASE+53)
NERR_QExists = (NERR_BASE+54)
NERR_QNoRoom = (NERR_BASE+55)
NERR_JobNoRoom = (NERR_BASE+56)
NERR_DestNoRoom = (NERR_BASE+57)
NERR_DestIdle = (NERR_BASE+58)
NERR_DestInvalidOp = (NERR_BASE+59)
NERR_ProcNoRespond = (NERR_BASE+60)
NERR_SpoolerNotLoaded = (NERR_BASE+61)
NERR_DestInvalidState = (NERR_BASE+62)
NERR_QInvalidState = (NERR_BASE+63)
NERR_JobInvalidState = (NERR_BASE+64)
NERR_SpoolNoMemory = (NERR_BASE+65)
NERR_DriverNotFound = (NERR_BASE+66)
NERR_DataTypeInvalid = (NERR_BASE+67)
NERR_ProcNotFound = (NERR_BASE+68)
NERR_ServiceTableLocked = (NERR_BASE+80)
NERR_ServiceTableFull = (NERR_BASE+81)
NERR_ServiceInstalled = (NERR_BASE+82)
NERR_ServiceEntryLocked = (NERR_BASE+83)
NERR_ServiceNotInstalled = (NERR_BASE+84)
NERR_BadServiceName = (NERR_BASE+85)
NERR_ServiceCtlTimeout = (NERR_BASE+86)
NERR_ServiceCtlBusy = (NERR_BASE+87)
NERR_BadServiceProgName = (NERR_BASE+88)
NERR_ServiceNotCtrl = (NERR_BASE+89)
NERR_ServiceKillProc = (NERR_BASE+90)
NERR_ServiceCtlNotValid = (NERR_BASE+91)
NERR_NotInDispatchTbl = (NERR_BASE+92)
NERR_BadControlRecv = (NERR_BASE+93)
NERR_ServiceNotStarting = (NERR_BASE+94)
NERR_AlreadyLoggedOn = (NERR_BASE+100)
NERR_NotLoggedOn = (NERR_BASE+101)
NERR_BadUsername = (NERR_BASE+102)
NERR_BadPassword = (NERR_BASE+103)
NERR_UnableToAddName_W = (NERR_BASE+104)
NERR_UnableToAddName_F = (NERR_BASE+105)
NERR_UnableToDelName_W = (NERR_BASE+106)
NERR_UnableToDelName_F = (NERR_BASE+107)
NERR_LogonsPaused = (NERR_BASE+109)
NERR_LogonServerConflict = (NERR_BASE+110)
NERR_LogonNoUserPath = (NERR_BASE+111)
NERR_LogonScriptError = (NERR_BASE+112)
NERR_StandaloneLogon = (NERR_BASE+114)
NERR_LogonServerNotFound = (NERR_BASE+115)
NERR_LogonDomainExists = (NERR_BASE+116)
NERR_NonValidatedLogon = (NERR_BASE+117)
NERR_ACFNotFound = (NERR_BASE+119)
NERR_GroupNotFound = (NERR_BASE+120)
NERR_UserNotFound = (NERR_BASE+121)
NERR_ResourceNotFound = (NERR_BASE+122)
NERR_GroupExists = (NERR_BASE+123)
NERR_UserExists = (NERR_BASE+124)
NERR_ResourceExists = (NERR_BASE+125)
NERR_NotPrimary = (NERR_BASE+126)
NERR_ACFNotLoaded = (NERR_BASE+127)
NERR_ACFNoRoom = (NERR_BASE+128)
NERR_ACFFileIOFail = (NERR_BASE+129)
NERR_ACFTooManyLists = (NERR_BASE+130)
NERR_UserLogon = (NERR_BASE+131)
NERR_ACFNoParent = (NERR_BASE+132)
NERR_CanNotGrowSegment = (NERR_BASE+133)
NERR_SpeGroupOp = (NERR_BASE+134)
NERR_NotInCache = (NERR_BASE+135)
NERR_UserInGroup = (NERR_BASE+136)
NERR_UserNotInGroup = (NERR_BASE+137)
NERR_AccountUndefined = (NERR_BASE+138)
NERR_AccountExpired = (NERR_BASE+139)
NERR_InvalidWorkstation = (NERR_BASE+140)
NERR_InvalidLogonHours = (NERR_BASE+141)
NERR_PasswordExpired = (NERR_BASE+142)
NERR_PasswordCantChange = (NERR_BASE+143)
NERR_PasswordHistConflict = (NERR_BASE+144)
NERR_PasswordTooShort = (NERR_BASE+145)
NERR_PasswordTooRecent = (NERR_BASE+146)
NERR_InvalidDatabase = (NERR_BASE+147)
NERR_DatabaseUpToDate = (NERR_BASE+148)
NERR_SyncRequired = (NERR_BASE+149)
NERR_UseNotFound = (NERR_BASE+150)
NERR_BadAsgType = (NERR_BASE+151)
NERR_DeviceIsShared = (NERR_BASE+152)
NERR_NoComputerName = (NERR_BASE+170)
NERR_MsgAlreadyStarted = (NERR_BASE+171)
NERR_MsgInitFailed = (NERR_BASE+172)
NERR_NameNotFound = (NERR_BASE+173)
NERR_AlreadyForwarded = (NERR_BASE+174)
NERR_AddForwarded = (NERR_BASE+175)
NERR_AlreadyExists = (NERR_BASE+176)
NERR_TooManyNames = (NERR_BASE+177)
NERR_DelComputerName = (NERR_BASE+178)
NERR_LocalForward = (NERR_BASE+179)
NERR_GrpMsgProcessor = (NERR_BASE+180)
NERR_PausedRemote = (NERR_BASE+181)
NERR_BadReceive = (NERR_BASE+182)
NERR_NameInUse = (NERR_BASE+183)
NERR_MsgNotStarted = (NERR_BASE+184)
NERR_NotLocalName = (NERR_BASE+185)
NERR_NoForwardName = (NERR_BASE+186)
NERR_RemoteFull = (NERR_BASE+187)
NERR_NameNotForwarded = (NERR_BASE+188)
NERR_TruncatedBroadcast = (NERR_BASE+189)
NERR_InvalidDevice = (NERR_BASE+194)
NERR_WriteFault = (NERR_BASE+195)
NERR_DuplicateName = (NERR_BASE+197)
NERR_DeleteLater = (NERR_BASE+198)
NERR_IncompleteDel = (NERR_BASE+199)
NERR_MultipleNets = (NERR_BASE+200)
NERR_NetNameNotFound = (NERR_BASE+210)
NERR_DeviceNotShared = (NERR_BASE+211)
NERR_ClientNameNotFound = (NERR_BASE+212)
NERR_FileIdNotFound = (NERR_BASE+214)
NERR_ExecFailure = (NERR_BASE+215)
NERR_TmpFile = (NERR_BASE+216)
NERR_TooMuchData = (NERR_BASE+217)
NERR_DeviceShareConflict = (NERR_BASE+218)
NERR_BrowserTableIncomplete = (NERR_BASE+219)
NERR_NotLocalDomain = (NERR_BASE+220)
NERR_IsDfsShare = (NERR_BASE+221)
NERR_DevInvalidOpCode = (NERR_BASE+231)
NERR_DevNotFound = (NERR_BASE+232)
NERR_DevNotOpen = (NERR_BASE+233)
NERR_BadQueueDevString = (NERR_BASE+234)
NERR_BadQueuePriority = (NERR_BASE+235)
NERR_NoCommDevs = (NERR_BASE+237)
NERR_QueueNotFound = (NERR_BASE+238)
NERR_BadDevString = (NERR_BASE+240)
NERR_BadDev = (NERR_BASE+241)
NERR_InUseBySpooler = (NERR_BASE+242)
NERR_CommDevInUse = (NERR_BASE+243)
NERR_InvalidComputer = (NERR_BASE+251)
NERR_MaxLenExceeded = (NERR_BASE+254)
NERR_BadComponent = (NERR_BASE+256)
NERR_CantType = (NERR_BASE+257)
NERR_TooManyEntries = (NERR_BASE+262)
NERR_ProfileFileTooBig = (NERR_BASE+270)
NERR_ProfileOffset = (NERR_BASE+271)
NERR_ProfileCleanup = (NERR_BASE+272)
NERR_ProfileUnknownCmd = (NERR_BASE+273)
NERR_ProfileLoadErr = (NERR_BASE+274)
NERR_ProfileSaveErr = (NERR_BASE+275)
NERR_LogOverflow = (NERR_BASE+277)
NERR_LogFileChanged = (NERR_BASE+278)
NERR_LogFileCorrupt = (NERR_BASE+279)
NERR_SourceIsDir = (NERR_BASE+280)
NERR_BadSource = (NERR_BASE+281)
NERR_BadDest = (NERR_BASE+282)
NERR_DifferentServers = (NERR_BASE+283)
NERR_RunSrvPaused = (NERR_BASE+285)
NERR_ErrCommRunSrv = (NERR_BASE+289)
NERR_ErrorExecingGhost = (NERR_BASE+291)
NERR_ShareNotFound = (NERR_BASE+292)
NERR_InvalidLana = (NERR_BASE+300)
NERR_OpenFiles = (NERR_BASE+301)
NERR_ActiveConns = (NERR_BASE+302)
NERR_BadPasswordCore = (NERR_BASE+303)
NERR_DevInUse = (NERR_BASE+304)
NERR_LocalDrive = (NERR_BASE+305)
NERR_AlertExists = (NERR_BASE+330)
NERR_TooManyAlerts = (NERR_BASE+331)
NERR_NoSuchAlert = (NERR_BASE+332)
NERR_BadRecipient = (NERR_BASE+333)
NERR_AcctLimitExceeded = (NERR_BASE+334)
NERR_InvalidLogSeek = (NERR_BASE+340)
NERR_BadUasConfig = (NERR_BASE+350)
NERR_InvalidUASOp = (NERR_BASE+351)
NERR_LastAdmin = (NERR_BASE+352)
NERR_DCNotFound = (NERR_BASE+353)
NERR_LogonTrackingError = (NERR_BASE+354)
NERR_NetlogonNotStarted = (NERR_BASE+355)
NERR_CanNotGrowUASFile = (NERR_BASE+356)
NERR_TimeDiffAtDC = (NERR_BASE+357)
NERR_PasswordMismatch = (NERR_BASE+358)
NERR_NoSuchServer = (NERR_BASE+360)
NERR_NoSuchSession = (NERR_BASE+361)
NERR_NoSuchConnection = (NERR_BASE+362)
NERR_TooManyServers = (NERR_BASE+363)
NERR_TooManySessions = (NERR_BASE+364)
NERR_TooManyConnections = (NERR_BASE+365)
NERR_TooManyFiles = (NERR_BASE+366)
NERR_NoAlternateServers = (NERR_BASE+367)
NERR_TryDownLevel = (NERR_BASE+370)
NERR_UPSDriverNotStarted = (NERR_BASE+380)
NERR_UPSInvalidConfig = (NERR_BASE+381)
NERR_UPSInvalidCommPort = (NERR_BASE+382)
NERR_UPSSignalAsserted = (NERR_BASE+383)
NERR_UPSShutdownFailed = (NERR_BASE+384)
NERR_BadDosRetCode = (NERR_BASE+400)
NERR_ProgNeedsExtraMem = (NERR_BASE+401)
NERR_BadDosFunction = (NERR_BASE+402)
NERR_RemoteBootFailed = (NERR_BASE+403)
NERR_BadFileCheckSum = (NERR_BASE+404)
NERR_NoRplBootSystem = (NERR_BASE+405)
NERR_RplLoadrNetBiosErr = (NERR_BASE+406)
NERR_RplLoadrDiskErr = (NERR_BASE+407)
NERR_ImageParamErr = (NERR_BASE+408)
NERR_TooManyImageParams = (NERR_BASE+409)
NERR_NonDosFloppyUsed = (NERR_BASE+410)
NERR_RplBootRestart = (NERR_BASE+411)
NERR_RplSrvrCallFailed = (NERR_BASE+412)
NERR_CantConnectRplSrvr = (NERR_BASE+413)
NERR_CantOpenImageFile = (NERR_BASE+414)
NERR_CallingRplSrvr = (NERR_BASE+415)
NERR_StartingRplBoot = (NERR_BASE+416)
NERR_RplBootServiceTerm = (NERR_BASE+417)
NERR_RplBootStartFailed = (NERR_BASE+418)
NERR_RPL_CONNECTED = (NERR_BASE+419)
NERR_BrowserConfiguredToNotRun = (NERR_BASE+450)
NERR_RplNoAdaptersStarted = (NERR_BASE+510)
NERR_RplBadRegistry = (NERR_BASE+511)
NERR_RplBadDatabase = (NERR_BASE+512)
NERR_RplRplfilesShare = (NERR_BASE+513)
NERR_RplNotRplServer = (NERR_BASE+514)
NERR_RplCannotEnum = (NERR_BASE+515)
NERR_RplWkstaInfoCorrupted = (NERR_BASE+516)
NERR_RplWkstaNotFound = (NERR_BASE+517)
NERR_RplWkstaNameUnavailable = (NERR_BASE+518)
NERR_RplProfileInfoCorrupted = (NERR_BASE+519)
NERR_RplProfileNotFound = (NERR_BASE+520)
NERR_RplProfileNameUnavailable = (NERR_BASE+521)
NERR_RplProfileNotEmpty = (NERR_BASE+522)
NERR_RplConfigInfoCorrupted = (NERR_BASE+523)
NERR_RplConfigNotFound = (NERR_BASE+524)
NERR_RplAdapterInfoCorrupted = (NERR_BASE+525)
NERR_RplInternal = (NERR_BASE+526)
NERR_RplVendorInfoCorrupted = (NERR_BASE+527)
NERR_RplBootInfoCorrupted = (NERR_BASE+528)
NERR_RplWkstaNeedsUserAcct = (NERR_BASE+529)
NERR_RplNeedsRPLUSERAcct = (NERR_BASE+530)
NERR_RplBootNotFound = (NERR_BASE+531)
NERR_RplIncompatibleProfile = (NERR_BASE+532)
NERR_RplAdapterNameUnavailable = (NERR_BASE+533)
NERR_RplConfigNotEmpty = (NERR_BASE+534)
NERR_RplBootInUse = (NERR_BASE+535)
NERR_RplBackupDatabase = (NERR_BASE+536)
NERR_RplAdapterNotFound = (NERR_BASE+537)
NERR_RplVendorNotFound = (NERR_BASE+538)
NERR_RplVendorNameUnavailable = (NERR_BASE+539)
NERR_RplBootNameUnavailable = (NERR_BASE+540)
NERR_RplConfigNameUnavailable = (NERR_BASE+541)
NERR_DfsInternalCorruption = (NERR_BASE+560)
NERR_DfsVolumeDataCorrupt = (NERR_BASE+561)
NERR_DfsNoSuchVolume = (NERR_BASE+562)
NERR_DfsVolumeAlreadyExists = (NERR_BASE+563)
NERR_DfsAlreadyShared = (NERR_BASE+564)
NERR_DfsNoSuchShare = (NERR_BASE+565)
NERR_DfsNotALeafVolume = (NERR_BASE+566)
NERR_DfsLeafVolume = (NERR_BASE+567)
NERR_DfsVolumeHasMultipleServers = (NERR_BASE+568)
NERR_DfsCantCreateJunctionPoint = (NERR_BASE+569)
NERR_DfsServerNotDfsAware = (NERR_BASE+570)
NERR_DfsBadRenamePath = (NERR_BASE+571)
NERR_DfsVolumeIsOffline = (NERR_BASE+572)
NERR_DfsNoSuchServer = (NERR_BASE+573)
NERR_DfsCyclicalName = (NERR_BASE+574)
NERR_DfsNotSupportedInServerDfs = (NERR_BASE+575)
NERR_DfsInternalError = (NERR_BASE+590)
NERR_SetupAlreadyJoined = (NERR_BASE+591)
NERR_SetupNotJoined = (NERR_BASE+592)
NERR_SetupDomainController = (NERR_BASE+593)
MAX_NERR = (NERR_BASE+899)

;===================================[ LMWKSTA.H ]==============================
WKSTA_PLATFORM_ID_PARMNUM = 100
WKSTA_COMPUTERNAME_PARMNUM = 1
WKSTA_LANGROUP_PARMNUM = 2
WKSTA_VER_MAJOR_PARMNUM = 4
WKSTA_VER_MINOR_PARMNUM = 5
WKSTA_LOGGED_ON_USERS_PARMNUM = 6
WKSTA_LANROOT_PARMNUM = 7
WKSTA_LOGON_DOMAIN_PARMNUM = 8
WKSTA_LOGON_SERVER_PARMNUM = 9
WKSTA_CHARWAIT_PARMNUM = 10
WKSTA_CHARTIME_PARMNUM = 11
WKSTA_CHARCOUNT_PARMNUM = 12
WKSTA_KEEPCONN_PARMNUM = 13
WKSTA_KEEPSEARCH_PARMNUM = 14
WKSTA_MAXCMDS_PARMNUM = 15
WKSTA_NUMWORKBUF_PARMNUM = 16
WKSTA_MAXWRKCACHE_PARMNUM = 17
WKSTA_SESSTIMEOUT_PARMNUM = 18
WKSTA_SIZERROR_PARMNUM = 19
WKSTA_NUMALERTS_PARMNUM = 20
WKSTA_NUMSERVICES_PARMNUM = 21
WKSTA_NUMCHARBUF_PARMNUM = 22
WKSTA_SIZCHARBUF_PARMNUM = 23
WKSTA_ERRLOGSZ_PARMNUM = 27
WKSTA_PRINTBUFTIME_PARMNUM = 28
WKSTA_SIZWORKBUF_PARMNUM = 29
WKSTA_MAILSLOTS_PARMNUM = 30
WKSTA_NUMDGRAMBUF_PARMNUM = 31
WKSTA_WRKHEURISTICS_PARMNUM = 32
WKSTA_MAXTHREADS_PARMNUM = 33
WKSTA_LOCKQUOTA_PARMNUM = 41
WKSTA_LOCKINCREMENT_PARMNUM = 42
WKSTA_LOCKMAXIMUM_PARMNUM = 43
WKSTA_PIPEINCREMENT_PARMNUM = 44
WKSTA_PIPEMAXIMUM_PARMNUM = 45
WKSTA_DORMANTFILELIMIT_PARMNUM = 46
WKSTA_CACHEFILETIMEOUT_PARMNUM = 47
WKSTA_USEOPPORTUNISTICLOCKING_PARMNUM = 48
WKSTA_USEUNLOCKBEHIND_PARMNUM = 49
WKSTA_USECLOSEBEHIND_PARMNUM = 50
WKSTA_BUFFERNAMEDPIPES_PARMNUM = 51
WKSTA_USELOCKANDREADANDUNLOCK_PARMNUM = 52
WKSTA_UTILIZENTCACHING_PARMNUM = 53
WKSTA_USERAWREAD_PARMNUM = 54
WKSTA_USERAWWRITE_PARMNUM = 55
WKSTA_USEWRITERAWWITHDATA_PARMNUM = 56
WKSTA_USEENCRYPTION_PARMNUM = 57
WKSTA_BUFFILESWITHDENYWRITE_PARMNUM = 58
WKSTA_BUFFERREADONLYFILES_PARMNUM = 59
WKSTA_FORCECORECREATEMODE_PARMNUM = 60
WKSTA_USE512BYTESMAXTRANSFER_PARMNUM = 61
WKSTA_READAHEADTHRUPUT_PARMNUM = 62
WKSTA_OTH_DOMAINS_PARMNUM = 101
TRANSPORT_QUALITYOFSERVICE_PARMNUM = 201
TRANSPORT_NAME_PARMNUM = 202

WKSTA_INFO_100 struct
    wki100_platform_id dd ?
    wki100_computername dd ?
    wki100_langroup dd ?
    wki100_ver_major dd ?
    wki100_ver_minor dd ?
WKSTA_INFO_100 ends

WKSTA_INFO_101 struct
    wki101_platform_id dd ?
    wki101_computername dd ?
    wki101_langroup dd ?
    wki101_ver_major dd ?
    wki101_ver_minor dd ?
    wki101_lanroot dd ?
WKSTA_INFO_101 ends

WKSTA_INFO_102  struct
    wki102_platform_id dd ?
    wki102_computername dd ?
    wki102_langroup dd ?
    wki102_ver_major dd ?
    wki102_ver_minor dd ?
    wki102_lanroot dd ?
    wki102_logged_on_users dd ?
WKSTA_INFO_102 ends

WKSTA_INFO_302 struct
    wki302_char_wait dd ?
    wki302_collection_time dd ?
    wki302_maximum_collection_count dd ?
    wki302_keep_conn dd ?
    wki302_keep_search dd ?
    wki302_max_cmds dd ?
    wki302_num_work_buf dd ?
    wki302_siz_work_buf dd ?
    wki302_max_wrk_cache dd ?
    wki302_sess_timeout dd ?
    wki302_siz_error dd ?
    wki302_num_alerts dd ?
    wki302_num_services dd ?
    wki302_errlog_sz dd ?
    wki302_print_buf_time dd ?
    wki302_num_char_buf dd ?
    wki302_siz_char_buf dd ?
    wki302_wrk_heuristics dd ?
    wki302_mailslots dd ?
    wki302_num_dgram_buf dd ?
WKSTA_INFO_302 ends

WKSTA_INFO_402 struct
    wki402_char_wait dd ?
    wki402_collection_time dd ?
    wki402_maximum_collection_count dd ?
    wki402_keep_conn dd ?
    wki402_keep_search dd ?
    wki402_max_cmds dd ?
    wki402_num_work_buf dd ?
    wki402_siz_work_buf dd ?
    wki402_max_wrk_cache dd ?
    wki402_sess_timeout dd ?
    wki402_siz_error dd ?
    wki402_num_alerts dd ?
    wki402_num_services dd ?
    wki402_errlog_sz dd ?
    wki402_print_buf_time dd ?
    wki402_num_char_buf dd ?
    wki402_siz_char_buf dd ?
    wki402_wrk_heuristics dd ?
    wki402_mailslots dd ?
    wki402_num_dgram_buf dd ?
    wki402_max_threads dd ?
WKSTA_INFO_402 ends

WKSTA_INFO_502 struct
    wki502_char_wait dd ?
    wki502_collection_time dd ?
    wki502_maximum_collection_count dd ?
    wki502_keep_conn dd ?
    wki502_max_cmds dd ?
    wki502_sess_timeout dd ?
    wki502_siz_char_buf dd ?
    wki502_max_threads dd ?
    wki502_lock_quota dd ?
    wki502_lock_increment dd ?
    wki502_lock_maximum dd ?
    wki502_pipe_increment dd ?
    wki502_pipe_maximum dd ?
    wki502_cache_file_timeout dd ?
    wki502_dormant_file_limit dd ?
    wki502_read_ahead_throughput dd ?
    wki502_num_mailslot_buffers dd ?
    wki502_num_srv_announce_buffers dd ?
    wki502_max_illegal_datagram_events dd ?
    wki502_illegal_datagram_event_reset_frequency dd ?
    wki502_log_election_packets dd ?
    wki502_use_opportunistic_locking dd ?
    wki502_use_unlock_behind dd ?
    wki502_use_close_behind dd ?
    wki502_buf_named_pipes dd ?
    wki502_use_lock_read_unlock dd ?
    wki502_utilize_nt_caching dd ?
    wki502_use_raw_read dd ?
    wki502_use_raw_write dd ?
    wki502_use_write_raw_data dd ?
    wki502_use_encryption dd ?
    wki502_buf_files_deny_write dd ?
    wki502_buf_read_only_files dd ?
    wki502_force_core_create_mode dd ?
    wki502_use_512_byte_max_transfer dd ?
WKSTA_INFO_502 ends

WKSTA_INFO_1010 struct
     wki1010_char_wait dd ?
WKSTA_INFO_1010 ends

WKSTA_INFO_1011 struct
     wki1011_collection_time dd ?
WKSTA_INFO_1011 ends

WKSTA_INFO_1012 struct
     wki1012_maximum_collection_count dd ?
WKSTA_INFO_1012 ends

WKSTA_INFO_1027 struct
     wki1027_errlog_sz dd ?
WKSTA_INFO_1027 ends

WKSTA_INFO_1028 struct
     wki1028_print_buf_time dd ?
WKSTA_INFO_1028 ends

WKSTA_INFO_1032 struct
     wki1032_wrk_heuristics dd ?
WKSTA_INFO_1032 ends

WKSTA_INFO_1013 struct
     wki1013_keep_conn dd ?
WKSTA_INFO_1013 ends

WKSTA_INFO_1018 struct
     wki1018_sess_timeout dd ?
WKSTA_INFO_1018 ends

WKSTA_INFO_1023 struct
     wki1023_siz_char_buf dd ?
WKSTA_INFO_1023 ends

WKSTA_INFO_1033 struct
     wki1033_max_threads dd ?
WKSTA_INFO_1033 ends

WKSTA_INFO_1041 struct
    wki1041_lock_quota dd ?
WKSTA_INFO_1041 ends

WKSTA_INFO_1042 struct
    wki1042_lock_increment dd ?
WKSTA_INFO_1042 ends

WKSTA_INFO_1043 struct
    wki1043_lock_maximum dd ?
WKSTA_INFO_1043 ends

WKSTA_INFO_1044 struct
    wki1044_pipe_increment dd ?
WKSTA_INFO_1044 ends

WKSTA_INFO_1045 struct
    wki1045_pipe_maximum dd ?
WKSTA_INFO_1045 ends

WKSTA_INFO_1046 struct
    wki1046_dormant_file_limit dd ?
WKSTA_INFO_1046 ends

WKSTA_INFO_1047 struct
    wki1047_cache_file_timeout dd ?
WKSTA_INFO_1047 ends

WKSTA_INFO_1048 struct
    wki1048_use_opportunistic_locking dd ?
WKSTA_INFO_1048 ends

WKSTA_INFO_1049 struct
    wki1049_use_unlock_behind dd ?
WKSTA_INFO_1049 ends

WKSTA_INFO_1050 struct
    wki1050_use_close_behind dd ?
WKSTA_INFO_1050 ends

WKSTA_INFO_1051 struct
    wki1051_buf_named_pipes dd ?
WKSTA_INFO_1051 ends

WKSTA_INFO_1052 struct
    wki1052_use_lock_read_unlock dd ?
WKSTA_INFO_1052 ends

WKSTA_INFO_1053 struct
    wki1053_utilize_nt_caching dd ?
WKSTA_INFO_1053 ends

WKSTA_INFO_1054 struct
    wki1054_use_raw_read dd ?
WKSTA_INFO_1054 ends

WKSTA_INFO_1055 struct
    wki1055_use_raw_write dd ?
WKSTA_INFO_1055 ends

WKSTA_INFO_1056 struct
    wki1056_use_write_raw_data dd ?
WKSTA_INFO_1056 ends

WKSTA_INFO_1057 struct
    wki1057_use_encryption dd ?
WKSTA_INFO_1057 ends

WKSTA_INFO_1058 struct
    wki1058_buf_files_deny_write dd ?
WKSTA_INFO_1058 ends

WKSTA_INFO_1059 struct
    wki1059_buf_read_only_files dd ?
WKSTA_INFO_1059 ends

WKSTA_INFO_1060 struct
    wki1060_force_core_create_mode dd ?
WKSTA_INFO_1060 ends

WKSTA_INFO_1061 struct
    wki1061_use_512_byte_max_transfer dd ?
WKSTA_INFO_1061 ends

WKSTA_INFO_1062 struct
    wki1062_read_ahead_throughput dd ?
WKSTA_INFO_1062 ends

WKSTA_USER_INFO_0 struct
    wkui0_username dd ?
WKSTA_USER_INFO_0 ends

WKSTA_USER_INFO_1 struct
    wkui1_username dd ?
    wkui1_logon_domain dd ?
    wkui1_oth_domains dd ?
    wkui1_logon_server dd ?
WKSTA_USER_INFO_1 ends

WKSTA_USER_INFO_1101 struct
     wkui1101_oth_domains dd ?
WKSTA_USER_INFO_1101 ends

WKSTA_TRANSPORT_INFO_0 struct
    wkti0_quality_of_service dd ?
    wkti0_number_of_vcs dd ?
    wkti0_transport_name dd ?
    wkti0_transport_address dd ?
    wkti0_wan_ish dd ?
WKSTA_TRANSPORT_INFO_0 ends

;=================================[ LMACCESS.H ]=================================
ACCESS_ACCESS_LIST_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + ACCESS_ACCESS_LIST_PARMNUM)
ACCESS_ACCESS_LIST_PARMNUM = 4
ACCESS_ALL = (ACCESS_READ+ACCESS_WRITE+ACCESS_CREATE+ACCESS_EXEC+ACCESS_DELETE+ACCESS_ATRIB+ACCESS_PERM)
ACCESS_ATRIB = 20h
ACCESS_ATTR_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + ACCESS_ATTR_PARMNUM)
ACCESS_ATTR_PARMNUM = 2
ACCESS_AUDIT = 1
ACCESS_COUNT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + ACCESS_COUNT_PARMNUM)
ACCESS_COUNT_PARMNUM = 3
ACCESS_CREATE = 4
ACCESS_DELETE = 10h
ACCESS_EXEC = 8
ACCESS_FAIL_ACL = 800h
ACCESS_FAIL_DELETE = 400h
ACCESS_FAIL_MASK = 0F00h
ACCESS_FAIL_OPEN = 100h
ACCESS_FAIL_SHIFT = 4
ACCESS_FAIL_WRITE = 200h
ACCESS_GROUP = 8000h
ACCESS_NONE = 0
ACCESS_PERM = 40h
ACCESS_READ = 1
ACCESS_RESOURCE_NAME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + ACCESS_RESOURCE_NAME_PARMNUM)
ACCESS_RESOURCE_NAME_PARMNUM = 1
ACCESS_SUCCESS_ACL = 80h
ACCESS_SUCCESS_DELETE = 40h
ACCESS_SUCCESS_MASK = 0F0h
ACCESS_SUCCESS_OPEN = 10h
ACCESS_SUCCESS_WRITE = 20h
ACCESS_WRITE = 2
AF_OP_ACCOUNTS = 8
AF_OP_COMM = 2
AF_OP_PRINT = 1
AF_OP_SERVER = 4
AF_SETTABLE_BITS = (AF_OP_PRINT+AF_OP_COMM+AF_OP_SERVER+AF_OP_ACCOUNTS)
DEF_FORCE_LOGOFF = 0ffffffffh
DEF_MAX_BADPW = 0
DEF_MAX_PWAGE = TIMEQ_FOREVER
DEF_MAX_PWHIST = 8
DEF_MIN_PWAGE = 0
DEF_MIN_PWLEN = 6
DEF_PWUNIQUENESS = 5
FILTER_INTERDOMAIN_TRUST_ACCOUNT = (8)
FILTER_NORMAL_ACCOUNT = (2)
FILTER_SERVER_TRUST_ACCOUNT = (20h)
FILTER_TEMP_DUPLICATE_ACCOUNT = (1)
FILTER_WORKSTATION_TRUST_ACCOUNT = (10h)
GROUPIDMASK = 8000h
GROUP_ALL_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + GROUP_ALL_PARMNUM)
GROUP_ALL_PARMNUM = 0
GROUP_ATTRIBUTES_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + GROUP_ATTRIBUTES_PARMNUM)
GROUP_ATTRIBUTES_PARMNUM = 3
GROUP_COMMENT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + GROUP_COMMENT_PARMNUM)
GROUP_COMMENT_PARMNUM = 2
GROUP_NAME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + GROUP_NAME_PARMNUM)
GROUP_NAME_PARMNUM = 1
;GROUP_POSIX_ID_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + GROUP_POSIX_ID_PARMNUM)
GROUP_SPECIALGRP_ADMINS equ "ADMINS";L
GROUP_SPECIALGRP_GUESTS equ "GUESTS";L
GROUP_SPECIALGRP_LOCAL equ "LOCAL";L
GROUP_SPECIALGRP_USERS equ "USERS";L
LG_INCLUDE_INDIRECT = (1)
LOCALGROUP_COMMENT_PARMNUM = 2
LOCALGROUP_NAME_PARMNUM = 1
MAXPERMENTRIES = 64
MAX_PASSWD_LEN = PWLEN
MODALS_DOMAIN_ID_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_DOMAIN_ID_PARMNUM)
MODALS_DOMAIN_ID_PARMNUM = 9
MODALS_DOMAIN_NAME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_DOMAIN_NAME_PARMNUM)
MODALS_DOMAIN_NAME_PARMNUM = 8
MODALS_FORCE_LOGOFF_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_FORCE_LOGOFF_PARMNUM)
MODALS_FORCE_LOGOFF_PARMNUM = 4
MODALS_LOCKOUT_DURATION_PARMNUM = 10
MODALS_LOCKOUT_OBSERVATION_WINDOW_PARMNUM = 11
MODALS_LOCKOUT_THRESHOLD_PARMNUM = 12
MODALS_MAX_PASSWD_AGE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_MAX_PASSWD_AGE_PARMNUM)
MODALS_MAX_PASSWD_AGE_PARMNUM = 2
MODALS_MIN_PASSWD_AGE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_MIN_PASSWD_AGE_PARMNUM)
MODALS_MIN_PASSWD_AGE_PARMNUM = 3
MODALS_MIN_PASSWD_LEN_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_MIN_PASSWD_LEN_PARMNUM)
MODALS_MIN_PASSWD_LEN_PARMNUM = 1
MODALS_PASSWD_HIST_LEN_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_PASSWD_HIST_LEN_PARMNUM)
MODALS_PASSWD_HIST_LEN_PARMNUM = 5
MODALS_PRIMARY_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_PRIMARY_PARMNUM)
MODALS_PRIMARY_PARMNUM = 7
MODALS_ROLE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + MODALS_ROLE_PARMNUM)
MODALS_ROLE_PARMNUM = 6
NETLOGON_CONTROL_BACKUP_CHANGE_LOG = 0FFFCh
NETLOGON_CONTROL_BREAKPOINT = 0FFFFh
NETLOGON_CONTROL_CHANGE_PASSWORD = 9
NETLOGON_CONTROL_FIND_USER = 8
NETLOGON_CONTROL_FORCE_DNS_REG   = 11
NETLOGON_CONTROL_PDC_REPLICATE = 4
NETLOGON_CONTROL_QUERY = 1
NETLOGON_CONTROL_QUERY_DNS_REG   = 12
NETLOGON_CONTROL_REDISCOVER = 5
NETLOGON_CONTROL_REPLICATE = 2
NETLOGON_CONTROL_SET_DBFLAG = 0FFFEh
NETLOGON_CONTROL_SYNCHRONIZE = 3
NETLOGON_CONTROL_TC_QUERY = 6
NETLOGON_CONTROL_TC_VERIFY       = 10
NETLOGON_CONTROL_TRANSPORT_NOTIFY = 7
NETLOGON_CONTROL_TRUNCATE_LOG = 0FFFDh
NETLOGON_CONTROL_UNLOAD_NETLOGON_DLL = 0FFFBh
NETLOGON_DNS_UPDATE_FAILURE      = 40h
NETLOGON_FULL_SYNC_REPLICATION = 4
NETLOGON_HAS_IP                  = 10h
NETLOGON_HAS_TIMESERV            = 20h
NETLOGON_REDO_NEEDED = 8
NETLOGON_REPLICATION_IN_PROGRESS = 2
NETLOGON_REPLICATION_NEEDED = 1
NETLOGON_VERIFY_STATUS_RETURNED  = 80h
NET_VALIDATE_BAD_PASSWORD_COUNT  = 00000008h
NET_VALIDATE_BAD_PASSWORD_TIME   = 00000002h
NET_VALIDATE_LOCKOUT_TIME        = 00000004h
NET_VALIDATE_PASSWORD_HISTORY    = 00000020h
NET_VALIDATE_PASSWORD_HISTORY_LENGTH = 00000010h
NET_VALIDATE_PASSWORD_LAST_SET   = 00000001h
NON_VALIDATED_LOGON = 3
NULL_USERSETINFO_PASSWD equ "              ";A
ONE_DAY = 01*24*3600
PASSWORD_EXPIRED = 2
TIMEQ_FOREVER = -1
UAS_ROLE_BACKUP = 2
UAS_ROLE_MEMBER = 1
UAS_ROLE_PRIMARY = 3
UAS_ROLE_STANDALONE = 0
UF_ACCOUNTDISABLE = 2
UF_ACCOUNT_TYPE_MASK = (UF_TEMP_DUPLICATE_ACCOUNT+UF_NORMAL_ACCOUNT+UF_INTERDOMAIN_TRUST_ACCOUNT+UF_WORKSTATION_TRUST_ACCOUNT+UF_SERVER_TRUST_ACCOUNT)
UF_DONT_EXPIRE_PASSWD = 10000h
UF_DONT_REQUIRE_PREAUTH          = 400000h
UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED = 0080h
UF_HOMEDIR_REQUIRED = 8
UF_INTERDOMAIN_TRUST_ACCOUNT = 800h
UF_LOCKOUT = 10h
UF_MACHINE_ACCOUNT_MASK = ( UF_INTERDOMAIN_TRUST_ACCOUNT+UF_WORKSTATION_TRUST_ACCOUNT+UF_SERVER_TRUST_ACCOUNT )
UF_MNS_LOGON_ACCOUNT = 20000h
UF_NORMAL_ACCOUNT = 200h
UF_NOT_DELEGATED                 = 100000h
UF_NO_AUTH_DATA_REQUIRED         = 2000000h
UF_PARTIAL_SECRETS_ACCOUNT       = 4000000h
UF_PASSWD_CANT_CHANGE = 40h
UF_PASSWD_NOTREQD = 20h
UF_PASSWORD_EXPIRED              = 800000h
UF_SCRIPT = 1
UF_SERVER_TRUST_ACCOUNT = 2000h
UF_SETTABLE_BITS = (UF_SCRIPT+UF_ACCOUNTDISABLE+UF_LOCKOUT+UF_HOMEDIR_REQUIRED+UF_PASSWD_NOTREQD+UF_PASSWD_CANT_CHANGE+UF_ACCOUNT_TYPE_MASK+UF_DONT_EXPIRE_PASSWD+UF_MNS_LOGON_ACCOUNT)
UF_SMARTCARD_REQUIRED            = 40000h
UF_TEMP_DUPLICATE_ACCOUNT = 100h
UF_TRUSTED_FOR_DELEGATION        = 80000h
UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION = 1000000h
UF_USE_AES_KEYS                  = 8000000h
UF_USE_DES_KEY_ONLY              = 200000h
UF_WORKSTATION_TRUST_ACCOUNT = 1000h
UNITS_PER_DAY = 24
UNITS_PER_WEEK = UNITS_PER_DAY * 7
USER_ACCT_EXPIRES_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_ACCT_EXPIRES_PARMNUM)
USER_ACCT_EXPIRES_PARMNUM = 17
USER_AUTH_FLAGS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_AUTH_FLAGS_PARMNUM)
USER_AUTH_FLAGS_PARMNUM = 10
USER_CODE_PAGE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_CODE_PAGE_PARMNUM)
USER_CODE_PAGE_PARMNUM = 25
USER_COMMENT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_COMMENT_PARMNUM)
USER_COMMENT_PARMNUM = 7
USER_COUNTRY_CODE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_COUNTRY_CODE_PARMNUM)
USER_COUNTRY_CODE_PARMNUM = 24
USER_FLAGS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_FLAGS_PARMNUM)
USER_FLAGS_PARMNUM = 8
USER_FULL_NAME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_FULL_NAME_PARMNUM)
USER_FULL_NAME_PARMNUM = 11
USER_HOME_DIR_DRIVE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_HOME_DIR_DRIVE_PARMNUM)
USER_HOME_DIR_DRIVE_PARMNUM = 53
USER_HOME_DIR_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_HOME_DIR_PARMNUM)
USER_HOME_DIR_PARMNUM = 6
USER_LAST_LOGOFF_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_LAST_LOGOFF_PARMNUM)
USER_LAST_LOGOFF_PARMNUM = 16
USER_LAST_LOGON_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_LAST_LOGON_PARMNUM)
USER_LAST_LOGON_PARMNUM = 15
USER_LOGON_HOURS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_LOGON_HOURS_PARMNUM)
USER_LOGON_HOURS_PARMNUM = 20
USER_LOGON_SERVER_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_LOGON_SERVER_PARMNUM)
USER_LOGON_SERVER_PARMNUM = 23
USER_MAXSTORAGE_UNLIMITED = -1
USER_MAX_STORAGE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_MAX_STORAGE_PARMNUM)
USER_MAX_STORAGE_PARMNUM = 18
USER_NAME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_NAME_PARMNUM)
USER_NAME_PARMNUM = 1
USER_NO_LOGOFF = -1
USER_NUM_LOGONS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_NUM_LOGONS_PARMNUM)
USER_NUM_LOGONS_PARMNUM = 22
USER_PAD_PW_COUNT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_PAD_PW_COUNT_PARMNUM)
USER_PAD_PW_COUNT_PARMNUM = 21
USER_PARMS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_PARMS_PARMNUM)
USER_PARMS_PARMNUM = 13
USER_PASSWORD_AGE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_PASSWORD_AGE_PARMNUM)
USER_PASSWORD_AGE_PARMNUM = 4
USER_PASSWORD_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_PASSWORD_PARMNUM)
USER_PASSWORD_PARMNUM = 3
;USER_POSIX_ID_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_POSIX_ID_PARMNUM)
USER_PRIMARY_GROUP_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_PRIMARY_GROUP_PARMNUM)
USER_PRIMARY_GROUP_PARMNUM = 51
USER_PRIV_ADMIN = 2
USER_PRIV_GUEST = 0
USER_PRIV_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_PRIV_PARMNUM)
USER_PRIV_MASK = 3
USER_PRIV_PARMNUM = 5
USER_PRIV_USER = 1
USER_PROFILE = 52
USER_PROFILE_PARMNUM = 52
USER_SCRIPT_PATH_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_SCRIPT_PATH_PARMNUM)
USER_SCRIPT_PATH_PARMNUM = 9
USER_UNITS_PER_WEEK_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_UNITS_PER_WEEK_PARMNUM)
USER_UNITS_PER_WEEK_PARMNUM = 19
USER_USR_COMMENT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_USR_COMMENT_PARMNUM)
USER_USR_COMMENT_PARMNUM = 12
USER_WORKSTATIONS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + USER_WORKSTATIONS_PARMNUM)
USER_WORKSTATIONS_PARMNUM = 14
VALIDATED_LOGON = 0
VALID_LOGOFF = 1

USER_INFO_0 struct
    usri0_name dd ?
USER_INFO_0 ends

USER_INFO_1 struct
    usri1_name dd ?
    usri1_password dd ?
    usri1_password_age dd ?
    usri1_priv dd ?
    usri1_home_dir dd ?
    usri1_comment dd ?
    usri1_flags dd ?
    usri1_script_path dd ?
USER_INFO_1 ends

USER_INFO_2 struct
    usri2_name dd ?
    usri2_password dd ?
    usri2_password_age dd ?
    usri2_priv dd ?
    usri2_home_dir dd ?
    usri2_comment dd ?
    usri2_flags dd ?
    usri2_script_path dd ?
    usri2_auth_flags dd ?
    usri2_full_name dd ?
    usri2_usr_comment dd ?
    usri2_parms dd ?
    usri2_workstations dd ?
    usri2_last_logon dd ?
    usri2_last_logoff dd ?
    usri2_acct_expires dd ?
    usri2_max_storage dd ?
    usri2_units_per_week dd ?
    usri2_logon_hours dd ?
    usri2_bad_pw_count dd ?
    usri2_num_logons dd ?
    usri2_logon_server dd ?
    usri2_country_code dd ?
    usri2_code_page dd ?
USER_INFO_2 ends

USER_INFO_3 struct
    usri3_name dd ?
    usri3_password dd ?
    usri3_password_age dd ?
    usri3_priv dd ?
    usri3_home_dir dd ?
    usri3_comment dd ?
    usri3_flags dd ?
    usri3_script_path dd ?
    usri3_auth_flags dd ?
    usri3_full_name dd ?
    usri3_usr_comment dd ?
    usri3_parms dd ?
    usri3_workstations dd ?
    usri3_last_logon dd ?
    usri3_last_logoff dd ?
    usri3_acct_expires dd ?
    usri3_max_storage dd ?
    usri3_units_per_week dd ?
    usri3_logon_hours dd ?
    usri3_bad_pw_count dd ?
    usri3_num_logons dd ?
    usri3_logon_server dd ?
    usri3_country_code dd ?
    usri3_code_page dd ?
    usri3_user_id dd ?
    usri3_primary_group_id dd ?
    usri3_profile dd ?
    usri3_home_dir_drive dd ?
    usri3_password_expired dd ?
USER_INFO_3 ends

USER_INFO_10 struct
    usri10_name dd ?
    usri10_comment dd ?
    usri10_usr_comment dd ?
    usri10_full_name dd ?
USER_INFO_10 ends

USER_INFO_11 struct
    usri11_name dd ?
    usri11_comment dd ?
    usri11_usr_comment dd ?
    usri11_full_name dd ?
    usri11_priv dd ?
    usri11_auth_flags dd ?
    usri11_password_age dd ?
    usri11_home_dir dd ?
    usri11_parms dd ?
    usri11_last_logon dd ?
    usri11_last_logoff dd ?
    usri11_bad_pw_count dd ?
    usri11_num_logons dd ?
    usri11_logon_server dd ?
    usri11_country_code dd ?
    usri11_workstations dd ?
    usri11_max_storage dd ?
    usri11_units_per_week dd ?
    usri11_logon_hours dd ?
    usri11_code_page dd ?
USER_INFO_11 ends

USER_INFO_20 struct
    usri20_name dd ?
    usri20_full_name dd ?
    usri20_comment dd ?
    usri20_flags dd ?
    usri20_user_id dd ?
USER_INFO_20 ends

USER_INFO_21 struct
    usri21_password db ENCRYPTED_PWLEN dup(?)
USER_INFO_21 ends

USER_INFO_22 struct
    usri22_name dd ?
    usri22_password db ENCRYPTED_PWLEN dup(?)
    usri22_password_age dd ?
    usri22_priv dd ?
    usri22_home_dir dd ?
    usri22_comment dd ?
    usri22_flags dd ?
    usri22_script_path dd ?
    usri22_auth_flags dd ?
    usri22_full_name dd ?
    usri22_usr_comment dd ?
    usri22_parms dd ?
    usri22_workstations dd ?
    usri22_last_logon dd ?
    usri22_last_logoff dd ?
    usri22_acct_expires dd ?
    usri22_max_storage dd ?
    usri22_units_per_week dd ?
    usri22_logon_hours dd ?
    usri22_bad_pw_count dd ?
    usri22_num_logons dd ?
    usri22_logon_server dd ?
    usri22_country_code dd ?
    usri22_code_page dd ?
USER_INFO_22 ends

USER_INFO_1003 struct
     usri1003_password dd ?
USER_INFO_1003 ends

USER_INFO_1005 struct
     usri1005_priv dd ?
USER_INFO_1005 ends

USER_INFO_1006 struct
     usri1006_home_dir dd ?
USER_INFO_1006 ends

USER_INFO_1007 struct
     usri1007_comment dd ?
USER_INFO_1007 ends

USER_INFO_1008 struct
     usri1008_flags dd ?
USER_INFO_1008 ends

USER_INFO_1009 struct
     usri1009_script_path dd ?
USER_INFO_1009 ends

USER_INFO_1010 struct
     usri1010_auth_flags dd ?
USER_INFO_1010 ends

USER_INFO_1011 struct
     usri1011_full_name dd ?
USER_INFO_1011 ends

USER_INFO_1012 struct
     usri1012_usr_comment dd ?
USER_INFO_1012 ends

USER_INFO_1013 struct
     usri1013_parms dd ?
USER_INFO_1013 ends

USER_INFO_1014 struct
     usri1014_workstations dd ?
USER_INFO_1014 ends

USER_INFO_1017 struct
     usri1017_acct_expires dd ?
USER_INFO_1017 ends

USER_INFO_1018 struct
     usri1018_max_storage dd ?
USER_INFO_1018 ends

USER_INFO_1020 struct
    usri1020_units_per_week dd ?
    usri1020_logon_hours dd ?
USER_INFO_1020 ends

USER_INFO_1023 struct
     usri1023_logon_server dd ?
USER_INFO_1023 ends

USER_INFO_1024 struct
     usri1024_country_code dd ?
USER_INFO_1024 ends

USER_INFO_1025 struct
     usri1025_code_page dd ?
USER_INFO_1025 ends

USER_INFO_1051 struct
     usri1051_primary_group_id dd ?
USER_INFO_1051 ends

USER_INFO_1052 struct
     usri1052_profile dd ?
USER_INFO_1052 ends

USER_INFO_1053 struct
     usri1053_home_dir_drive dd ?
USER_INFO_1053 ends

USER_MODALS_INFO_0 struct
    usrmod0_min_passwd_len dd ?
    usrmod0_max_passwd_age dd ?
    usrmod0_min_passwd_age dd ?
    usrmod0_force_logoff dd ?
    usrmod0_password_hist_len dd ?
USER_MODALS_INFO_0 ends

USER_MODALS_INFO_1 struct
    usrmod1_role dd ?
    usrmod1_primary dd ?
USER_MODALS_INFO_1 ends

USER_MODALS_INFO_2 struct
    usrmod2_domain_name dd ?
    usrmod2_domain_id dd ?
USER_MODALS_INFO_2 ends

USER_MODALS_INFO_3 struct
    usrmod3_lockout_duration dd ?
    usrmod3_lockout_observation_window dd ?
    usrmod3_lockout_threshold dd ?
USER_MODALS_INFO_3 ends

USER_MODALS_INFO_1001 struct
     usrmod1001_min_passwd_len dd ?
USER_MODALS_INFO_1001 ends

USER_MODALS_INFO_1002 struct
     usrmod1002_max_passwd_age dd ?
USER_MODALS_INFO_1002 ends

USER_MODALS_INFO_1003 struct
     usrmod1003_min_passwd_age dd ?
USER_MODALS_INFO_1003 ends

USER_MODALS_INFO_1004 struct
     usrmod1004_force_logoff dd ?
USER_MODALS_INFO_1004 ends

USER_MODALS_INFO_1005 struct
    usrmod1005_password_hist_len dd ?
USER_MODALS_INFO_1005 ends

USER_MODALS_INFO_1006 struct
     usrmod1006_role dd ?
USER_MODALS_INFO_1006 ends

USER_MODALS_INFO_1007 struct
     usrmod1007_primary dd ?
USER_MODALS_INFO_1007 ends

GROUP_INFO_0 struct
    grpi0_name dd ?
GROUP_INFO_0 ends

GROUP_INFO_1 struct
    grpi1_name dd ?
    grpi1_comment dd ?
GROUP_INFO_1 ends

GROUP_INFO_2 struct
    grpi2_name dd ?
    grpi2_comment dd ?
    grpi2_group_id dd ?
    grpi2_attributes dd ?
GROUP_INFO_2 ends

GROUP_INFO_1002 struct
     grpi1002_comment dd ?
GROUP_INFO_1002 ends

GROUP_INFO_1005 struct
     grpi1005_attributes dd ?
GROUP_INFO_1005 ends

GROUP_USERS_INFO_0 struct
     grui0_name dd ?
GROUP_USERS_INFO_0 ends

GROUP_USERS_INFO_1 struct
     grui1_name dd ?
     grui1_attributes dd ?
GROUP_USERS_INFO_1 ends

LOCALGROUP_INFO_0 struct
    lgrpi0_name dd ?
LOCALGROUP_INFO_0 ends

LOCALGROUP_INFO_1 struct
    lgrpi1_name dd ?
    lgrpi1_comment dd ?
LOCALGROUP_INFO_1 ends

LOCALGROUP_INFO_1002 struct
     lgrpi1002_comment dd ?
LOCALGROUP_INFO_1002 ends

LOCALGROUP_MEMBERS_INFO_0 struct
     lgrmi0_sid dd ?
LOCALGROUP_MEMBERS_INFO_0 ends

LOCALGROUP_MEMBERS_INFO_1 struct
     lgrmi1_sid dd ?
     lgrmi1_sidusage dd ?
     lgrmi1_name dd ?
LOCALGROUP_MEMBERS_INFO_1 ends

LOCALGROUP_MEMBERS_INFO_2 struct
     lgrmi2_sid dd ?
     lgrmi2_sidusage dd ?
     lgrmi2_domainandname dd ?
LOCALGROUP_MEMBERS_INFO_2 ends

LOCALGROUP_MEMBERS_INFO_3 struct
     lgrmi3_domainandname dd ?
LOCALGROUP_MEMBERS_INFO_3 ends

LOCALGROUP_USERS_INFO_0 struct
     lgrui0_name dd ?
LOCALGROUP_USERS_INFO_0 ends

NET_DISPLAY_USER struct
    usri1_name dd ?
    usri1_comment dd ?
    usri1_flags dd ?
    usri1_full_name dd ?
    usri1_user_id dd ?
    usri1_next_index dd ?
NET_DISPLAY_USER ends

NET_DISPLAY_MACHINE struct
    usri2_name dd ?
    usri2_comment dd ?
    usri2_flags dd ?
    usri2_user_id dd ?
    usri2_next_index dd ?
NET_DISPLAY_MACHINE ends

NET_DISPLAY_GROUP struct
    grpi3_name dd ?
    grpi3_comment dd ?
    grpi3_group_id dd ?
    grpi3_attributes dd ?
    grpi3_next_index dd ?
NET_DISPLAY_GROUP ends

ACCESS_INFO_0 struct
    acc0_resource_name dd ?
ACCESS_INFO_0 ends

ACCESS_INFO_1 struct
    acc1_resource_name dd ?
    acc1_attr dd ?
    acc1_count dd ?
ACCESS_INFO_1 ends

ACCESS_INFO_1002 struct
     acc1002_attr dd ?
ACCESS_INFO_1002 ends


ACCESS_LIST struct
    acl_ugname dd ?
    acl_access dd ?
ACCESS_LIST ends

NETLOGON_INFO_1 struct
        netlog1_flags dd ?
        netlog1_pdc_connection_status NET_API_STATUS ?
NETLOGON_INFO_1 ends

NETLOGON_INFO_2 struct
        netlog2_flags dd ?
        netlog2_pdc_connection_status NET_API_STATUS ?
        netlog2_trusted_dc_name dd ?
        netlog2_tc_connection_status NET_API_STATUS ?
NETLOGON_INFO_2 ends

NETLOGON_INFO_3 struct
        netlog3_flags dd ?
        netlog3_logon_attempts dd ?
        netlog3_reserved1 dd ?
        netlog3_reserved2 dd ?
        netlog3_reserved3 dd ?
        netlog3_reserved4 dd ?
        netlog3_reserved5 dd ?
NETLOGON_INFO_3 ends

NETLOGON_INFO_4 struct
        netlog4_trusted_dc_name dd ?
        netlog4_trusted_domain_name dd ?
NETLOGON_INFO_4 ends

;=============================================[ LMALERT.h ]=========================
ALERTER_MAILSLOT equ "\\.\MAILSLOT\Alerter";A
ALERT_PRINT_EVENT equ "PRINTING";A
ALERT_MESSAGE_EVENT equ "MESSAGE";A
ALERT_ERRORLOG_EVENT equ "ERRORLOG";A
ALERT_ADMIN_EVENT equ "ADMIN";A
ALERT_USER_EVENT equ "USER";A
PRJOB_QSTATUS = 3
PRJOB_DEVSTATUS = 1fch
PRJOB_COMPLETE = 4
PRJOB_INTERV = 8
PRJOB_ERROR = 10h
PRJOB_DESTOFFLINE = 20h
PRJOB_DESTPAUSED = 40h
PRJOB_NOTIFY = 80h
PRJOB_DESTNOPAPER = 100h
PRJOB_DELETED = 8000h
PRJOB_QS_QUEUED = 0
PRJOB_QS_PAUSED = 1
PRJOB_QS_SPOOLING = 2
PRJOB_QS_PRINTING = 3

STD_ALERT struct
    alrt_timestamp dd ?
    alrt_eventname WCHAR  EVLEN + 1 dup(?)
    alrt_servicename WCHAR SNLEN + 1 dup(?)
STD_ALERT ends

ADMIN_OTHER_INFO struct
    alrtad_errcode dd ?
    alrtad_numstrings dd ?
ADMIN_OTHER_INFO ends

ERRLOG_OTHER_INFO struct
    alrter_errcode dd ?
    alrter_offset dd ?
ERRLOG_OTHER_INFO ends

PRINT_OTHER_INFO struct
    alrtpr_jobid dd ?
    alrtpr_status dd ?
    alrtpr_submitted dd ?
    alrtpr_size dd ?
PRINT_OTHER_INFO ends

USER_OTHER_INFO struct
    alrtus_errcode dd ?
    alrtus_numstrings dd ?
USER_OTHER_INFO ends

;================================[ LMAT.H'=====================================
JOB_RUN_PERIODICALLY = 1
JOB_EXEC_ERROR = 2
JOB_RUNS_TODAY = 4
JOB_ADD_CURRENT_DATE = 8
JOB_NONINTERACTIVE = 10h
JOB_INPUT_FLAGS = (JOB_RUN_PERIODICALLY+JOB_ADD_CURRENT_DATE+JOB_NONINTERACTIVE)
JOB_OUTPUT_FLAGS = (JOB_RUN_PERIODICALLY+JOB_EXEC_ERROR+JOB_RUNS_TODAY+JOB_NONINTERACTIVE)
AT_INFO struct
    JobTime dd ?
    DaysOfMonth dd ?
    DaysOfWeek UCHAR ?
    Flags UCHAR ?
    Command dd ?
AT_INFO ends

AT_ENUM struct
    JobId dd ?
    JobTime dd ?
    DaysOfMonth dd ?
    DaysOfWeek UCHAR ?
    Flags UCHAR ?
    Command dd ?
AT_ENUM ends

;=========================================[ LMAUDIT.H ]=========================
LOGFLAGS_FORWARD    = 0
LOGFLAGS_BACKWARD   = 1
LOGFLAGS_SEEK   = 2
ACTION_LOCKOUT = 00
ACTION_ADMINUNLOCK = 01
;AE_SRVSTATUS   = 0
;AE_SESSLOGON   = 1
;AE_SESSLOGOFF  = 2
;AE_SESSPWERR   = 3
;AE_CONNSTART   = 4
;AE_CONNSTOP    = 5
;AE_CONNREJ = 6
;AE_RESACCESS   = 7
;AE_RESACCESSREJ    = 8
;AE_CLOSEFILE   = 9
;AE_SERVICESTAT = 11
;AE_ACLMOD  = 12
;AE_UASMOD  = 13
;AE_NETLOGON    = 14
;AE_NETLOGOFF   = 15
;AE_NETLOGDENIED = 16
;AE_ACCLIMITEXCD = 17
;AE_RESACCESS2  = 18
;AE_ACLMODFAIL  = 19
;AE_LOCKOUT = 20
;AE_GENERIC_TYPE = 21
AE_SRVSTART = 0
AE_SRVPAUSED    = 1
AE_SRVCONT  = 2
AE_SRVSTOP  = 3
AE_GUEST    = 0
AE_USER = 1
AE_ADMIN    = 2
AE_NORMAL   = 0
AE_USERLIMIT    = 0
AE_GENERAL  = 0
AE_ERROR    = 1
AE_SESSDIS  = 1
AE_BADPW    = 1
AE_AUTODIS  = 2
AE_UNSHARE  = 2
AE_ADMINPRIVREQD = 2
AE_ADMINDIS = 3
AE_NOACCESSPERM = 3
AE_ACCRESTRICT  = 4
AE_NORMAL_CLOSE = 0
AE_SES_CLOSE = 1
AE_ADMIN_CLOSE = 2
AE_LIM_UNKNOWN  = 0
AE_LIM_LOGONHOURS = 1
AE_LIM_EXPIRED  = 2
AE_LIM_INVAL_WKSTA = 3
AE_LIM_DISABLED = 4
AE_LIM_DELETED  = 5
AE_MOD  = 0
AE_DELETE   = 1
AE_ADD  = 2
AE_UAS_USER = 0
AE_UAS_GROUP    = 1
AE_UAS_MODALS   = 2
SVAUD_SERVICE = 1
SVAUD_GOODSESSLOGON = 6
SVAUD_BADSESSLOGON = 18h
SVAUD_SESSLOGON = (SVAUD_GOODSESSLOGON + SVAUD_BADSESSLOGON)
SVAUD_GOODNETLOGON = 60h
SVAUD_BADNETLOGON = 180h
SVAUD_NETLOGON = (SVAUD_GOODNETLOGON + SVAUD_BADNETLOGON)
SVAUD_LOGON = (SVAUD_NETLOGON + SVAUD_SESSLOGON)
SVAUD_GOODUSE = 600h
SVAUD_BADUSE = 1800h
SVAUD_USE = (SVAUD_GOODUSE + SVAUD_BADUSE)
SVAUD_USERLIST = 2000h
SVAUD_PERMISSIONS = 4000h
SVAUD_RESOURCE = 8000h
SVAUD_LOGONLIM  = 10000h
AA_AUDIT_ALL    = 1
AA_A_OWNER  = 4
AA_CLOSE    = 8
AA_S_OPEN   = 10h
AA_S_WRITE  = 20h
AA_S_CREATE = 20h
AA_S_DELETE = 40h
AA_S_ACL    = 80h
AA_S_ALL    = ( AA_S_OPEN + AA_S_WRITE + AA_S_DELETE + AA_S_ACL)
AA_F_OPEN   = 100h
AA_F_WRITE  = 200h
AA_F_CREATE = 200h
AA_F_DELETE = 400h
AA_F_ACL    = 800h
AA_F_ALL    = ( AA_F_OPEN + AA_F_WRITE + AA_F_DELETE + AA_F_ACL)
AA_A_OPEN   = 1000h
AA_A_WRITE  = 2000h
AA_A_CREATE = 2000h
AA_A_DELETE = 4000h
AA_A_ACL    = 8000h
AA_A_ALL    = ( AA_F_OPEN + AA_F_WRITE + AA_F_DELETE + AA_F_ACL)

HLOG struct
     time dd ?
     last_flags dd ?
     offset1 dd ?
     rec_offset dd ?
HLOG ends

AUDIT_ENTRY struct
     ae_len dd ?
     ae_reserved dd ?
     ae_time dd ?
     ae_type dd ?
     ae_data_offset dd ?
     ae_data_size dd ?
AUDIT_ENTRY ends

AE_SRVSTATUS struct
     ae_sv_status dd ?
AE_SRVSTATUS ends

AE_SESSLOGON struct
     ae_so_compname dd ?
     ae_so_username dd ?
     ae_so_privilege dd ?
AE_SESSLOGON ends

AE_SESSLOGOFF struct
     ae_sf_compname dd ?
     ae_sf_username dd ?
     ae_sf_reason dd ?
AE_SESSLOGOFF ends

AE_SESSPWERR struct
     ae_sp_compname dd ?
     ae_sp_username dd ?
AE_SESSPWERR ends

AE_CONNSTART struct
     ae_ct_compname dd ?
     ae_ct_username dd ?
     ae_ct_netname dd ?
     ae_ct_connid dd ?
AE_CONNSTART ends

AE_CONNSTOP struct
     ae_cp_compname dd ?
     ae_cp_username dd ?
     ae_cp_netname dd ?
     ae_cp_connid dd ?
     ae_cp_reason dd ?
AE_CONNSTOP ends

AE_CONNREJ struct
     ae_cr_compname dd ?
     ae_cr_username dd ?
     ae_cr_netname dd ?
     ae_cr_reason dd ?
AE_CONNREJ ends

AE_RESACCESS struct
     ae_ra_compname dd ?
     ae_ra_username dd ?
     ae_ra_resname dd ?
     ae_ra_operation dd ?
     ae_ra_returncode dd ?
     ae_ra_restype dd ?
     ae_ra_fileid dd ?
AE_RESACCESS ends

AE_RESACCESSREJ struct
     ae_rr_compname dd ?
     ae_rr_username dd ?
     ae_rr_resname dd ?
     ae_rr_operation dd ?
AE_RESACCESSREJ ends

AE_CLOSEFILE struct
     ae_cf_compname dd ?
     ae_cf_username dd ?
     ae_cf_resname dd ?
     ae_cf_fileid dd ?
     ae_cf_duration dd ?
     ae_cf_reason dd ?
AE_CLOSEFILE ends

AE_SERVICESTAT struct
     ae_ss_compname dd ?
     ae_ss_username dd ?
     ae_ss_svcname dd ?
     ae_ss_status dd ?
     ae_ss_code dd ?
     ae_ss_text dd ?
     ae_ss_returnval dd ?
AE_SERVICESTAT ends

AE_ACLMOD struct
     ae_am_compname dd ?
     ae_am_username dd ?
     ae_am_resname dd ?
     ae_am_action dd ?
     ae_am_datalen dd ?
AE_ACLMOD ends

AE_UASMOD struct
     ae_um_compname dd ?
     ae_um_username dd ?
     ae_um_resname dd ?
     ae_um_rectype dd ?
     ae_um_action dd ?
     ae_um_datalen dd ?
AE_UASMOD ends

AE_NETLOGON struct
     ae_no_compname dd ?
     ae_no_username dd ?
     ae_no_privilege dd ?
     ae_no_authflags dd ?
AE_NETLOGON ends

AE_NETLOGOFF struct
     ae_nf_compname dd ?
     ae_nf_username dd ?
     ae_nf_reserved1 dd ?
     ae_nf_reserved2 dd ?
AE_NETLOGOFF ends

AE_ACCLIM struct
     ae_al_compname dd ?
     ae_al_username dd ?
     ae_al_resname dd ?
     ae_al_limit dd ?
AE_ACCLIM ends

AE_LOCKOUT struct
    ae_lk_compname dd ?
    ae_lk_username dd ?
    ae_lk_action dd ?
    ae_lk_bad_pw_count dd ?
AE_LOCKOUT ends

AE_GENERIC struct
     ae_ge_msgfile dd ?
     ae_ge_msgnum dd ?
     ae_ge_params dd ?
     ae_ge_param1 dd ?
     ae_ge_param2 dd ?
     ae_ge_param3 dd ?
     ae_ge_param4 dd ?
     ae_ge_param5 dd ?
     ae_ge_param6 dd ?
     ae_ge_param7 dd ?
     ae_ge_param8 dd ?
     ae_ge_param9 dd ?
AE_GENERIC ends

;==================================[ LMBROWSR.H ]==============================
BROWSER_ROLE_PDC = 1
BROWSER_ROLE_BDC  = 2

BROWSER_STATISTICS struct
    StatisticsStartTime LARGE_INTEGER <>
    NumberOfServerAnnouncements LARGE_INTEGER <>
    NumberOfDomainAnnouncements LARGE_INTEGER <>
    NumberOfElectionPackets dd ?
    NumberOfMailslotWrites dd ?
    NumberOfGetBrowserServerListRequests dd ?
    NumberOfServerEnumerations dd ?
    NumberOfDomainEnumerations dd ?
    NumberOfOtherEnumerations dd ?
    NumberOfMissedServerAnnouncements dd ?
    NumberOfMissedMailslotDatagrams dd ?
    NumberOfMissedGetBrowserServerListRequests dd ?
    NumberOfFailedServerAnnounceAllocations dd ?
    NumberOfFailedMailslotAllocations dd ?
    NumberOfFailedMailslotReceives dd ?
    NumberOfFailedMailslotWrites dd ?
    NumberOfFailedMailslotOpens dd ?
    NumberOfDuplicateMasterAnnouncements dd ?
    NumberOfIllegalDatagrams LARGE_INTEGER <>
BROWSER_STATISTICS ends

BROWSER_STATISTICS_100 struct
    StartTime LARGE_INTEGER <>
    NumberOfServerAnnouncements LARGE_INTEGER <>
    NumberOfDomainAnnouncements LARGE_INTEGER <>
    NumberOfElectionPackets dd ?
    NumberOfMailslotWrites dd ?
    NumberOfGetBrowserServerListRequests dd ?
    NumberOfIllegalDatagrams LARGE_INTEGER <>
BROWSER_STATISTICS_100 ends

BROWSER_STATISTICS_101 struct
    StartTime LARGE_INTEGER <>
    NumberOfServerAnnouncements LARGE_INTEGER <>
    NumberOfDomainAnnouncements LARGE_INTEGER <>
    NumberOfElectionPackets dd ?
    NumberOfMailslotWrites dd ?
    NumberOfGetBrowserServerListRequests dd ?
    NumberOfIllegalDatagrams LARGE_INTEGER <>
    NumberOfMissedServerAnnouncements dd ?
    NumberOfMissedMailslotDatagrams dd ?
    NumberOfMissedGetBrowserServerListRequests dd ?
    NumberOfFailedServerAnnounceAllocations dd ?
    NumberOfFailedMailslotAllocations dd ?
    NumberOfFailedMailslotReceives dd ?
    NumberOfFailedMailslotWrites dd ?
    NumberOfFailedMailslotOpens dd ?
    NumberOfDuplicateMasterAnnouncements dd ?
BROWSER_STATISTICS_101 ends


BROWSER_EMULATED_DOMAIN struct
    DomainName dd ?
    EmulatedServerName dd ?
    Role dd ?
BROWSER_EMULATED_DOMAIN ends

;====================================[ LMCHDEV.H ]==============================
CHARDEV_STAT_OPENED = 2
CHARDEV_STAT_ERROR = 4
CHARDEV_CLOSE = 0
CHARDEVQ_DEV_PARMNUM = 1
CHARDEVQ_PRIORITY_PARMNUM = 2
CHARDEVQ_DEVS_PARMNUM = 3
CHARDEVQ_NUMUSERS_PARMNUM = 4
CHARDEVQ_NUMAHEAD_PARMNUM = 5
CHARDEVQ_PRIORITY_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + CHARDEVQ_PRIORITY_PARMNUM)
CHARDEVQ_DEVS_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + CHARDEVQ_DEVS_PARMNUM)
CHARDEVQ_MAX_PRIORITY = 1
CHARDEVQ_MIN_PRIORITY = 9
CHARDEVQ_DEF_PRIORITY = 5
CHARDEVQ_NO_REQUESTS = -1
HANDLE_INFO_LEVEL_1 = 1
HANDLE_CHARTIME_PARMNUM = 1
HANDLE_CHARCOUNT_PARMNUM = 2

CHARDEV_INFO_0 struct
    ch0_dev dd ?
CHARDEV_INFO_0 ends

CHARDEV_INFO_1 struct
    ch1_dev dd ?
    ch1_status dd ?
    ch1_username dd ?
    ch1_time dd ?
CHARDEV_INFO_1 ends

CHARDEVQ_INFO_0 struct
    cq0_dev dd ?
CHARDEVQ_INFO_0 ends

CHARDEVQ_INFO_1 struct
    cq1_dev dd ?
    cq1_priority dd ?
    cq1_devs dd ?
    cq1_numusers dd ?
    cq1_numahead dd ?
CHARDEVQ_INFO_1 ends

CHARDEVQ_INFO_1002 struct
    cq1002_priority dd ?
CHARDEVQ_INFO_1002 ends

CHARDEVQ_INFO_1003 struct
    cq1003_devs dd ?
CHARDEVQ_INFO_1003 ends

HANDLE_INFO_1 struct
    hdli1_chartime dd ?
    hdli1_charcount dd ?
HANDLE_INFO_1 ends

;======================================[ LMCONFIG ]========================
CONFIG_INFO_0 struct
     cfgi0_key dd ?
     cfgi0_data dd ?
CONFIG_INFO_0 ends

;=======================================[ LMDFS.H ]========================

DFS_VOLUME_STATE_OK = 1
DFS_VOLUME_STATE_INCONSISTENT = 2
DFS_VOLUME_STATE_OFFLINE = 3
DFS_VOLUME_STATE_ONLINE = 4
DFS_STORAGE_STATE_OFFLINE = 1
DFS_STORAGE_STATE_ONLINE = 2
DFS_ADD_VOLUME = 1
DFS_RESTORE_VOLUME = 2
DFS_INFO_1 struct
    EntryPath dd ?
DFS_INFO_1 ends

DFS_INFO_2 struct
    EntryPath dd ?
    Comment dd ?
    State dd ?
    NumberOfStorages dd ?
DFS_INFO_2 ends

DFS_STORAGE_INFO struct
    State dd ?
    ServerName dd ?
    ShareName dd ?
DFS_STORAGE_INFO ends

DFS_INFO_3 struct
    EntryPath dd ?
    Comment dd ?
    State dd ?
    NumberOfStorages dd ?
    Storage dd ?
DFS_INFO_3 ends

DFS_INFO_100 struct
    _comment dd ?
DFS_INFO_100 ends

DFS_INFO_101 struct
    State dd ?
DFS_INFO_101 ends

;================================[ LMERRLOG.H ]===============================
ERRLOG_BASE = 3100
NELOG_Internal_Error = (ERRLOG_BASE + 0)
NELOG_Resource_Shortage = (ERRLOG_BASE + 1)
NELOG_Unable_To_Lock_Segment = (ERRLOG_BASE + 2)
NELOG_Unable_To_Unlock_Segment = (ERRLOG_BASE + 3)
NELOG_Uninstall_Service = (ERRLOG_BASE + 4)
NELOG_Init_Exec_Fail = (ERRLOG_BASE + 5)
NELOG_Ncb_Error = (ERRLOG_BASE + 6)
NELOG_Net_Not_Started = (ERRLOG_BASE + 7)
NELOG_Ioctl_Error = (ERRLOG_BASE + 8)
NELOG_System_Semaphore = (ERRLOG_BASE + 9)
NELOG_Init_OpenCreate_Err = (ERRLOG_BASE + 10)
NELOG_NetBios = (ERRLOG_BASE + 11)
NELOG_SMB_Illegal = (ERRLOG_BASE + 12)
NELOG_Service_Fail = (ERRLOG_BASE + 13)
NELOG_Entries_Lost = (ERRLOG_BASE + 14)
NELOG_Init_Seg_Overflow = (ERRLOG_BASE + 20)
NELOG_Srv_No_Mem_Grow = (ERRLOG_BASE + 21)
NELOG_Access_File_Bad = (ERRLOG_BASE + 22)
NELOG_Srvnet_Not_Started = (ERRLOG_BASE + 23)
NELOG_Init_Chardev_Err = (ERRLOG_BASE + 24)
NELOG_Remote_API = (ERRLOG_BASE + 25)
NELOG_Ncb_TooManyErr = (ERRLOG_BASE + 26)
NELOG_Mailslot_err = (ERRLOG_BASE + 27)
NELOG_ReleaseMem_Alert = (ERRLOG_BASE + 28)
NELOG_AT_cannot_write = (ERRLOG_BASE + 29)
NELOG_Cant_Make_Msg_File = (ERRLOG_BASE + 30)
NELOG_Exec_Netservr_NoMem = (ERRLOG_BASE + 31)
NELOG_Server_Lock_Failure = (ERRLOG_BASE + 32)
NELOG_Msg_Shutdown = (ERRLOG_BASE + 40)
NELOG_Msg_Sem_Shutdown = (ERRLOG_BASE + 41)
NELOG_Msg_Log_Err = (ERRLOG_BASE + 50)
NELOG_VIO_POPUP_ERR = (ERRLOG_BASE + 51)
NELOG_Msg_Unexpected_SMB_Type = (ERRLOG_BASE + 52)
NELOG_Wksta_Infoseg = (ERRLOG_BASE + 60)
NELOG_Wksta_Compname = (ERRLOG_BASE + 61)
NELOG_Wksta_BiosThreadFailure = (ERRLOG_BASE + 62)
NELOG_Wksta_IniSeg = (ERRLOG_BASE + 63)
NELOG_Wksta_HostTab_Full = (ERRLOG_BASE + 64)
NELOG_Wksta_Bad_Mailslot_SMB = (ERRLOG_BASE + 65)
NELOG_Wksta_UASInit = (ERRLOG_BASE + 66)
NELOG_Wksta_SSIRelogon = (ERRLOG_BASE + 67)
NELOG_Build_Name = (ERRLOG_BASE + 70)
NELOG_Name_Expansion = (ERRLOG_BASE + 71)
NELOG_Message_Send = (ERRLOG_BASE + 72)
NELOG_Mail_Slt_Err = (ERRLOG_BASE + 73)
NELOG_AT_cannot_read = (ERRLOG_BASE + 74)
NELOG_AT_sched_err = (ERRLOG_BASE + 75)
NELOG_AT_schedule_file_created = (ERRLOG_BASE + 76)
NELOG_Srvnet_NB_Open = (ERRLOG_BASE + 77)
NELOG_AT_Exec_Err = (ERRLOG_BASE + 78)
NELOG_Lazy_Write_Err = (ERRLOG_BASE + 80)
NELOG_HotFix = (ERRLOG_BASE + 81)
NELOG_HardErr_From_Server = (ERRLOG_BASE + 82)
NELOG_LocalSecFail1 = (ERRLOG_BASE + 83)
NELOG_LocalSecFail2 = (ERRLOG_BASE + 84)
NELOG_LocalSecFail3 = (ERRLOG_BASE + 85)
NELOG_LocalSecGeneralFail = (ERRLOG_BASE + 86)
NELOG_NetWkSta_Internal_Error = (ERRLOG_BASE + 90)
NELOG_NetWkSta_No_Resource = (ERRLOG_BASE + 91)
NELOG_NetWkSta_SMB_Err = (ERRLOG_BASE + 92)
NELOG_NetWkSta_VC_Err = (ERRLOG_BASE + 93)
NELOG_NetWkSta_Stuck_VC_Err = (ERRLOG_BASE + 94)
NELOG_NetWkSta_NCB_Err = (ERRLOG_BASE + 95)
NELOG_NetWkSta_Write_Behind_Err = (ERRLOG_BASE + 96)
NELOG_NetWkSta_Reset_Err = (ERRLOG_BASE + 97)
NELOG_NetWkSta_Too_Many = (ERRLOG_BASE + 98)
NELOG_Srv_Thread_Failure = (ERRLOG_BASE + 104)
NELOG_Srv_Close_Failure = (ERRLOG_BASE + 105)
NELOG_ReplUserCurDir = (ERRLOG_BASE + 106)
NELOG_ReplCannotMasterDir = (ERRLOG_BASE + 107)
NELOG_ReplUpdateError = (ERRLOG_BASE + 108)
NELOG_ReplLostMaster = (ERRLOG_BASE + 109)
NELOG_NetlogonAuthDCFail = (ERRLOG_BASE + 110)
NELOG_ReplLogonFailed = (ERRLOG_BASE + 111)
NELOG_ReplNetErr = (ERRLOG_BASE + 112)
NELOG_ReplMaxFiles = (ERRLOG_BASE + 113)
NELOG_ReplMaxTreeDepth = (ERRLOG_BASE + 114)
NELOG_ReplBadMsg = (ERRLOG_BASE + 115)
NELOG_ReplSysErr = (ERRLOG_BASE + 116)
NELOG_ReplUserLoged = (ERRLOG_BASE + 117)
NELOG_ReplBadImport = (ERRLOG_BASE + 118)
NELOG_ReplBadExport = (ERRLOG_BASE + 119)
NELOG_ReplSignalFileErr = (ERRLOG_BASE + 120)
NELOG_DiskFT = (ERRLOG_BASE+121)
NELOG_ReplAccessDenied = (ERRLOG_BASE + 122)
NELOG_NetlogonFailedPrimary = (ERRLOG_BASE + 123)
NELOG_NetlogonPasswdSetFailed = (ERRLOG_BASE + 124)
NELOG_NetlogonTrackingError = (ERRLOG_BASE + 125)
NELOG_NetlogonSyncError = (ERRLOG_BASE + 126)
NELOG_UPS_PowerOut = (ERRLOG_BASE + 130)
NELOG_UPS_Shutdown = (ERRLOG_BASE + 131)
NELOG_UPS_CmdFileError = (ERRLOG_BASE + 132)
NELOG_UPS_CannotOpenDriver = (ERRLOG_BASE+133)
NELOG_UPS_PowerBack = (ERRLOG_BASE + 134)
NELOG_UPS_CmdFileConfig = (ERRLOG_BASE + 135)
NELOG_UPS_CmdFileExec = (ERRLOG_BASE + 136)
NELOG_Missing_Parameter = (ERRLOG_BASE + 150)
NELOG_Invalid_Config_Line = (ERRLOG_BASE + 151)
NELOG_Invalid_Config_File = (ERRLOG_BASE + 152)
NELOG_File_Changed = (ERRLOG_BASE + 153)
NELOG_Files_Dont_Fit = (ERRLOG_BASE + 154)
NELOG_Wrong_DLL_Version = (ERRLOG_BASE + 155)
NELOG_Error_in_DLL = (ERRLOG_BASE + 156)
NELOG_System_Error = (ERRLOG_BASE + 157)
NELOG_FT_ErrLog_Too_Large = (ERRLOG_BASE + 158)
NELOG_FT_Update_In_Progress = (ERRLOG_BASE + 159)
NELOG_OEM_Code = (ERRLOG_BASE + 199)
ERRLOG2_BASE = 5700
NELOG_NetlogonSSIInitError = (ERRLOG2_BASE + 0)
NELOG_NetlogonFailedToUpdateTrustList = (ERRLOG2_BASE + 1)
NELOG_NetlogonFailedToAddRpcInterface = (ERRLOG2_BASE + 2)
NELOG_NetlogonFailedToReadMailslot = (ERRLOG2_BASE + 3)
NELOG_NetlogonFailedToRegisterSC = (ERRLOG2_BASE + 4)
NELOG_NetlogonChangeLogCorrupt = (ERRLOG2_BASE + 5)
NELOG_NetlogonFailedToCreateShare = (ERRLOG2_BASE + 6)
NELOG_NetlogonDownLevelLogonFailed = (ERRLOG2_BASE + 7)
NELOG_NetlogonDownLevelLogoffFailed = (ERRLOG2_BASE + 8)
NELOG_NetlogonNTLogonFailed = (ERRLOG2_BASE + 9)
NELOG_NetlogonNTLogoffFailed = (ERRLOG2_BASE + 10)
NELOG_NetlogonPartialSyncCallSuccess = (ERRLOG2_BASE + 11)
NELOG_NetlogonPartialSyncCallFailed = (ERRLOG2_BASE + 12)
NELOG_NetlogonFullSyncCallSuccess = (ERRLOG2_BASE + 13)
NELOG_NetlogonFullSyncCallFailed = (ERRLOG2_BASE + 14)
NELOG_NetlogonPartialSyncSuccess = (ERRLOG2_BASE + 15)
NELOG_NetlogonPartialSyncFailed = (ERRLOG2_BASE + 16)
NELOG_NetlogonFullSyncSuccess = (ERRLOG2_BASE + 17)
NELOG_NetlogonFullSyncFailed = (ERRLOG2_BASE + 18)
NELOG_NetlogonAuthNoDomainController = (ERRLOG2_BASE + 19)
NELOG_NetlogonAuthNoTrustLsaSecret = (ERRLOG2_BASE + 20)
NELOG_NetlogonAuthNoTrustSamAccount = (ERRLOG2_BASE + 21)
NELOG_NetlogonServerAuthFailed = (ERRLOG2_BASE + 22)
NELOG_NetlogonServerAuthNoTrustSamAccount = (ERRLOG2_BASE + 23)
NELOG_FailedToRegisterSC = (ERRLOG2_BASE + 24)
NELOG_FailedToSetServiceStatus = (ERRLOG2_BASE + 25)
NELOG_FailedToGetComputerName = (ERRLOG2_BASE + 26)
NELOG_DriverNotLoaded = (ERRLOG2_BASE + 27)
NELOG_NoTranportLoaded = (ERRLOG2_BASE + 28)
NELOG_NetlogonFailedDomainDelta = (ERRLOG2_BASE + 29)
NELOG_NetlogonFailedGlobalGroupDelta = (ERRLOG2_BASE + 30)
NELOG_NetlogonFailedLocalGroupDelta = (ERRLOG2_BASE + 31)
NELOG_NetlogonFailedUserDelta = (ERRLOG2_BASE + 32)
NELOG_NetlogonFailedPolicyDelta = (ERRLOG2_BASE + 33)
NELOG_NetlogonFailedTrustedDomainDelta = (ERRLOG2_BASE + 34)
NELOG_NetlogonFailedAccountDelta = (ERRLOG2_BASE + 35)
NELOG_NetlogonFailedSecretDelta = (ERRLOG2_BASE + 36)
NELOG_NetlogonSystemError = (ERRLOG2_BASE + 37)
NELOG_NetlogonDuplicateMachineAccounts = (ERRLOG2_BASE + 38)
NELOG_NetlogonTooManyGlobalGroups = (ERRLOG2_BASE + 39)
NELOG_NetlogonBrowserDriver = (ERRLOG2_BASE + 40)
NELOG_NetlogonAddNameFailure = (ERRLOG2_BASE + 41)
NELOG_RplMessages = (ERRLOG2_BASE + 42)
NELOG_RplXnsBoot = (ERRLOG2_BASE + 43)
NELOG_RplSystem = (ERRLOG2_BASE + 44)
NELOG_RplWkstaTimeout = (ERRLOG2_BASE + 45)
NELOG_RplWkstaFileOpen = (ERRLOG2_BASE + 46)
NELOG_RplWkstaFileRead = (ERRLOG2_BASE + 47)
NELOG_RplWkstaMemory = (ERRLOG2_BASE + 48)
NELOG_RplWkstaFileChecksum = (ERRLOG2_BASE + 49)
NELOG_RplWkstaFileLineCount = (ERRLOG2_BASE + 50)
NELOG_RplWkstaBbcFile = (ERRLOG2_BASE + 51)
NELOG_RplWkstaFileSize = (ERRLOG2_BASE + 52)
NELOG_RplWkstaInternal = (ERRLOG2_BASE + 53)
NELOG_RplWkstaWrongVersion = (ERRLOG2_BASE + 54)
NELOG_RplWkstaNetwork = (ERRLOG2_BASE + 55)
NELOG_RplAdapterResource = (ERRLOG2_BASE + 56)
NELOG_RplFileCopy = (ERRLOG2_BASE + 57)
NELOG_RplFileDelete = (ERRLOG2_BASE + 58)
NELOG_RplFilePerms = (ERRLOG2_BASE + 59)
NELOG_RplCheckConfigs = (ERRLOG2_BASE + 60)
NELOG_RplCreateProfiles = (ERRLOG2_BASE + 61)
NELOG_RplRegistry = (ERRLOG2_BASE + 62)
NELOG_RplReplaceRPLDISK = (ERRLOG2_BASE + 63)
NELOG_RplCheckSecurity = (ERRLOG2_BASE + 64)
NELOG_RplBackupDatabase = (ERRLOG2_BASE + 65)
NELOG_RplInitDatabase = (ERRLOG2_BASE + 66)
NELOG_RplRestoreDatabaseFailure = (ERRLOG2_BASE + 67)
NELOG_RplRestoreDatabaseSuccess = (ERRLOG2_BASE + 68)
NELOG_RplInitRestoredDatabase = (ERRLOG2_BASE + 69)
NELOG_NetlogonSessionTypeWrong = (ERRLOG2_BASE + 70)
NELOG_RplUpgradeDBTo40 = (ERRLOG2_BASE + 71)
NELOG_NetlogonLanmanBdcsNotAllowed = (ERRLOG2_BASE + 72)
NELOG_NetlogonNoDynamicDns = (ERRLOG2_BASE + 73)
NELOG_NetlogonDynamicDnsRegisterFailure = (ERRLOG2_BASE + 74)
NELOG_NetlogonDynamicDnsDeregisterFailure = (ERRLOG2_BASE + 75)
NELOG_NetlogonFailedFileCreate = (ERRLOG2_BASE + 76)
NELOG_NetlogonGetSubnetToSite = (ERRLOG2_BASE + 77)
NELOG_NetlogonNoSiteForClient = (ERRLOG2_BASE + 78)
NELOG_NetlogonBadSiteName = (ERRLOG2_BASE + 79)
NELOG_NetlogonBadSubnetName = (ERRLOG2_BASE + 80)

ERROR_LOG struct
     el_len dd ?
     el_reserved dd ?
     el_time dd ?
     el_error dd ?
     el_name dd ?
     el_text dd ?
     el_data dd ?
     el_data_size dd ?
     el_nstrings dd ?
ERROR_LOG ends

;===============================[ LMMSG.H]=============================
MSGNAME_NOT_FORWARDED   = 0
MSGNAME_FORWARDED_TO   = 4
MSGNAME_FORWARDED_FROM  = 10h

MSG_INFO_0 struct
    msgi0_name dd ?
MSG_INFO_0 ends

MSG_INFO_1 struct
    msgi1_name dd ?
    msgi1_forward_flag dd ?
    msgi1_forward dd ?
MSG_INFO_1 ends

;=================================[ LMREMUTL.H]==========================
TIME_OF_DAY_INFO struct
    tod_elapsedt dd ?
    tod_msecs dd ?
    tod_hours dd ?
    tod_mins dd ?
    tod_secs dd ?
    tod_hunds dd ?
    tod_timezone dd ?
    tod_tinterval dd ?
    tod_day dd ?
    tod_month dd ?
    tod_year dd ?
    tod_weekday dd ?
TIME_OF_DAY_INFO ends

SUPPORTS_REMOTE_ADMIN_PROTOCOL = 2
SUPPORTS_RPC = 4
SUPPORTS_SAM_PROTOCOL = 8
SUPPORTS_UNICODE = 10h
SUPPORTS_LOCAL = 20h
SUPPORTS_ANY = 0FFFFFFFFh
NO_PERMISSION_REQUIRED = 1
ALLOCATE_RESPONSE = 2
USE_SPECIFIC_TRANSPORT = 80000000h

;===============================[ LMREPL.H]=======================
REPL_ROLE_EXPORT = 1
REPL_ROLE_IMPORT = 2
REPL_ROLE_BOTH = 3
REPL_INTERVAL_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + 0)
REPL_PULSE_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + 1)
REPL_GUARDTIME_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + 2)
REPL_RANDOM_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + 3)
REPL_INTEGRITY_FILE = 1
REPL_INTEGRITY_TREE = 2
REPL_EXTENT_FILE = 1
REPL_EXTENT_TREE = 2
REPL_EXPORT_INTEGRITY_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + 0)
REPL_EXPORT_EXTENT_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + 1)
REPL_UNLOCK_NOFORCE = 0
REPL_UNLOCK_FORCE = 1
REPL_STATE_OK = 0
REPL_STATE_NO_MASTER = 1
REPL_STATE_NO_SYNC = 2
REPL_STATE_NEVER_REPLICATED = 3

REPL_INFO_0 struct
    rp0_role dd ?
    rp0_exportpath dd ?
    rp0_exportlist dd ?
    rp0_importpath dd ?
    rp0_importlist dd ?
    rp0_logonusername dd ?
    rp0_interval dd ?
    rp0_pulse dd ?
    rp0_guardtime dd ?
    rp0_random dd ?
REPL_INFO_0 ends

REPL_INFO_1000 struct
    rp1000_interval dd ?
REPL_INFO_1000 ends

REPL_INFO_1001 struct
    rp1001_pulse dd ?
REPL_INFO_1001 ends

REPL_INFO_1002 struct
    rp1002_guardtime dd ?
REPL_INFO_1002 ends

REPL_INFO_1003 struct
    rp1003_random dd ?
REPL_INFO_1003 ends

REPL_EDIR_INFO_0 struct
    rped0_dirname dd ?
REPL_EDIR_INFO_0 ends

REPL_EDIR_INFO_1 struct
    rped1_dirname dd ?
    rped1_integrity dd ?
    rped1_extent dd ?
REPL_EDIR_INFO_1 ends

REPL_EDIR_INFO_2 struct
    rped2_dirname dd ?
    rped2_integrity dd ?
    rped2_extent dd ?
    rped2_lockcount dd ?
    rped2_locktime dd ?
REPL_EDIR_INFO_2 ends

REPL_EDIR_INFO_1000 struct
    rped1000_integrity dd ?
REPL_EDIR_INFO_1000 ends

REPL_EDIR_INFO_1001 struct
    rped1001_extent dd ?
REPL_EDIR_INFO_1001 ends

REPL_IDIR_INFO_0 struct
    rpid0_dirname dd ?
REPL_IDIR_INFO_0 ends

REPL_IDIR_INFO_1 struct
    rpid1_dirname dd ?
    rpid1_state dd ?
    rpid1_mastername dd ?
    rpid1_last_update_time dd ?
    rpid1_lockcount dd ?
    rpid1_locktime dd ?
REPL_IDIR_INFO_1 ends

;==============================[ LMSHARE.H ]=============================
SHARE_NETNAME_PARMNUM = 1
SHARE_TYPE_PARMNUM = 3
SHARE_REMARK_PARMNUM = 4
SHARE_PERMISSIONS_PARMNUM = 5
SHARE_MAX_USES_PARMNUM = 6
SHARE_CURRENT_USES_PARMNUM = 7
SHARE_PATH_PARMNUM = 8
SHARE_PASSWD_PARMNUM = 9
SHARE_FILE_SD_PARMNUM = 501
SHARE_REMARK_INFOLEVEL =  (PARMNUM_BASE_INFOLEVEL + SHARE_REMARK_PARMNUM)
SHARE_MAX_USES_INFOLEVEL =  (PARMNUM_BASE_INFOLEVEL + SHARE_MAX_USES_PARMNUM)
SHARE_FILE_SD_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SHARE_FILE_SD_PARMNUM)
SHI1_NUM_ELEMENTS = 4
SHI2_NUM_ELEMENTS = 10
STYPE_DISKTREE = 0
STYPE_PRINTQ = 1
STYPE_DEVICE = 2
STYPE_IPC = 3
STYPE_SPECIAL = 80000000h
SHI_USES_UNLIMITED = -1
SHI1005_FLAGS_DFS = 1
SHI1005_FLAGS_DFS_ROOT = 2
COW_PERMACHINE = 4
COW_PERUSER = 8
CSC_CACHEABLE = 10h
CSC_NOFLOWOPS = 20h
CSC_AUTO_INWARD = 40h
CSC_AUTO_OUTWARD = 80h
SHI1005_VALID_FLAGS_SET = (CSC_CACHEABLE + CSC_NOFLOWOPS + CSC_AUTO_INWARD + CSC_AUTO_OUTWARD+ COW_PERMACHINE  + COW_PERUSER)
SHI1007_VALID_FLAGS_SET = SHI1005_VALID_FLAGS_SET
SESS_GUEST = 1
SESS_NOENCRYPTION = 2
SESI1_NUM_ELEMENTS = 8
SESI2_NUM_ELEMENTS = 9
PERM_FILE_READ = 1
PERM_FILE_WRITE = 2
PERM_FILE_CREATE = 4

SHARE_INFO_0 struct
    shi0_netname dd ?
SHARE_INFO_0 ends

SHARE_INFO_1 struct
    shi1_netname dd ?
    shi1_type dd ?
    shi1_remark dd ?
SHARE_INFO_1 ends

SHARE_INFO_2 struct
    shi2_netname dd ?
    shi2_type dd ?
    shi2_remark dd ?
    shi2_permissions dd ?
    shi2_max_uses dd ?
    shi2_current_uses dd ?
    shi2_path dd ?
    shi2_passwd dd ?
SHARE_INFO_2 ends

SHARE_INFO_501 struct
    shi501_netname dd ?
    shi501_type dd ?
    shi501_remark dd ?
    shi501_flags dd ?
SHARE_INFO_501 ends

SHARE_INFO_502 struct
    shi502_netname dd ?
    shi502_type dd ?
    shi502_remark dd ?
    shi502_permissions dd ?
    shi502_max_uses dd ?
    shi502_current_uses dd ?
    shi502_path dd ?
    shi502_passwd dd ?
    shi502_reserved dd ?
    shi502_security_descriptor dd ?
SHARE_INFO_502 ends

SHARE_INFO_1004 struct
    shi1004_remark dd ?
SHARE_INFO_1004 ends

SHARE_INFO_1005 struct
    shi1005_flags dd ?
SHARE_INFO_1005 ends

SHARE_INFO_1006 struct
    shi1006_max_uses dd ?
SHARE_INFO_1006 ends

SHARE_INFO_1007 struct
    shi1007_flags dd ?
    shi1007_AlternateDirectoryName dd ?
SHARE_INFO_1007 ends

SHARE_INFO_1501 struct
    shi1501_reserved dd ?
    shi1501_security_descriptor dd ?
SHARE_INFO_1501 ends

SESSION_INFO_0 struct
    sesi0_cname dd ?
SESSION_INFO_0 ends

SESSION_INFO_1 struct
    sesi1_cname dd ?
    sesi1_username dd ?
    sesi1_num_opens dd ?
    sesi1_time dd ?
    sesi1_idle_time dd ?
    sesi1_user_flags dd ?
SESSION_INFO_1 ends

SESSION_INFO_2 struct
    sesi2_cname dd ?
    sesi2_username dd ?
    sesi2_num_opens dd ?
    sesi2_time dd ?
    sesi2_idle_time dd ?
    sesi2_user_flags dd ?
    sesi2_cltype_name dd ?
SESSION_INFO_2 ends

SESSION_INFO_10 struct
    sesi10_cname dd ?
    sesi10_username dd ?
    sesi10_time dd ?
    sesi10_idle_time dd ?
SESSION_INFO_10 ends

SESSION_INFO_502 struct
    sesi502_cname dd ?
    sesi502_username dd ?
    sesi502_num_opens dd ?
    sesi502_time dd ?
    sesi502_idle_time dd ?
    sesi502_user_flags dd ?
    sesi502_cltype_name dd ?
    sesi502_transport dd ?
SESSION_INFO_502 ends

CONNECTION_INFO_0 struct
    coni0_id dd ?
CONNECTION_INFO_0 ends

CONNECTION_INFO_1 struct
    coni1_id dd ?
    coni1_type dd ?
    coni1_num_opens dd ?
    coni1_num_users dd ?
    coni1_time dd ?
    coni1_username dd ?
    coni1_netname dd ?
CONNECTION_INFO_1 ends

FILE_INFO_2 struct
    fi2_id dd ?
FILE_INFO_2 ends

FILE_INFO_3 struct
    fi3_id dd ?
    fi3_permissions dd ?
    fi3_num_locks dd ?
    fi3_pathname dd ?
    fi3_username dd ?
FILE_INFO_3 ends

;===================================[ LMSNAME.H ]===================
SERVICE_WORKSTATION equ "LanmanWorkstation";A
SERVICE_LM20_WORKSTATION equ "WORKSTATION";A
WORKSTATION_DISPLAY_NAME equ "Workstation";A
SERVICE_SERVER equ "LanmanServer";A
SERVICE_LM20_SERVER equ "SERVER";A
SERVER_DISPLAY_NAME equ "Server";A
SERVICE_BROWSER equ "BROWSER";A
SERVICE_LM20_BROWSER equ SERVICE_BROWSER
SERVICE_MESSENGER equ "MESSENGER";A
SERVICE_LM20_MESSENGER equ SERVICE_MESSENGER
SERVICE_NETRUN equ "NETRUN";A
SERVICE_LM20_NETRUN equ SERVICE_NETRUN
SERVICE_SPOOLER equ "SPOOLER";A
SERVICE_LM20_SPOOLER equ SERVICE_SPOOLER
SERVICE_ALERTER equ "ALERTER";A
SERVICE_LM20_ALERTER equ SERVICE_ALERTER
SERVICE_NETLOGON equ "NETLOGON";A
SERVICE_LM20_NETLOGON equ SERVICE_NETLOGON
SERVICE_NETPOPUP equ "NETPOPUP";A
SERVICE_LM20_NETPOPUP equ SERVICE_NETPOPUP
SERVICE_SQLSERVER equ "SQLSERVER";A
SERVICE_LM20_SQLSERVER equ SERVICE_SQLSERVER
SERVICE_REPL equ "REPLICATOR";A
SERVICE_LM20_REPL equ SERVICE_REPL
SERVICE_RIPL equ "REMOTEBOOT";A
SERVICE_LM20_RIPL equ SERVICE_RIPL
SERVICE_TIMESOURCE equ "TIMESOURCE";A
SERVICE_LM20_TIMESOURCE equ SERVICE_TIMESOURCE
SERVICE_AFP equ "AFP";A
SERVICE_LM20_AFP equ SERVICE_AFP
SERVICE_UPS equ "UPS";A
SERVICE_LM20_UPS equ SERVICE_UPS
SERVICE_XACTSRV equ "XACTSRV";A
SERVICE_LM20_XACTSRV equ SERVICE_XACTSRV
SERVICE_TCPIP equ "TCPIP";A
SERVICE_LM20_TCPIP equ SERVICE_TCPIP
SERVICE_NBT equ "NBT";A
SERVICE_LM20_NBT equ SERVICE_NBT
SERVICE_LMHOSTS equ "LMHOSTS";A
SERVICE_LM20_LMHOSTS = SERVICE_LMHOSTS
SERVICE_TELNET = "Telnet";A
SERVICE_LM20_TELNET = SERVICE_TELNET
SERVICE_SCHEDULE = "Schedule";A
SERVICE_LM20_SCHEDULE = SERVICE_SCHEDULE
SERVICE_NTLMSSP = "NtLmSsp";A
SERVICE_DHCP = "DHCP";A
SERVICE_LM20_DHCP equ SERVICE_DHCP
SERVICE_NWSAP equ "NwSapAgent";A
SERVICE_LM20_NWSAP equ SERVICE_NWSAP
NWSAP_DISPLAY_NAME equ "NW Sap Agent";A
SERVICE_NWCS equ "NWCWorkstation";A
SERVICE_DNS_CACHE equ "DnsCache";A
SERVICE_W32TIME equ "w32time";A
SERVCE_LM20_W32TIME equ SERVICE_W32TIME
SERVICE_KDC equ "kdc";A
SERVICE_LM20_KDC equ SERVICE_KDC
SERVICE_RPCLOCATOR equ "RPCLOCATOR";A
SERVICE_LM20_RPCLOCATOR equ SERVICE_RPCLOCATOR
SERVICE_TRKSVR equ "TrkSvr";A
SERVICE_LM20_TRKSVR equ SERVICE_TRKSVR
SERVICE_TRKWKS equ "TrkWks";A
SERVICE_LM20_TRKWKS equ SERVICE_TRKWKS

;====================================[ LMSTATS.H ]======================
STATSOPT_CLR = 1
STATS_NO_VALUE  = -1
STATS_OVERFLOW  =  -2

STAT_WORKSTATION_0 struct
     stw0_start dd ?
     stw0_numNCB_r dd ?
     stw0_numNCB_s dd ?
     stw0_numNCB_a dd ?
     stw0_fiNCB_r dd ?
     stw0_fiNCB_s dd ?
     stw0_fiNCB_a dd ?
     stw0_fcNCB_r dd ?
     stw0_fcNCB_s dd ?
     stw0_fcNCB_a dd ?
     stw0_sesstart dd ?
     stw0_sessfailcon dd ?
     stw0_sessbroke dd ?
     stw0_uses dd ?
     stw0_usefail dd ?
     stw0_autorec dd ?
     stw0_bytessent_r_lo dd ?
     stw0_bytessent_r_hi dd ?
     stw0_bytesrcvd_r_lo dd ?
     stw0_bytesrcvd_r_hi dd ?
     stw0_bytessent_s_lo dd ?
     stw0_bytessent_s_hi dd ?
     stw0_bytesrcvd_s_lo dd ?
     stw0_bytesrcvd_s_hi dd ?
     stw0_bytessent_a_lo dd ?
     stw0_bytessent_a_hi dd ?
     stw0_bytesrcvd_a_lo dd ?
     stw0_bytesrcvd_a_hi dd ?
     stw0_reqbufneed dd ?
     stw0_bigbufneed dd ?
STAT_WORKSTATION_0 ends

STAT_SERVER_0 struct
     sts0_start dd ?
     sts0_fopens dd ?
     sts0_devopens dd ?
     sts0_jobsqueued dd ?
     sts0_sopens dd ?
     sts0_stimedout dd ?
     sts0_serrorout dd ?
     sts0_pwerrors dd ?
     sts0_permerrors dd ?
     sts0_syserrors dd ?
     sts0_bytessent_low dd ?
     sts0_bytessent_high dd ?
     sts0_bytesrcvd_low dd ?
     sts0_bytesrcvd_high dd ?
     sts0_avresponse dd ?
     sts0_reqbufneed dd ?
     sts0_bigbufneed dd ?
STAT_SERVER_0 ends

;===========================[ LMSVC.H ]============================
SERVICE_INFO_0 struct
    svci0_name dd ?
SERVICE_INFO_0 ends

SERVICE_INFO_1 struct
    svci1_name dd ?
    svci1_status dd ?
    svci1_code dd ?
    svci1_pid dd ?
SERVICE_INFO_1 ends

SERVICE_INFO_2 struct
    svci2_name dd ?
    svci2_status dd ?
    svci2_code dd ?
    svci2_pid dd ?
    svci2_text dd ?
    svci2_specific_error dd ?
    svci2_display_name dd ?
SERVICE_INFO_2 ends

SERVICE_INSTALL_STATE = 3
SERVICE_UNINSTALLED = 0
SERVICE_INSTALL_PENDING = 1
SERVICE_UNINSTALL_PENDING = 2
SERVICE_INSTALLED = 3
SERVICE_PAUSE_STATE = 0Ch
LM20_SERVICE_ACTIVE = 0
LM20_SERVICE_CONTINUE_PENDING = 4
LM20_SERVICE_PAUSE_PENDING = 8
LM20_SERVICE_PAUSED = 0Ch
SERVICE_NOT_UNINSTALLABLE = 0
SERVICE_UNINSTALLABLE = 10h
SERVICE_NOT_PAUSABLE = 0
SERVICE_PAUSABLE = 20h
SERVICE_REDIR_PAUSED = 700h
SERVICE_REDIR_DISK_PAUSED = 100h
SERVICE_REDIR_PRINT_PAUSED = 200h
SERVICE_REDIR_COMM_PAUSED = 400h
SERVICE_DOS_ENCRYPTION equ "ENCRYPT":L
SERVICE_CTRL_INTERROGATE = 0
SERVICE_CTRL_PAUSE = 1
SERVICE_CTRL_CONTINUE = 2
SERVICE_CTRL_UNINSTALL = 3
SERVICE_CTRL_REDIR_DISK = 1
SERVICE_CTRL_REDIR_PRINT = 2
SERVICE_CTRL_REDIR_COMM = 4
SERVICE_IP_NO_HINT = 0
SERVICE_CCP_NO_HINT = 0
SERVICE_IP_QUERY_HINT = 10000h
SERVICE_CCP_QUERY_HINT = 10000h
SERVICE_IP_CHKPT_NUM = 0FFh
SERVICE_CCP_CHKPT_NUM = 0FFh
SERVICE_IP_WAIT_TIME = 0FF00h
SERVICE_CCP_WAIT_TIME = 0FF00h
SERVICE_IP_WAITTIME_SHIFT = 8
SERVICE_NTIP_WAITTIME_SHIFT = 12
UPPER_HINT_MASK = 0FF00h
LOWER_HINT_MASK = 0FFh
UPPER_GET_HINT_MASK = 0FF00000h
LOWER_GET_HINT_MASK = 0FF00h
SERVICE_NT_MAXTIME = 0FFFFh
SERVICE_RESRV_MASK = 1FFFFh
SERVICE_MAXTIME = 0FFh
SERVICE_BASE = 3050
SERVICE_UIC_NORMAL = 0
SERVICE_UIC_BADPARMVAL = (SERVICE_BASE + 1)
SERVICE_UIC_MISSPARM = (SERVICE_BASE + 2)
SERVICE_UIC_UNKPARM = (SERVICE_BASE + 3)
SERVICE_UIC_RESOURCE = (SERVICE_BASE + 4)
SERVICE_UIC_CONFIG = (SERVICE_BASE + 5)
SERVICE_UIC_SYSTEM = (SERVICE_BASE + 6)
SERVICE_UIC_INTERNAL = (SERVICE_BASE + 7)
SERVICE_UIC_AMBIGPARM = (SERVICE_BASE + 8)
SERVICE_UIC_DUPPARM = (SERVICE_BASE + 9)
SERVICE_UIC_KILL = (SERVICE_BASE + 10)
SERVICE_UIC_EXEC = (SERVICE_BASE + 11)
SERVICE_UIC_SUBSERV = (SERVICE_BASE + 12)
SERVICE_UIC_CONFLPARM = (SERVICE_BASE + 13)
SERVICE_UIC_FILE = (SERVICE_BASE + 14)
SERVICE_UIC_M_NULL = 0
SERVICE_UIC_M_MEMORY = (SERVICE_BASE + 20)
SERVICE_UIC_M_DISK = (SERVICE_BASE + 21)
SERVICE_UIC_M_THREADS = (SERVICE_BASE + 22)
SERVICE_UIC_M_PROCESSES = (SERVICE_BASE + 23)
SERVICE_UIC_M_SECURITY = (SERVICE_BASE + 24)
SERVICE_UIC_M_LANROOT = (SERVICE_BASE + 25)
SERVICE_UIC_M_REDIR = (SERVICE_BASE + 26)
SERVICE_UIC_M_SERVER = (SERVICE_BASE + 27)
SERVICE_UIC_M_SEC_FILE_ERR = (SERVICE_BASE + 28)
SERVICE_UIC_M_FILES = (SERVICE_BASE + 29)
SERVICE_UIC_M_LOGS = (SERVICE_BASE + 30)
SERVICE_UIC_M_LANGROUP = (SERVICE_BASE + 31)
SERVICE_UIC_M_MSGNAME = (SERVICE_BASE + 32)
SERVICE_UIC_M_ANNOUNCE = (SERVICE_BASE + 33)
SERVICE_UIC_M_UAS = (SERVICE_BASE + 34)
SERVICE_UIC_M_SERVER_SEC_ERR = (SERVICE_BASE + 35)
SERVICE_UIC_M_WKSTA = (SERVICE_BASE + 37)
SERVICE_UIC_M_ERRLOG = (SERVICE_BASE + 38)
SERVICE_UIC_M_FILE_UW = (SERVICE_BASE + 39)
SERVICE_UIC_M_ADDPAK = (SERVICE_BASE + 40)
SERVICE_UIC_M_LAZY = (SERVICE_BASE + 41)
SERVICE_UIC_M_UAS_MACHINE_ACCT = (SERVICE_BASE + 42)
SERVICE_UIC_M_UAS_SERVERS_NMEMB = (SERVICE_BASE + 43)
SERVICE_UIC_M_UAS_SERVERS_NOGRP = (SERVICE_BASE + 44)
SERVICE_UIC_M_UAS_INVALID_ROLE = (SERVICE_BASE + 45)
SERVICE_UIC_M_NETLOGON_NO_DC = (SERVICE_BASE + 46)
SERVICE_UIC_M_NETLOGON_DC_CFLCT = (SERVICE_BASE + 47)
SERVICE_UIC_M_NETLOGON_AUTH = (SERVICE_BASE + 48)
SERVICE_UIC_M_UAS_PROLOG = (SERVICE_BASE + 49)
SERVICE2_BASE = 5600
SERVICE_UIC_M_NETLOGON_MPATH = (SERVICE2_BASE + 0)
SERVICE_UIC_M_LSA_MACHINE_ACCT = (SERVICE2_BASE + 1)
SERVICE_UIC_M_DATABASE_ERROR = (SERVICE2_BASE + 2)

;==============================[ LMUSE.H ]======================
USE_INFO_0 struct
    ui0_local dd ?
    ui0_remote dd ?
USE_INFO_0 ends

USE_INFO_1 struct
    ui1_local dd ?
    ui1_remote dd ?
    ui1_password dd ?
    ui1_status dd ?
    ui1_asg_type dd ?
    ui1_refcount dd ?
    ui1_usecount dd ?
USE_INFO_1 ends

USE_INFO_2 struct
    ui2_local dd ?
    ui2_remote dd ?
    ui2_password dd ?
    ui2_status dd ?
    ui2_asg_type dd ?
    ui2_refcount dd ?
    ui2_usecount dd ?
    ui2_username dd ?
    ui2_domainname dd ?
USE_INFO_2 ends

USE_INFO_3 struct
    ui3_ui2 USE_INFO_2 <>
    ui3_flags dd ?
USE_INFO_3 ends

USE_LOCAL_PARMNUM = 1
USE_REMOTE_PARMNUM = 2
USE_PASSWORD_PARMNUM = 3
USE_ASGTYPE_PARMNUM = 4
USE_USERNAME_PARMNUM = 5
USE_DOMAINNAME_PARMNUM = 6
USE_OK = 0
USE_PAUSED = 1
USE_SESSLOST = 2
USE_DISCONN = 2
USE_NETERR = 3
USE_CONN = 4
USE_RECONN = 5
USE_WILDCARD = -1
USE_DISKDEV = 0
USE_SPOOLDEV = 1
USE_CHARDEV = 2
USE_IPC = 3
CREATE_NO_CONNECT = 1

;============================[ LMUSEFLG.H]=======================
USE_NOFORCE = 0
USE_FORCE = 1
USE_LOTS_OF_FORCE = 2

STRRET struct
 uType      dd ?
 union
    pOleStr    dd ?
    pStr       dd ?
    uOffset    dd ?
    union
        cStr       db MAX_PATH dup(?)
        cstr       db MAX_PATH dup(?)
    ends
 ends
STRRET ends

;;;; end lmserver

;;;; ras

;---------------------------------------[ RAS.H ]-----------------------------------------

RAS_MaxDeviceType = 16
RAS_MaxPhoneNumber = 128
RAS_MaxIpAddress = 15
RAS_MaxIpxAddress = 21
RAS_MaxEntryName = 256
RAS_MaxDeviceName = 128
RAS_MaxCallbackNumber = RAS_MaxPhoneNumber
RAS_MaxAreaCode = 10
RAS_MaxPadType = 32
RAS_MaxX25Address = 200
RAS_MaxFacilities = 200
RAS_MaxUserData = 200
RASCS_PAUSED = 1000h
RASCS_DONE = 2000h
RDEOPT_UsePrefixSuffix = 1
RDEOPT_PausedStates = 2
RDEOPT_IgnoreModemSpeaker = 4
RDEOPT_SetModemSpeaker = 8
RDEOPT_IgnoreSoftwareCompression = 10h
RDEOPT_SetSoftwareCompression = 20h
RDEOPT_DisableConnectedUI = 40h
RDEOPT_DisableReconnectUI = 80h
RDEOPT_DisableReconnect = 100h
RDEOPT_NoUser = 200h
RDEOPT_PauseOnScript = 400h
RASDIALEVENT equ "RasDialEvent"
WM_RASDIALEVENT = 0CCCDh
RASEO_UseCountryAndAreaCodes = 1
RASEO_SpecificIpAddr = 2
RASEO_SpecificNameServers = 4
RASEO_IpHeaderCompression = 8
RASEO_RemoteDefaultGateway = 10h
RASEO_DisableLcpExtensions = 20h
RASEO_TerminalBeforeDial = 40h
RASEO_TerminalAfterDial = 80h
RASEO_ModemLights = 100h
RASEO_SwCompression = 200h
RASEO_RequireEncryptedPw = 400h
RASEO_RequireMsEncryptedPw = 800h
RASEO_RequireDataEncryption = 1000h
RASEO_NetworkLogon = 2000h
RASEO_UseLogonCredentials = 4000h
RASEO_PromoteAlternates = 8000h
RASEO_SecureLocalFiles = 10000h
RASNP_NetBEUI = 1
RASNP_Ipx = 2
RASNP_Ip = 4
RASFP_Ppp = 1
RASFP_Slip = 2
RASFP_Ras = 4
RASDT_Modem equ "modem";A
RASDT_Isdn equ "isdn";A
RASDT_X25 equ "x25";A
RASCN_Connection = 1
RASCN_Disconnection = 2
RASCN_BandwidthAdded = 4
RASCN_BandwidthRemoved = 8
RASEDM_DialAll = 1
RASEDM_DialAsNeeded = 2
RASIDS_Disabled = 0ffffffffh
RASIDS_UseGlobalValue = 0
RASADFLG_PositionDlg = 1
RASCM_UserName = 1
RASCM_Password = 2
RASCM_Domain = 4
RASADP_DisableConnectionQuery = 0
RASADP_LoginSessionDisable = 1
RASADP_SavedAddressesLimit = 2
RASADP_FailedConnectionTimeout = 3
RASADP_ConnectionQueryTimeout = 4

RASCS_OpenPort = 0
RASCS_PortOpened = 1
RASCS_ConnectDevice = 2
RASCS_DeviceConnected = 3
RASCS_AllDevicesConnected = 4
RASCS_Authenticate = 5
RASCS_AuthNotify = 6
RASCS_AuthRetry = 7
RASCS_AuthCallback = 8
RASCS_AuthChangePassword = 9
RASCS_AuthProject = 10
RASCS_AuthLinkSpeed = 11
RASCS_AuthAck = 12
RASCS_ReAuthenticate = 13
RASCS_Authenticated = 14
RASCS_PrepareForCallback = 15
RASCS_WaitForModemReset = 16
RASCS_WaitForCallback = 17
RASCS_Projected = 18
RASCS_StartAuthentication = 19
RASCS_CallbackComplete = 20
RASCS_LogonNetwork = 21
RASCS_SubEntryConnected = 22
RASCS_SubEntryDisconnected = 23
RASCS_Interactive = RASCS_PAUSED
RASCS_RetryAuthentication = RASCS_PAUSED+1
RASCS_CallbackSetByCaller = RASCS_PAUSED+2
RASCS_PasswordExpired = RASCS_PAUSED+3
RASCS_Connected = RASCS_DONE
RASCS_Disconnected = RASCS_DONE+1
RASP_Amb = 10000h
RASP_PppNbf = 803Fh
RASP_PppIpx = 802Bh
RASP_PppIp = 8021h
RASP_PppLcp = 0C021h
RASP_Slip = 20000h

RASCONN struct
    dwSize dd ?
    hrasconn dd ?
    szEntryName TCHAR RAS_MaxEntryName + 1 dup(?)
    szDeviceType TCHAR RAS_MaxDeviceType + 1 dup(?)
    szDeviceName TCHAR RAS_MaxDeviceName + 1 dup(?)
    szPhonebook TCHAR MAX_PATH dup(?)
    dwSubEntry dd ?
    guidEntry GUID <>
    dwFlags dd ?
    luid LUID <>
    guidCorrelationId GUID <>
RASCONN ends

RASCONNSTATUS struct
    dwSize dd ?
    rasconnstate dd ?
    dwError dd ?
    szDeviceType TCHAR RAS_MaxDeviceType + 1 dup(?)
    szDeviceName TCHAR RAS_MaxDeviceName + 1 dup(?)
    szPhoneNumber TCHAR RAS_MaxPhoneNumber + 1 dup(?)
RASCONNSTATUS ends

RASDIALPARAMS struct
    dwSize dd ?
    szEntryName TCHAR RAS_MaxEntryName + 1 dup(?)
    szPhoneNumber TCHAR RAS_MaxPhoneNumber + 1 dup(?)
    szCallbackNumber TCHAR RAS_MaxCallbackNumber + 1 dup(?)
    szUserName TCHAR UNLEN + 1 dup(?)
    szPassword TCHAR PWLEN + 1 dup(?)
    szDomain TCHAR DNLEN + 1 dup(?)
    dwSubEntry dd ?
    dwCallbackId dd ?
    dwIfIndex dd ?
RASDIALPARAMS ends

RASDIALEXTENSIONS struct
    dwSize dd ?
    dwfOptions dd ?
    hwndParent dd ?
    reserved dd ?
RASDIALEXTENSIONS ends

RASENTRYNAME struct
    dwSize dd ?
    szEntryName TCHAR RAS_MaxEntryName + 1 dup(?)
    dwFlags dd ?
    szPhonebookPath TCHAR MAX_PATH + 1 dup(?)
RASENTRYNAME ends

RASAMB struct
    dwSize dd ?
    dwError dd ?
    szNetBiosError TCHAR NETBIOS_NAME_LEN + 1 dup(?)
    bLana TCHAR ?
RASAMB ends

RASPPPNBF struct
    dwSize dd ?
    dwError dd ?
    dwNetBiosError dd ?
    szNetBiosError TCHAR NETBIOS_NAME_LEN + 1 dup(?)
    szWorkstationName TCHAR NETBIOS_NAME_LEN + 1 dup(?)
    bLana db ?
RASPPPNBF ends

RASPPPIPX struct
    dwSize dd ?
    dwError dd ?
    szIpxAddress TCHAR RAS_MaxIpxAddress + 1 dup (?)
RASPPPIPX ends

RASPPPIP struct
    dwSize dd ?
    dwError dd ?
    szIpAddress TCHAR RAS_MaxIpAddress + 1 dup(?)
    szServerIpAddress TCHAR RAS_MaxIpAddress + 1 dup(?)
RASPPPIP ends

RASPPPLCP struct
    dwSize dd ?
    fBundled BOOL ?
RASPPPLCP ends

RASSLIP struct
    dwSize dd ?
    dwError dd ?
    szIpAddress TCHAR RAS_MaxIpAddress + 1 dup(?)
RASSLIP ends

RASDEVINFO struct
    dwSize dd ?
    szDeviceType TCHAR RAS_MaxDeviceType + 1 dup(?)
    szDeviceName TCHAR RAS_MaxDeviceName + 1 dup(?)
RASDEVINFO ends

RASCTRYINFO struct
    dwSize dd ?
    dwCountryID dd ?
    dwNextCountryID dd ?
    dwCountryCode dd ?
    dwCountryNameOffset dd ?
RASCTRYINFO ends

RASIPADDR struct
    _a db ?
    _b db ?
    _c db ?
    _d db ?
RASIPADDR ends

RASENTRY struct
    dwSize dd ?
    dwfOptions dd ?
    dwCountryID dd ?
    dwCountryCode dd ?
    szAreaCode TCHAR RAS_MaxAreaCode + 1 dup(?)
    szLocalPhoneNumber TCHAR RAS_MaxPhoneNumber + 1 dup(?)
    dwAlternateOffset dd ?
    ipaddr RASIPADDR <>
    ipaddrDns RASIPADDR <>
    ipaddrDnsAlt RASIPADDR <>
    ipaddrWins RASIPADDR <>
    ipaddrWinsAlt RASIPADDR <>
    dwFrameSize dd ?
    dwfNetProtocols dd ?
    dwFramingProtocol dd ?
    szScript TCHAR MAX_PATH dup(?)
    szAutodialDll TCHAR MAX_PATH dup(?)
    szAutodialFunc TCHAR MAX_PATH dup(?)
    szDeviceType TCHAR RAS_MaxDeviceType + 1 dup(?)
    szDeviceName TCHAR RAS_MaxDeviceName + 1 dup(?)
    szX25PadType TCHAR RAS_MaxPadType + 1 dup(?)
    szX25Address TCHAR RAS_MaxX25Address + 1 dup(?)
    szX25Facilities TCHAR RAS_MaxFacilities + 1 dup(?)
    szX25UserData TCHAR RAS_MaxUserData + 1 dup(?)
    dwChannels dd ?
    dwReserved1 dd ?
    dwReserved2 dd ?
RASENTRY ends

;-----------------------------------------[ rasdlg.h ]--------------------------------
RASPBDEVENT_AddEntry = 1
RASPBDEVENT_EditEntry = 2
RASPBDEVENT_RemoveEntry = 3
RASPBDEVENT_DialEntry = 4
RASPBDEVENT_EditGlobals = 5
RASPBDEVENT_NoUser = 6
RASPBDEVENT_NoUserEdit = 7
RASPBDFLAG_PositionDlg = 1
RASPBDFLAG_ForceCloseOnDial = 2
RASPBDFLAG_NoUser = 10h
RASPBDFLAG_UpdateDefaults = 80000000h
RASMDPAGE_Status = 0
RASMDPAGE_Summary = 1
RASMDPAGE_Preferences = 2
RASMDFLAG_PositionDlg = 1
RASMDFLAG_UpdateDefaults = 80000000h
RASEDFLAG_PositionDlg = 1
RASEDFLAG_NewEntry = 2
RASEDFLAG_CloneEntry = 4
RASEDFLAG_NoRename = 8
RASDDFLAG_PositionDlg = 1
RASDDFLAG_LinkFailure = 80000000h

RASPBDLG struct
    dwSize dd ?
    hwndOwner dd ?
    dwFlags dd ?
    xDlg dd ?
    yDlg dd ?
    dwCallbackId dd ?
    pCallback dd ?
    dwError dd ?
    reserved dd ?
    reserved2 dd ?
RASPBDLG ends

RASENTRYDLG struct
    dwSize dd ?
    hwndOwner dd ?
    dwFlags dd ?
    xDlg dd ?
    yDlg dd ?
    szEntry TCHAR RAS_MaxEntryName+1 dup(?)
    dwError dd ?
    reserved dd ?
    reserved2 dd ?
RASENTRYDLG ends

RASDIALDLG struct
    dwSize dd ?
    hwndOwner dd ?
    dwFlags dd ?
    xDlg dd ?
    yDlg dd ?
    dwSubEntry dd ?
    dwError dd ?
    reserved dd ?
    reserved2 dd ?
RASDIALDLG ends

RASMONITORDLG struct
    dwSize dd ?
    hwndOwner dd ?
    dwFlags dd ?
    dwStartPage dd ?
    xDlg dd ?
    yDlg dd ?
    dwError dd ?
    reserved dd ?
    reserved2 dd ?
RASMONITORDLG ends

RASNOUSER struct
    dwSize dd ?
    dwFlags dd ?
    dwTimeoutMs dd ?
    szUserName TCHAR UNLEN + 1 dup(?)
    szPassword TCHAR PWLEN + 1 dup(?)
    szDomain TCHAR DNLEN + 1 dup(?)
RASNOUSER ends

;----------------------------------------[ raserror.h ]--------------------------------
RASBASE = 600
SUCCESS = 0
PENDING = (RASBASE+0)
ERROR_INVALID_PORT_HANDLE = (RASBASE+1)
ERROR_PORT_ALREADY_OPEN = (RASBASE+2)
ERROR_BUFFER_TOO_SMALL = (RASBASE+3)
ERROR_WRONG_INFO_SPECIFIED = (RASBASE+4)
ERROR_CANNOT_SET_PORT_INFO = (RASBASE+5)
ERROR_PORT_NOT_CONNECTED = (RASBASE+6)
ERROR_EVENT_INVALID = (RASBASE+7)
ERROR_DEVICE_DOES_NOT_EXIST = (RASBASE+8)
ERROR_DEVICETYPE_DOES_NOT_EXIST = (RASBASE+9)
ERROR_BUFFER_INVALID = (RASBASE+10)
ERROR_ROUTE_NOT_AVAILABLE = (RASBASE+11)
ERROR_ROUTE_NOT_ALLOCATED = (RASBASE+12)
ERROR_INVALID_COMPRESSION_SPECIFIED = (RASBASE+13)
ERROR_OUT_OF_BUFFERS = (RASBASE+14)
ERROR_PORT_NOT_FOUND = (RASBASE+15)
ERROR_ASYNC_REQUEST_PENDING = (RASBASE+16)
ERROR_ALREADY_DISCONNECTING = (RASBASE+17)
ERROR_PORT_NOT_OPEN = (RASBASE+18)
ERROR_PORT_DISCONNECTED = (RASBASE+19)
ERROR_NO_ENDPOINTS = (RASBASE+20)
ERROR_CANNOT_OPEN_PHONEBOOK = (RASBASE+21)
ERROR_CANNOT_LOAD_PHONEBOOK = (RASBASE+22)
ERROR_CANNOT_FIND_PHONEBOOK_ENTRY = (RASBASE+23)
ERROR_CANNOT_WRITE_PHONEBOOK = (RASBASE+24)
ERROR_CORRUPT_PHONEBOOK = (RASBASE+25)
ERROR_CANNOT_LOAD_STRING = (RASBASE+26)
ERROR_KEY_NOT_FOUND = (RASBASE+27)
ERROR_DISCONNECTION = (RASBASE+28)
ERROR_REMOTE_DISCONNECTION = (RASBASE+29)
ERROR_HARDWARE_FAILURE = (RASBASE+30)
ERROR_USER_DISCONNECTION = (RASBASE+31)
ERROR_INVALID_SIZE = (RASBASE+32)
ERROR_PORT_NOT_AVAILABLE = (RASBASE+33)
ERROR_CANNOT_PROJECT_CLIENT = (RASBASE+34)
ERROR_UNKNOWN = (RASBASE+35)
ERROR_WRONG_DEVICE_ATTACHED = (RASBASE+36)
ERROR_BAD_STRING = (RASBASE+37)
ERROR_REQUEST_TIMEOUT = (RASBASE+38)
ERROR_CANNOT_GET_LANA = (RASBASE+39)
ERROR_NETBIOS_ERROR = (RASBASE+40)
ERROR_SERVER_OUT_OF_RESOURCES = (RASBASE+41)
ERROR_NAME_EXISTS_ON_NET = (RASBASE+42)
ERROR_SERVER_GENERAL_NET_FAILURE = (RASBASE+43)
WARNING_MSG_ALIAS_NOT_ADDED = (RASBASE+44)
ERROR_AUTH_INTERNAL = (RASBASE+45)
ERROR_RESTRICTED_LOGON_HOURS = (RASBASE+46)
ERROR_ACCT_DISABLED = (RASBASE+47)
ERROR_PASSWD_EXPIRED = (RASBASE+48)
ERROR_NO_DIALIN_PERMISSION = (RASBASE+49)
ERROR_SERVER_NOT_RESPONDING = (RASBASE+50)
ERROR_FROM_DEVICE = (RASBASE+51)
ERROR_UNRECOGNIZED_RESPONSE = (RASBASE+52)
ERROR_MACRO_NOT_FOUND = (RASBASE+53)
ERROR_MACRO_NOT_DEFINED = (RASBASE+54)
ERROR_MESSAGE_MACRO_NOT_FOUND = (RASBASE+55)
ERROR_DEFAULTOFF_MACRO_NOT_FOUND = (RASBASE+56)
ERROR_FILE_COULD_NOT_BE_OPENED = (RASBASE+57)
ERROR_DEVICENAME_TOO_LONG = (RASBASE+58)
ERROR_DEVICENAME_NOT_FOUND = (RASBASE+59)
ERROR_NO_RESPONSES = (RASBASE+60)
ERROR_NO_COMMAND_FOUND = (RASBASE+61)
ERROR_WRONG_KEY_SPECIFIED = (RASBASE+62)
ERROR_UNKNOWN_DEVICE_TYPE = (RASBASE+63)
ERROR_ALLOCATING_MEMORY = (RASBASE+64)
ERROR_PORT_NOT_CONFIGURED = (RASBASE+65)
ERROR_DEVICE_NOT_READY = (RASBASE+66)
ERROR_READING_INI_FILE = (RASBASE+67)
ERROR_NO_CONNECTION = (RASBASE+68)
ERROR_BAD_USAGE_IN_INI_FILE = (RASBASE+69)
ERROR_READING_SECTIONNAME = (RASBASE+70)
ERROR_READING_DEVICETYPE = (RASBASE+71)
ERROR_READING_DEVICENAME = (RASBASE+72)
ERROR_READING_USAGE = (RASBASE+73)
ERROR_READING_MAXCONNECTBPS = (RASBASE+74)
ERROR_READING_MAXCARRIERBPS = (RASBASE+75)
ERROR_LINE_BUSY = (RASBASE+76)
ERROR_VOICE_ANSWER = (RASBASE+77)
ERROR_NO_ANSWER = (RASBASE+78)
ERROR_NO_CARRIER = (RASBASE+79)
ERROR_NO_DIALTONE = (RASBASE+80)
ERROR_IN_COMMAND = (RASBASE+81)
ERROR_WRITING_SECTIONNAME = (RASBASE+82)
ERROR_WRITING_DEVICETYPE = (RASBASE+83)
ERROR_WRITING_DEVICENAME = (RASBASE+84)
ERROR_WRITING_MAXCONNECTBPS = (RASBASE+85)
ERROR_WRITING_MAXCARRIERBPS = (RASBASE+86)
ERROR_WRITING_USAGE = (RASBASE+87)
ERROR_WRITING_DEFAULTOFF = (RASBASE+88)
ERROR_READING_DEFAULTOFF = (RASBASE+89)
ERROR_EMPTY_INI_FILE = (RASBASE+90)
ERROR_AUTHENTICATION_FAILURE = (RASBASE+91)
ERROR_PORT_OR_DEVICE = (RASBASE+92)
ERROR_NOT_BINARY_MACRO = (RASBASE+93)
ERROR_DCB_NOT_FOUND = (RASBASE+94)
ERROR_STATE_MACHINES_NOT_STARTED = (RASBASE+95)
ERROR_STATE_MACHINES_ALREADY_STARTED = (RASBASE+96)
ERROR_PARTIAL_RESPONSE_LOOPING = (RASBASE+97)
ERROR_UNKNOWN_RESPONSE_KEY = (RASBASE+98)
ERROR_RECV_BUF_FULL = (RASBASE+99)
ERROR_CMD_TOO_LONG = (RASBASE+100)
ERROR_UNSUPPORTED_BPS = (RASBASE+101)
ERROR_UNEXPECTED_RESPONSE = (RASBASE+102)
ERROR_INTERACTIVE_MODE = (RASBASE+103)
ERROR_BAD_CALLBACK_NUMBER = (RASBASE+104)
ERROR_INVALID_AUTH_STATE = (RASBASE+105)
ERROR_WRITING_INITBPS = (RASBASE+106)
ERROR_X25_DIAGNOSTIC = (RASBASE+107)
ERROR_ACCT_EXPIRED = (RASBASE+108)
ERROR_CHANGING_PASSWORD = (RASBASE+109)
ERROR_OVERRUN = (RASBASE+110)
ERROR_RASMAN_CANNOT_INITIALIZE   = (RASBASE+111)
ERROR_BIPLEX_PORT_NOT_AVAILABLE = (RASBASE+112)
ERROR_NO_ACTIVE_ISDN_LINES = (RASBASE+113)
ERROR_NO_ISDN_CHANNELS_AVAILABLE = (RASBASE+114)
ERROR_TOO_MANY_LINE_ERRORS = (RASBASE+115)
ERROR_IP_CONFIGURATION = (RASBASE+116)
ERROR_NO_IP_ADDRESSES = (RASBASE+117)
ERROR_PPP_TIMEOUT = (RASBASE+118)
ERROR_PPP_REMOTE_TERMINATED = (RASBASE+119)
ERROR_PPP_NO_PROTOCOLS_CONFIGURED = (RASBASE+120)
ERROR_PPP_NO_RESPONSE = (RASBASE+121)
ERROR_PPP_INVALID_PACKET = (RASBASE+122)
ERROR_PHONE_NUMBER_TOO_LONG = (RASBASE+123)
ERROR_IPXCP_NO_DIALOUT_CONFIGURED = (RASBASE+124)
ERROR_IPXCP_NO_DIALIN_CONFIGURED = (RASBASE+125)
ERROR_IPXCP_DIALOUT_ALREADY_ACTIVE = (RASBASE+126)
ERROR_ACCESSING_TCPCFGDLL = (RASBASE+127)
ERROR_NO_IP_RAS_ADAPTER = (RASBASE+128)
ERROR_SLIP_REQUIRES_IP = (RASBASE+129)
ERROR_PROJECTION_NOT_COMPLETE = (RASBASE+130)
ERROR_PROTOCOL_NOT_CONFIGURED = (RASBASE+131)
ERROR_PPP_NOT_CONVERGING = (RASBASE+132)
ERROR_PPP_CP_REJECTED = (RASBASE+133)
ERROR_PPP_LCP_TERMINATED = (RASBASE+134)
ERROR_PPP_REQUIRED_ADDRESS_REJECTED = (RASBASE+135)
ERROR_PPP_NCP_TERMINATED = (RASBASE+136)
ERROR_PPP_LOOPBACK_DETECTED = (RASBASE+137)
ERROR_PPP_NO_ADDRESS_ASSIGNED = (RASBASE+138)
ERROR_CANNOT_USE_LOGON_CREDENTIALS = (RASBASE+139)
ERROR_TAPI_CONFIGURATION = (RASBASE+140)
ERROR_NO_LOCAL_ENCRYPTION = (RASBASE+141)
ERROR_NO_REMOTE_ENCRYPTION = (RASBASE+142)
ERROR_REMOTE_REQUIRES_ENCRYPTION = (RASBASE+143)
ERROR_IPXCP_NET_NUMBER_CONFLICT = (RASBASE+144)
ERROR_INVALID_SMM = (RASBASE+145)
ERROR_SMM_UNINITIALIZED = (RASBASE+146)
ERROR_NO_MAC_FOR_PORT = (RASBASE+147)
ERROR_SMM_TIMEOUT = (RASBASE+148)
ERROR_BAD_PHONE_NUMBER = (RASBASE+149)
ERROR_WRONG_MODULE = (RASBASE+150)
ERROR_INVALID_CALLBACK_NUMBER = (RASBASE+151)
ERROR_SCRIPT_SYNTAX = (RASBASE+152)
RASBASEEND = (RASBASE+152)

;------------------------------------[ rassapi.h ]-------------------------------------

RASSAPI_MAX_PHONENUMBER_SIZE = 128
RASSAPI_MAX_MEDIA_NAME   = 16
RASSAPI_MAX_PORT_NAME    = 16
RASSAPI_MAX_DEVICE_NAME = 128
RASSAPI_MAX_DEVICETYPE_NAME = 16
RASSAPI_MAX_PARAM_KEY_SIZE = 32
RASPRIV_NoCallback = 1
RASPRIV_AdminSetCallback = 2
RASPRIV_CallerSetCallback = 4
RASPRIV_DialinPrivilege = 8
RASPRIV_CallbackType = (RASPRIV_AdminSetCallback+RASPRIV_CallerSetCallback+RASPRIV_NoCallback)
RAS_MODEM_OPERATIONAL    = 1
RAS_MODEM_NOT_RESPONDING = 2
RAS_MODEM_HARDWARE_FAILURE = 3
RAS_MODEM_INCORRECT_RESPONSE = 4
RAS_MODEM_UNKNOWN =           5
RAS_PORT_NON_OPERATIONAL = 1
RAS_PORT_DISCONNECTED    = 2
RAS_PORT_CALLING_BACK = 3
RAS_PORT_LISTENING   = 4
RAS_PORT_AUTHENTICATING = 5
RAS_PORT_AUTHENTICATED   = 6
RAS_PORT_INITIALIZING    = 7
MEDIA_UNKNOWN = 0
MEDIA_SERIAL = 1
MEDIA_RAS10_SERIAL = 2
MEDIA_X25 = 3
MEDIA_ISDN = 4
USER_AUTHENTICATED = 1
MESSENGER_PRESENT = 2
PPP_CLIENT = 4
GATEWAY_ACTIVE = 8
REMOTE_LISTEN = 10h
PORT_MULTILINKED = 20h
RAS_IPADDRESSLEN = 15
RAS_IPXADDRESSLEN = 22
RAS_ATADDRESSLEN = 32
RASDOWNLEVEL = 10
RASADMIN_35 = 35
RASADMIN_CURRENT = 40
ParamNumber = 0
ParamString = 1

RAS_PARAMS_VALUE union ;DWORD
    Number dd ?
    struct ;String
        iLength dd ?
        Data dd ?
    ends
RAS_PARAMS_VALUE ends

RAS_PARAMETERS struct
    P_Key   db RASSAPI_MAX_PARAM_KEY_SIZE dup(?)
    P_Type dd ?
    P_Attributes db ?
    P_Value RAS_PARAMS_VALUE <>
RAS_PARAMETERS ends

RAS_USER_0 struct
    bfPrivilege db ?
    szPhoneNumber dw RASSAPI_MAX_PHONENUMBER_SIZE + 1 dup(?)
RAS_USER_0 ends

RAS_PORT_0 struct
    wszPortName dw RASSAPI_MAX_PORT_NAME dup(?)
    wszDeviceType dw RASSAPI_MAX_DEVICETYPE_NAME dup(?)
    wszDeviceName dw RASSAPI_MAX_DEVICE_NAME dup(?)
    wszMediaName dw RASSAPI_MAX_MEDIA_NAME dup(?)
    reserved dd ?
    Flags dd ?
    wszUserName dw UNLEN + 1 dup(?)
    wszComputer dw NETBIOS_NAME_LEN dup(?)
    dwStartSessionTime dd ?
    wszLogonDomain dw DNLEN + 1 dup(?)
    fAdvancedServer BOOL ?
RAS_PORT_0 ends

RAS_PPP_NBFCP_RESULT struct
    dwError dd ?
    dwNetBiosError dd ?
    szName db NETBIOS_NAME_LEN + 1 dup(?)
    wszWksta dw NETBIOS_NAME_LEN + 1 dup(?)
RAS_PPP_NBFCP_RESULT ends

RAS_PPP_IPCP_RESULT struct
    dwError dd ?
    wszAddress dw RAS_IPADDRESSLEN + 1 dup(?)
RAS_PPP_IPCP_RESULT ends

RAS_PPP_IPXCP_RESULT struct
    dwError dd ?
    wszAddress dw RAS_IPXADDRESSLEN + 1 dup(?)
RAS_PPP_IPXCP_RESULT ends

RAS_PPP_ATCP_RESULT struct
    dwError dd ?
    wszAddress dw RAS_ATADDRESSLEN + 1 dup(?)
RAS_PPP_ATCP_RESULT ends

RAS_PPP_PROJECTION_RESULT struct
    nbf RAS_PPP_NBFCP_RESULT <>
    ip RAS_PPP_IPCP_RESULT <>
    ipx RAS_PPP_IPXCP_RESULT <>
    at RAS_PPP_ATCP_RESULT <>
RAS_PPP_PROJECTION_RESULT ends

RAS_PORT_1 struct
    rasport0 RAS_PORT_0 <>
    LineCondition dd ?
    HardwareCondition dd ?
    LineSpeed dd ?
    NumStatistics dw ?
    NumMediaParms dw ?
    SizeMediaParms dd ?
    ProjResult RAS_PPP_PROJECTION_RESULT <>
RAS_PORT_1 ends

RAS_PORT_STATISTICS struct
    dwBytesXmited dd ?
    dwBytesRcved dd ?
    dwFramesXmited dd ?
    dwFramesRcved dd ?
    dwCrcErr dd ?
    dwTimeoutErr dd ?
    dwAlignmentErr dd ?
    dwHardwareOverrunErr dd ?
    dwFramingErr dd ?
    dwBufferOverrunErr dd ?
    dwBytesXmitedUncompressed dd ?
    dwBytesRcvedUncompressed dd ?
    dwBytesXmitedCompressed dd ?
    dwBytesRcvedCompressed dd ?
    dwPortBytesXmited dd ?
    dwPortBytesRcved dd ?
    dwPortFramesXmited dd ?
    dwPortFramesRcved dd ?
    dwPortCrcErr dd ?
    dwPortTimeoutErr dd ?
    dwPortAlignmentErr dd ?
    dwPortHardwareOverrunErr dd ?
    dwPortFramingErr dd ?
    dwPortBufferOverrunErr dd ?
    dwPortBytesXmitedUncompressed dd ?
    dwPortBytesRcvedUncompressed dd ?
    dwPortBytesXmitedCompressed dd ?
    dwPortBytesRcvedCompressed dd ?
RAS_PORT_STATISTICS ends

RAS_SERVER_0 struct
    TotalPorts dw ?
    PortsInUse dw ?
    RasVersion dd ?
RAS_SERVER_0 ends

;;;; end ras

;;;; oledlg

IDC_OLEUIHELP                    = 99
IDC_IO_CREATENEW                 = 2100
IDC_IO_CREATEFROMFILE            = 2101
IDC_IO_LINKFILE                  = 2102
IDC_IO_OBJECTTYPELIST            = 2103
IDC_IO_DISPLAYASICON             = 2104
IDC_IO_CHANGEICON                = 2105
IDC_IO_FILE                      = 2106
IDC_IO_FILEDISPLAY               = 2107
IDC_IO_RESULTIMAGE               = 2108
IDC_IO_RESULTTEXT                = 2109
IDC_IO_ICONDISPLAY               = 2110
IDC_IO_OBJECTTYPETEXT            = 2111
IDC_IO_FILETEXT                  = 2112
IDC_IO_FILETYPE                  = 2113
IDC_IO_INSERTCONTROL             = 2114
IDC_IO_ADDCONTROL                = 2115
IDC_IO_CONTROLTYPELIST           = 2116
IDC_PS_PASTE                     = 500
IDC_PS_PASTELINK                 = 501
IDC_PS_SOURCETEXT                = 502
IDC_PS_PASTELIST                 = 503
IDC_PS_PASTELINKLIST             = 504
IDC_PS_DISPLAYLIST               = 505
IDC_PS_DISPLAYASICON             = 506
IDC_PS_ICONDISPLAY               = 507
IDC_PS_CHANGEICON                = 508
IDC_PS_RESULTIMAGE               = 509
IDC_PS_RESULTTEXT                = 510
IDC_CI_GROUP                     = 120
IDC_CI_CURRENT                   = 121
IDC_CI_CURRENTICON               = 122
IDC_CI_DEFAULT                   = 123
IDC_CI_DEFAULTICON               = 124
IDC_CI_FROMFILE                  = 125
IDC_CI_FROMFILEEDIT              = 126
IDC_CI_ICONLIST                  = 127
IDC_CI_LABEL                     = 128
IDC_CI_LABELEDIT                 = 129
IDC_CI_BROWSE                    = 130
IDC_CI_ICONDISPLAY               = 131
IDC_CV_OBJECTTYPE                = 150
IDC_CV_DISPLAYASICON             = 152
IDC_CV_CHANGEICON                = 153
IDC_CV_ACTIVATELIST              = 154
IDC_CV_CONVERTTO                 = 155
IDC_CV_ACTIVATEAS                = 156
IDC_CV_RESULTTEXT                = 157
IDC_CV_CONVERTLIST               = 158
IDC_CV_ICONDISPLAY               = 165
IDC_EL_CHANGESOURCE              = 201
IDC_EL_AUTOMATIC                 = 202
IDC_EL_CANCELLINK                = 209
IDC_EL_UPDATENOW                 = 210
IDC_EL_OPENSOURCE                = 211
IDC_EL_MANUAL                    = 212
IDC_EL_LINKSOURCE                = 216
IDC_EL_LINKTYPE                  = 217
IDC_EL_LINKSLISTBOX              = 206
IDC_EL_COL1                      = 220
IDC_EL_COL2                      = 221
IDC_EL_COL3                      = 222
IDC_BZ_RETRY                     = 600
IDC_BZ_ICON                      = 601
IDC_BZ_MESSAGE1                  = 602
IDC_BZ_SWITCHTO                  = 604
IDC_UL_METER                     = 1029
IDC_UL_STOP                      = 1030
IDC_UL_PERCENT                   = 1031
IDC_UL_PROGRESS                  = 1032
IDC_PU_LINKS                     = 900
IDC_PU_TEXT                      = 901
IDC_PU_CONVERT                   = 902
IDC_PU_ICON                      = 908
IDC_GP_OBJECTNAME                = 1009
IDC_GP_OBJECTTYPE                = 1010
IDC_GP_OBJECTSIZE                = 1011
IDC_GP_CONVERT                   = 1013
IDC_GP_OBJECTICON                = 1014
IDC_GP_OBJECTLOCATION            = 1022
IDC_VP_PERCENT                   = 1000
IDC_VP_CHANGEICON                = 1001
IDC_VP_EDITABLE                  = 1002
IDC_VP_ASICON                    = 1003
IDC_VP_RELATIVE                  = 1005
IDC_VP_SPIN                      = 1006
IDC_VP_SCALETXT                  = 1034
IDC_VP_ICONDISPLAY               = 1021
IDC_VP_RESULTIMAGE               = 1033
IDC_LP_OPENSOURCE                = 1006
IDC_LP_UPDATENOW                 = 1007
IDC_LP_BREAKLINK                 = 1008
IDC_LP_LINKSOURCE                = 1012
IDC_LP_CHANGESOURCE              = 1015
IDC_LP_AUTOMATIC                 = 1016
IDC_LP_MANUAL                    = 1017
IDC_LP_DATE                      = 1018
IDC_LP_TIME                      = 1019
IDD_INSERTOBJECT                 = 1000
IDD_CHANGEICON                   = 1001
IDD_CONVERT                      = 1002
IDD_PASTESPECIAL                 = 1003
IDD_EDITLINKS                    = 1004
IDD_BUSY                         = 1006
IDD_UPDATELINKS                  = 1007
IDD_CHANGESOURCE                 = 1009
IDD_INSERTFILEBROWSE             = 1010
IDD_CHANGEICONBROWSE             = 1011
IDD_CONVERTONLY                  = 1012
IDD_CHANGESOURCE4                = 1013
IDD_GNRLPROPS                    = 1100
IDD_VIEWPROPS                    = 1101
IDD_LINKPROPS                    = 1102
IDD_CONVERT4                     = 1103
IDD_CONVERTONLY4                 = 1104
IDD_EDITLINKS4                   = 1105
IDD_GNRLPROPS4                   = 1106
IDD_LINKPROPS4                   = 1107
IDD_PASTESPECIAL4                = 1108
IDD_CANNOTUPDATELINK             = 1008
IDD_LINKSOURCEUNAVAILABLE        = 1020
IDD_SERVERNOTFOUND               = 1023
IDD_OUTOFMEMORY                  = 1024
IDD_SERVERNOTREGA                = 1025
IDD_SERVERNOTREGW                = 1021
IDD_LINKTYPECHANGEDA             = 1026
IDD_LINKTYPECHANGEDW             = 1022
if UNICODE eq TRUE
    IDD_SERVERNOTREG = IDD_SERVERNOTREGW
    IDD_LINKTYPECHANGED = IDD_LINKTYPECHANGEDW
else
    IDD_SERVERNOTREG = IDD_SERVERNOTREGA
    IDD_LINKTYPECHANGED = IDD_LINKTYPECHANGEDA
end if

ID_BROWSE_CHANGEICON             = 1
ID_BROWSE_INSERTFILE             = 2
ID_BROWSE_ADDCONTROL             = 3
ID_BROWSE_CHANGESOURCE           = 4
OLEUI_FALSE                      = 0
OLEUI_SUCCESS                    = 1
OLEUI_OK                         = 1
OLEUI_CANCEL                     = 2
OLEUI_ERR_STANDARDMIN            = 100
OLEUI_ERR_OLEMEMALLOC            = 100
OLEUI_ERR_STRUCTURENULL          = 101
OLEUI_ERR_STRUCTUREINVALID       = 102
OLEUI_ERR_CBSTRUCTINCORRECT      = 103
OLEUI_ERR_HWNDOWNERINVALID       = 104
OLEUI_ERR_LPSZCAPTIONINVALID     = 105
OLEUI_ERR_LPFNHOOKINVALID        = 106
OLEUI_ERR_HINSTANCEINVALID       = 107
OLEUI_ERR_LPSZTEMPLATEINVALID    = 108
OLEUI_ERR_HRESOURCEINVALID       = 109
OLEUI_ERR_FINDTEMPLATEFAILURE    = 110
OLEUI_ERR_LOADTEMPLATEFAILURE    = 111
OLEUI_ERR_DIALOGFAILURE          = 112
OLEUI_ERR_LOCALMEMALLOC          = 113
OLEUI_ERR_GLOBALMEMALLOC         = 114
OLEUI_ERR_LOADSTRING             = 115
OLEUI_ERR_STANDARDMAX            = 116
IOF_SHOWHELP                     = 00000001h
IOF_SELECTCREATENEW              = 00000002h
IOF_SELECTCREATEFROMFILE         = 00000004h
IOF_CHECKLINK                    = 00000008h
IOF_CHECKDISPLAYASICON           = 00000010h
IOF_CREATENEWOBJECT              = 00000020h
IOF_CREATEFILEOBJECT             = 00000040h
IOF_CREATELINKOBJECT             = 00000080h
IOF_DISABLELINK                  = 00000100h
IOF_VERIFYSERVERSEXIST           = 00000200h
IOF_DISABLEDISPLAYASICON         = 00000400h
IOF_HIDECHANGEICON               = 00000800h
IOF_SHOWINSERTCONTROL            = 00001000h
IOF_SELECTCREATECONTROL          = 00002000h
OLEUI_IOERR_LPSZFILEINVALID      = (OLEUI_ERR_STANDARDMAX+0)
OLEUI_IOERR_LPSZLABELINVALID     = (OLEUI_ERR_STANDARDMAX+1)
OLEUI_IOERR_HICONINVALID         = (OLEUI_ERR_STANDARDMAX+2)
OLEUI_IOERR_LPFORMATETCINVALID   = (OLEUI_ERR_STANDARDMAX+3)
OLEUI_IOERR_PPVOBJINVALID        = (OLEUI_ERR_STANDARDMAX+4)
OLEUI_IOERR_LPIOLECLIENTSITEINVALID = (OLEUI_ERR_STANDARDMAX+5)
OLEUI_IOERR_LPISTORAGEINVALID    = (OLEUI_ERR_STANDARDMAX+6)
OLEUI_IOERR_SCODEHASERROR        = (OLEUI_ERR_STANDARDMAX+7)
OLEUI_IOERR_LPCLSIDEXCLUDEINVALID = (OLEUI_ERR_STANDARDMAX+8)
OLEUI_IOERR_CCHFILEINVALID       = (OLEUI_ERR_STANDARDMAX+9)
PS_MAXLINKTYPES                  = 8
PSF_SHOWHELP                     = 00000001h
PSF_SELECTPASTE                  = 00000002h
PSF_SELECTPASTELINK              = 00000004h
PSF_CHECKDISPLAYASICON           = 00000008h
PSF_DISABLEDISPLAYASICON         = 00000010h
PSF_HIDECHANGEICON               = 00000020h
PSF_STAYONCLIPBOARDCHANGE        = 00000040h
PSF_NOREFRESHDATAOBJECT          = 00000080h
OLEUI_IOERR_SRCDATAOBJECTINVALID = (OLEUI_ERR_STANDARDMAX+0)
OLEUI_IOERR_ARRPASTEENTRIESINVALID = (OLEUI_ERR_STANDARDMAX+1)
OLEUI_IOERR_ARRLINKTYPESINVALID  = (OLEUI_ERR_STANDARDMAX+2)
OLEUI_PSERR_CLIPBOARDCHANGED     = (OLEUI_ERR_STANDARDMAX+3)
OLEUI_PSERR_GETCLIPBOARDFAILED   = (OLEUI_ERR_STANDARDMAX+4)
OLEUI_ELERR_LINKCNTRNULL         = (OLEUI_ERR_STANDARDMAX+0)
OLEUI_ELERR_LINKCNTRINVALID      = (OLEUI_ERR_STANDARDMAX+1)
ELF_SHOWHELP                     = 00000001h
ELF_DISABLEUPDATENOW             = 00000002h
ELF_DISABLEOPENSOURCE            = 00000004h
ELF_DISABLECHANGESOURCE          = 00000008h
ELF_DISABLECANCELLINK            = 00000010h
CIF_SHOWHELP                     = 00000001h
CIF_SELECTCURRENT                = 00000002h
CIF_SELECTDEFAULT                = 00000004h
CIF_SELECTFROMFILE               = 00000008h
CIF_USEICONEXE                   = 00000010h
OLEUI_CIERR_MUSTHAVECLSID        = (OLEUI_ERR_STANDARDMAX+0)
OLEUI_CIERR_MUSTHAVECURRENTMETAFILE = (OLEUI_ERR_STANDARDMAX+1)
OLEUI_CIERR_SZICONEXEINVALID     = (OLEUI_ERR_STANDARDMAX+2)
CF_SHOWHELPBUTTON                = 00000001h
CF_SETCONVERTDEFAULT             = 00000002h
CF_SETACTIVATEDEFAULT            = 00000004h
CF_SELECTCONVERTTO               = 00000008h
CF_SELECTACTIVATEAS              = 00000010h
CF_DISABLEDISPLAYASICON          = 00000020h
CF_DISABLEACTIVATEAS             = 00000040h
CF_HIDECHANGEICON                = 00000080h
CF_CONVERTONLY                   = 00000100h
OLEUI_CTERR_CLASSIDINVALID       = (OLEUI_ERR_STANDARDMAX+1)
OLEUI_CTERR_DVASPECTINVALID      = (OLEUI_ERR_STANDARDMAX+2)
OLEUI_CTERR_CBFORMATINVALID      = (OLEUI_ERR_STANDARDMAX+3)
OLEUI_CTERR_HMETAPICTINVALID     = (OLEUI_ERR_STANDARDMAX+4)
OLEUI_CTERR_STRINGINVALID        = (OLEUI_ERR_STANDARDMAX+5)
BZ_DISABLECANCELBUTTON           = 00000001h
BZ_DISABLESWITCHTOBUTTON         = 00000002h
BZ_DISABLERETRYBUTTON            = 00000004h
BZ_NOTRESPONDINGDIALOG           = 00000008h
OLEUI_BZERR_HTASKINVALID         = (OLEUI_ERR_STANDARDMAX+0)
OLEUI_BZ_SWITCHTOSELECTED        = (OLEUI_ERR_STANDARDMAX+1)
OLEUI_BZ_RETRYSELECTED           = (OLEUI_ERR_STANDARDMAX+2)
OLEUI_BZ_CALLUNBLOCKED           = (OLEUI_ERR_STANDARDMAX+3)
CSF_SHOWHELP                     = 00000001h
CSF_VALIDSOURCE                  = 00000002h
CSF_ONLYGETSOURCE                = 00000004h
CSF_EXPLORER                     = 00000008h
OLEUI_CSERR_LINKCNTRNULL         = (OLEUI_ERR_STANDARDMAX+0)
OLEUI_CSERR_LINKCNTRINVALID      = (OLEUI_ERR_STANDARDMAX+1)
OLEUI_CSERR_FROMNOTNULL          = (OLEUI_ERR_STANDARDMAX+2)
OLEUI_CSERR_TONOTNULL            = (OLEUI_ERR_STANDARDMAX+3)
OLEUI_CSERR_SOURCENULL           = (OLEUI_ERR_STANDARDMAX+4)
OLEUI_CSERR_SOURCEINVALID        = (OLEUI_ERR_STANDARDMAX+5)
OLEUI_CSERR_SOURCEPARSERROR      = (OLEUI_ERR_STANDARDMAX+6)
OLEUI_CSERR_SOURCEPARSEERROR     = (OLEUI_ERR_STANDARDMAX+6)
VPF_SELECTRELATIVE               = 00000001h
VPF_DISABLERELATIVE              = 00000002h
VPF_DISABLESCALE                 = 00000004h
OPF_OBJECTISLINK                 = 00000001h
OPF_NOFILLDEFAULT                = 00000002h
OPF_SHOWHELP                     = 00000004h
OPF_DISABLECONVERT               = 00000008h
OLEUI_OPERR_SUBPROPNULL          = (OLEUI_ERR_STANDARDMAX+0)
OLEUI_OPERR_SUBPROPINVALID       = (OLEUI_ERR_STANDARDMAX+1)
OLEUI_OPERR_PROPSHEETNULL        = (OLEUI_ERR_STANDARDMAX+2)
OLEUI_OPERR_PROPSHEETINVALID     = (OLEUI_ERR_STANDARDMAX+3)
OLEUI_OPERR_SUPPROP              = (OLEUI_ERR_STANDARDMAX+4)
OLEUI_OPERR_PROPSINVALID         = (OLEUI_ERR_STANDARDMAX+5)
OLEUI_OPERR_PAGESINCORRECT       = (OLEUI_ERR_STANDARDMAX+6)
OLEUI_OPERR_INVALIDPAGES         = (OLEUI_ERR_STANDARDMAX+7)
OLEUI_OPERR_NOTSUPPORTED         = (OLEUI_ERR_STANDARDMAX+8)
OLEUI_OPERR_DLGPROCNOTNULL       = (OLEUI_ERR_STANDARDMAX+9)
OLEUI_OPERR_LPARAMNOTZERO        = (OLEUI_ERR_STANDARDMAX+10)
OLEUI_GPERR_STRINGINVALID        = (OLEUI_ERR_STANDARDMAX+11)
OLEUI_GPERR_CLASSIDINVALID       = (OLEUI_ERR_STANDARDMAX+12)
OLEUI_GPERR_LPCLSIDEXCLUDEINVALID = (OLEUI_ERR_STANDARDMAX+13)
OLEUI_GPERR_CBFORMATINVALID      = (OLEUI_ERR_STANDARDMAX+14)
OLEUI_VPERR_METAPICTINVALID      = (OLEUI_ERR_STANDARDMAX+15)
OLEUI_VPERR_DVASPECTINVALID      = (OLEUI_ERR_STANDARDMAX+16)
OLEUI_LPERR_LINKCNTRNULL         = (OLEUI_ERR_STANDARDMAX+17)
OLEUI_LPERR_LINKCNTRINVALID      = (OLEUI_ERR_STANDARDMAX+18)
OLEUI_OPERR_PROPERTYSHEET        = (OLEUI_ERR_STANDARDMAX+19)
OLEUI_OPERR_OBJINFOINVALID       = (OLEUI_ERR_STANDARDMAX+20)
OLEUI_OPERR_LINKINFOINVALID      = (OLEUI_ERR_STANDARDMAX+21)
OLEUI_QUERY_GETCLASSID           = 0FF00h
OLEUI_QUERY_LINKBROKEN           = 0FF01h

;;;; end oledlg

;;;; htmlhelp

HH_DISPLAY_TOPIC                 = 0000h
HH_HELP_FINDER                   = 0000h
HH_DISPLAY_TOC                   = 0001h
HH_DISPLAY_INDEX                 = 0002h
HH_DISPLAY_SEARCH                = 0003h
HH_SET_WIN_TYPE                  = 0004h
HH_GET_WIN_TYPE                  = 0005h
HH_GET_WIN_HANDLE                = 0006h
HH_ENUM_INFO_TYPE                = 0007h
HH_SET_INFO_TYPE                 = 0008h
HH_SYNC                          = 0009h
HH_RESERVED1                     = 000Ah
HH_RESERVED2                     = 000Bh
HH_RESERVED3                     = 000Ch
HH_KEYWORD_LOOKUP                = 000Dh
HH_DISPLAY_TEXT_POPUP            = 000Eh
HH_HELP_CONTEXT                  = 000Fh
HH_TP_HELP_CONTEXTMENU           = 0010h
HH_TP_HELP_WM_HELP               = 0011h
HH_CLOSE_ALL                     = 0012h
HH_ALINK_LOOKUP                  = 0013h
HH_GET_LAST_ERROR                = 0014h
HH_ENUM_CATEGORY                 = 0015h
HH_ENUM_CATEGORY_IT              = 0016h
HH_RESET_IT_FILTER               = 0017h
HH_SET_INCLUSIVE_FILTER          = 0018h
HH_SET_EXCLUSIVE_FILTER          = 0019h
HH_INITIALIZE                    = 001Ch
HH_UNINITIALIZE                  = 001Dh
HH_SET_QUERYSERVICE              = 001Eh
HH_PRETRANSLATEMESSAGE           = 00fdh
HH_SET_GLOBAL_PROPERTY           = 00fch
IDTB_EXPAND                      = 200
IDTB_CONTRACT                    = 201
IDTB_STOP                        = 202
IDTB_REFRESH                     = 203
IDTB_BACK                        = 204
IDTB_HOME                        = 205
IDTB_SYNC                        = 206
IDTB_PRINT                       = 207
IDTB_OPTIONS                     = 208
IDTB_FORWARD                     = 209
IDTB_NOTES                       = 210
IDTB_BROWSE_FWD                  = 211
IDTB_BROWSE_BACK                 = 212
IDTB_CONTENTS                    = 213
IDTB_INDEX                       = 214
IDTB_SEARCH                      = 215
IDTB_HISTORY                     = 216
IDTB_FAVORITES                   = 217
IDTB_JUMP1                       = 218
IDTB_JUMP2                       = 219
IDTB_CUSTOMIZE                   = 221
IDTB_ZOOM                        = 222
IDTB_TOC_NEXT                    = 223
IDTB_TOC_PREV                    = 224
HH_MAX_TABS                      = 19
HH_FTS_DEFAULT_PROXIMITY         = -1
ATOM_HTMLHELP_API_ANSI           = 14
ATOM_HTMLHELP_API_UNICODE        = 15

;;;; end htmlhelp

;;;; wincon

NLS_DBCSCHAR                     = 00010000h
NLS_ALPHANUMERIC                 = 00000000h
NLS_KATAKANA                     = 00020000h
NLS_HIRAGANA                     = 00040000h
NLS_ROMAN                        = 00400000h
NLS_IME_CONVERSION               = 00800000h
NLS_IME_DISABLE                  = 20000000h
MOUSE_WHEELED                    = 0004h
MOUSE_HWHEELED                   = 0008h
COMMON_LVB_LEADING_BYTE          = 0100h
COMMON_LVB_TRAILING_BYTE         = 0200h
COMMON_LVB_GRID_HORIZONTAL       = 0400h
COMMON_LVB_GRID_LVERTICAL        = 0800h
COMMON_LVB_GRID_RVERTICAL        = 1000h
COMMON_LVB_REVERSE_VIDEO         = 4000h
COMMON_LVB_UNDERSCORE            = 8000h
COMMON_LVB_SBCSDBCS              = 0300h
HISTORY_NO_DUP_FLAG              = 1h
CONSOLE_NO_SELECTION             = 0000h
CONSOLE_SELECTION_IN_PROGRESS    = 0001h
CONSOLE_SELECTION_NOT_EMPTY      = 0002h
CONSOLE_MOUSE_SELECTION          = 0004h
CONSOLE_MOUSE_DOWN               = 0008h
ENABLE_INSERT_MODE               = 0020h
ENABLE_QUICK_EDIT_MODE           = 0040h
ENABLE_EXTENDED_FLAGS            = 0080h
ENABLE_AUTO_POSITION             = 0100h
CONSOLE_REAL_OUTPUT_HANDLE       = -2
CONSOLE_REAL_INPUT_HANDLE        = -3
ATTACH_PARENT_PROCESS            = -1
CONSOLE_FULLSCREEN               = 1
CONSOLE_FULLSCREEN_HARDWARE      = 2
CONSOLE_FULLSCREEN_MODE          = 1
CONSOLE_WINDOWED_MODE            = 2

;;;; end wincon

;;;; userenv

PI_NOUI                          = 00000001h
PI_APPLYPOLICY                   = 00000002h
PT_TEMPORARY                     = 00000001h
PT_ROAMING                       = 00000002h
PT_MANDATORY                     = 00000004h
RP_FORCE                         = 1
RP_SYNC                          = 2
GPC_BLOCK_POLICY                 = 00000001h
GPO_FLAG_DISABLE                 = 00000001h
GPO_FLAG_FORCE                   = 00000002h
GPO_LIST_FLAG_MACHINE            = 00000001h
GPO_LIST_FLAG_SITEONLY           = 00000002h
GPO_LIST_FLAG_NO_WMIFILTERS      = 00000004h
GPO_LIST_FLAG_NO_SECURITYFILTERS = 00000008h
GPO_INFO_FLAG_MACHINE            = 00000001h
GPO_INFO_FLAG_BACKGROUND         = 00000010h
GPO_INFO_FLAG_SLOWLINK           = 00000020h
GPO_INFO_FLAG_VERBOSE            = 00000040h
GPO_INFO_FLAG_NOCHANGES          = 00000080h
GPO_INFO_FLAG_LINKTRANSITION     = 00000100h
GPO_INFO_FLAG_LOGRSOP_TRANSITION = 00000200h
GPO_INFO_FLAG_FORCED_REFRESH     = 00000400h
GPO_INFO_FLAG_SAFEMODE_BOOT      = 00000800h
GPO_INFO_FLAG_ASYNC_FOREGROUND   = 00001000h
FLAG_NO_GPO_FILTER               = 80000000h
FLAG_NO_CSE_INVOKE               = 40000000h
FLAG_ASSUME_SLOW_LINK            = 20000000h
FLAG_LOOPBACK_MERGE              = 10000000h
FLAG_LOOPBACK_REPLACE            = 08000000h
FLAG_ASSUME_USER_WQLFILTER_TRUE  = 04000000h
FLAG_ASSUME_COMP_WQLFILTER_TRUE  = 02000000h
FLAG_PLANNING_MODE               = 01000000h
FLAG_NO_USER                     = 00000001h
FLAG_NO_COMPUTER                 = 00000002h
FLAG_FORCE_CREATENAMESPACE       = 00000004h
RSOP_USER_ACCESS_DENIED          = 00000001h
RSOP_COMPUTER_ACCESS_DENIED      = 00000002h
RSOP_TEMPNAMESPACE_EXISTS        = 00000004h

;;;; end userenv

;;;; winerror

FACILITY_WINRM                   = 51
FACILITY_WINDOWSUPDATE           = 36
FACILITY_WINDOWS_DEFENDER        = 80
FACILITY_WINDOWS_CE              = 24
FACILITY_WINDOWS                 = 8
FACILITY_URT                     = 19
FACILITY_UMI                     = 22
FACILITY_TPM_SOFTWARE            = 41
FACILITY_TPM_SERVICES            = 40
FACILITY_SXS                     = 23
FACILITY_STORAGE                 = 3
FACILITY_STATE_MANAGEMENT        = 34
FACILITY_SSPI                    = 9
FACILITY_SCARD                   = 16
FACILITY_SHELL                   = 39
FACILITY_SETUPAPI                = 15
FACILITY_SECURITY                = 9
FACILITY_RPC                     = 1
FACILITY_PLA                     = 48
FACILITY_WIN32                   = 7
FACILITY_CONTROL                 = 10
FACILITY_NULL                    = 0
FACILITY_NDIS                    = 52
FACILITY_METADIRECTORY           = 35
FACILITY_MSMQ                    = 14
FACILITY_MEDIASERVER             = 13
FACILITY_INTERNET                = 12
FACILITY_ITF                     = 4
FACILITY_USERMODE_HYPERVISOR     = 53
FACILITY_HTTP                    = 25
FACILITY_GRAPHICS                = 38
FACILITY_FWP                     = 50
FACILITY_FVE                     = 49
FACILITY_USERMODE_FILTER_MANAGER = 31
FACILITY_DPLAY                   = 21
FACILITY_DISPATCH                = 2
FACILITY_DIRECTORYSERVICE        = 37
FACILITY_CONFIGURATION           = 33
FACILITY_COMPLUS                 = 17
FACILITY_USERMODE_COMMONLOG      = 26
FACILITY_CMI                     = 54
FACILITY_CERT                    = 11
FACILITY_BACKGROUNDCOPY          = 32
FACILITY_ACS                     = 20
FACILITY_AAF                     = 18
SEC_E_OK                         = 00000000h
ERROR_EXE_MACHINE_TYPE_MISMATCH  = 216
ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY = 217
ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218
ERROR_FILE_CHECKED_OUT           = 220
ERROR_CHECKOUT_REQUIRED          = 221
ERROR_BAD_FILE_TYPE              = 222
ERROR_FILE_TOO_LARGE             = 223
ERROR_FORMS_AUTH_REQUIRED        = 224
ERROR_VIRUS_INFECTED             = 225
ERROR_VIRUS_DELETED              = 226
ERROR_PIPE_LOCAL                 = 229
ERROR_PARTIAL_COPY               = 299
ERROR_OPLOCK_NOT_GRANTED         = 300
ERROR_INVALID_OPLOCK_PROTOCOL    = 301
ERROR_DISK_TOO_FRAGMENTED        = 302
ERROR_DELETE_PENDING             = 303
ERROR_SCOPE_NOT_FOUND            = 318
ERROR_FAIL_NOACTION_REBOOT       = 350
ERROR_FAIL_SHUTDOWN              = 351
ERROR_FAIL_RESTART               = 352
ERROR_MAX_SESSIONS_REACHED       = 353
ERROR_THREAD_MODE_ALREADY_BACKGROUND = 400
ERROR_THREAD_MODE_NOT_BACKGROUND = 401
ERROR_PROCESS_MODE_ALREADY_BACKGROUND = 402
ERROR_PROCESS_MODE_NOT_BACKGROUND = 403
ERROR_USER_PROFILE_LOAD          = 500
ERROR_VERIFIER_STOP              = 537
ERROR_ABIOS_ERROR                = 538
ERROR_WX86_WARNING               = 539
ERROR_WX86_ERROR                 = 540
ERROR_TIMER_NOT_CANCELED         = 541
ERROR_UNWIND                     = 542
ERROR_BAD_STACK                  = 543
ERROR_INVALID_UNWIND_TARGET      = 544
ERROR_INVALID_PORT_ATTRIBUTES    = 545
ERROR_PORT_MESSAGE_TOO_LONG      = 546
ERROR_INVALID_QUOTA_LOWER        = 547
ERROR_DEVICE_ALREADY_ATTACHED    = 548
ERROR_INSTRUCTION_MISALIGNMENT   = 549
ERROR_PROFILING_NOT_STARTED      = 550
ERROR_PROFILING_NOT_STOPPED      = 551
ERROR_COULD_NOT_INTERPRET        = 552
ERROR_PROFILING_AT_LIMIT         = 553
ERROR_CANT_WAIT                  = 554
ERROR_CANT_TERMINATE_SELF        = 555
ERROR_UNEXPECTED_MM_CREATE_ERR   = 556
ERROR_UNEXPECTED_MM_MAP_ERROR    = 557
ERROR_UNEXPECTED_MM_EXTEND_ERR   = 558
ERROR_BAD_FUNCTION_TABLE         = 559
ERROR_NO_GUID_TRANSLATION        = 560
ERROR_INVALID_LDT_SIZE           = 561
ERROR_INVALID_LDT_OFFSET         = 563
ERROR_INVALID_LDT_DESCRIPTOR     = 564
ERROR_TOO_MANY_THREADS           = 565
ERROR_THREAD_NOT_IN_PROCESS      = 566
ERROR_PAGEFILE_QUOTA_EXCEEDED    = 567
ERROR_LOGON_SERVER_CONFLICT      = 568
ERROR_SYNCHRONIZATION_REQUIRED   = 569
ERROR_NET_OPEN_FAILED            = 570
ERROR_IO_PRIVILEGE_FAILED        = 571
ERROR_CONTROL_C_EXIT             = 572
ERROR_MISSING_SYSTEMFILE         = 573
ERROR_UNHANDLED_EXCEPTION        = 574
ERROR_APP_INIT_FAILURE           = 575
ERROR_PAGEFILE_CREATE_FAILED     = 576
ERROR_INVALID_IMAGE_HASH         = 577
ERROR_NO_PAGEFILE                = 578
ERROR_ILLEGAL_FLOAT_CONTEXT      = 579
ERROR_NO_EVENT_PAIR              = 580
ERROR_DOMAIN_CTRLR_CONFIG_ERROR  = 581
ERROR_ILLEGAL_CHARACTER          = 582
ERROR_UNDEFINED_CHARACTER        = 583
ERROR_FLOPPY_VOLUME              = 584
ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT = 585
ERROR_BACKUP_CONTROLLER          = 586
ERROR_MUTANT_LIMIT_EXCEEDED      = 587
ERROR_FS_DRIVER_REQUIRED         = 588
ERROR_CANNOT_LOAD_REGISTRY_FILE  = 589
ERROR_DEBUG_ATTACH_FAILED        = 590
ERROR_SYSTEM_PROCESS_TERMINATED  = 591
ERROR_DATA_NOT_ACCEPTED          = 592
ERROR_VDM_HARD_ERROR             = 593
ERROR_DRIVER_CANCEL_TIMEOUT      = 594
ERROR_REPLY_MESSAGE_MISMATCH     = 595
ERROR_LOST_WRITEBEHIND_DATA      = 596
ERROR_CLIENT_SERVER_PARAMETERS_INVALID = 597
ERROR_NOT_TINY_STREAM            = 598
ERROR_STACK_OVERFLOW_READ        = 599
ERROR_CONVERT_TO_LARGE           = 600
ERROR_FOUND_OUT_OF_SCOPE         = 601
ERROR_ALLOCATE_BUCKET            = 602
ERROR_MARSHALL_OVERFLOW          = 603
ERROR_INVALID_VARIANT            = 604
ERROR_BAD_COMPRESSION_BUFFER     = 605
ERROR_AUDIT_FAILED               = 606
ERROR_TIMER_RESOLUTION_NOT_SET   = 607
ERROR_INSUFFICIENT_LOGON_INFO    = 608
ERROR_BAD_DLL_ENTRYPOINT         = 609
ERROR_BAD_SERVICE_ENTRYPOINT     = 610
ERROR_IP_ADDRESS_CONFLICT1       = 611
ERROR_IP_ADDRESS_CONFLICT2       = 612
ERROR_REGISTRY_QUOTA_LIMIT       = 613
ERROR_NO_CALLBACK_ACTIVE         = 614
ERROR_PWD_TOO_SHORT              = 615
ERROR_PWD_TOO_RECENT             = 616
ERROR_PWD_HISTORY_CONFLICT       = 617
ERROR_UNSUPPORTED_COMPRESSION    = 618
ERROR_INVALID_HW_PROFILE         = 619
ERROR_INVALID_PLUGPLAY_DEVICE_PATH = 620
ERROR_QUOTA_LIST_INCONSISTENT    = 621
ERROR_EVALUATION_EXPIRATION      = 622
ERROR_ILLEGAL_DLL_RELOCATION     = 623
ERROR_DLL_INIT_FAILED_LOGOFF     = 624
ERROR_VALIDATE_CONTINUE          = 625
ERROR_NO_MORE_MATCHES            = 626
ERROR_RANGE_LIST_CONFLICT        = 627
ERROR_SERVER_SID_MISMATCH        = 628
ERROR_CANT_ENABLE_DENY_ONLY      = 629
ERROR_FLOAT_MULTIPLE_FAULTS      = 630
ERROR_FLOAT_MULTIPLE_TRAPS       = 631
ERROR_NOINTERFACE                = 632
ERROR_DRIVER_FAILED_SLEEP        = 633
ERROR_CORRUPT_SYSTEM_FILE        = 634
ERROR_COMMITMENT_MINIMUM         = 635
ERROR_PNP_RESTART_ENUMERATION    = 636
ERROR_SYSTEM_IMAGE_BAD_SIGNATURE = 637
ERROR_PNP_REBOOT_REQUIRED        = 638
ERROR_INSUFFICIENT_POWER         = 639
ERROR_MULTIPLE_FAULT_VIOLATION   = 640
ERROR_SYSTEM_SHUTDOWN            = 641
ERROR_PORT_NOT_SET               = 642
ERROR_DS_VERSION_CHECK_FAILURE   = 643
ERROR_RANGE_NOT_FOUND            = 644
ERROR_NOT_SAFE_MODE_DRIVER       = 646
ERROR_FAILED_DRIVER_ENTRY        = 647
ERROR_DEVICE_ENUMERATION_ERROR   = 648
ERROR_MOUNT_POINT_NOT_RESOLVED   = 649
ERROR_INVALID_DEVICE_OBJECT_PARAMETER = 650
ERROR_MCA_OCCURED                = 651
ERROR_DRIVER_DATABASE_ERROR      = 652
ERROR_SYSTEM_HIVE_TOO_LARGE      = 653
ERROR_DRIVER_FAILED_PRIOR_UNLOAD = 654
ERROR_VOLSNAP_PREPARE_HIBERNATE  = 655
ERROR_HIBERNATION_FAILURE        = 656
ERROR_FILE_SYSTEM_LIMITATION     = 665
ERROR_ASSERTION_FAILURE          = 668
ERROR_ACPI_ERROR                 = 669
ERROR_WOW_ASSERTION              = 670
ERROR_PNP_BAD_MPS_TABLE          = 671
ERROR_PNP_TRANSLATION_FAILED     = 672
ERROR_PNP_IRQ_TRANSLATION_FAILED = 673
ERROR_PNP_INVALID_ID             = 674
ERROR_WAKE_SYSTEM_DEBUGGER       = 675
ERROR_HANDLES_CLOSED             = 676
ERROR_EXTRANEOUS_INFORMATION     = 677
ERROR_RXACT_COMMIT_NECESSARY     = 678
ERROR_MEDIA_CHECK                = 679
ERROR_GUID_SUBSTITUTION_MADE     = 680
ERROR_STOPPED_ON_SYMLINK         = 681
ERROR_LONGJUMP                   = 682
ERROR_PLUGPLAY_QUERY_VETOED      = 683
ERROR_UNWIND_CONSOLIDATE         = 684
ERROR_REGISTRY_HIVE_RECOVERED    = 685
ERROR_DLL_MIGHT_BE_INSECURE      = 686
ERROR_DLL_MIGHT_BE_INCOMPATIBLE  = 687
ERROR_DBG_EXCEPTION_NOT_HANDLED  = 688
ERROR_DBG_REPLY_LATER            = 689
ERROR_DBG_UNABLE_TO_PROVIDE_HANDLE = 690
ERROR_DBG_TERMINATE_THREAD       = 691
ERROR_DBG_TERMINATE_PROCESS      = 692
ERROR_DBG_CONTROL_C              = 693
ERROR_DBG_PRINTEXCEPTION_C       = 694
ERROR_DBG_RIPEXCEPTION           = 695
ERROR_DBG_CONTROL_BREAK          = 696
ERROR_DBG_COMMAND_EXCEPTION      = 697
ERROR_OBJECT_NAME_EXISTS         = 698
ERROR_THREAD_WAS_SUSPENDED       = 699
ERROR_IMAGE_NOT_AT_BASE          = 700
ERROR_RXACT_STATE_CREATED        = 701
ERROR_SEGMENT_NOTIFICATION       = 702
ERROR_BAD_CURRENT_DIRECTORY      = 703
ERROR_FT_READ_RECOVERY_FROM_BACKUP = 704
ERROR_FT_WRITE_RECOVERY          = 705
ERROR_IMAGE_MACHINE_TYPE_MISMATCH = 706
ERROR_RECEIVE_PARTIAL            = 707
ERROR_RECEIVE_EXPEDITED          = 708
ERROR_RECEIVE_PARTIAL_EXPEDITED  = 709
ERROR_EVENT_DONE                 = 710
ERROR_EVENT_PENDING              = 711
ERROR_CHECKING_FILE_SYSTEM       = 712
ERROR_FATAL_APP_EXIT             = 713
ERROR_PREDEFINED_HANDLE          = 714
ERROR_WAS_UNLOCKED               = 715
ERROR_SERVICE_NOTIFICATION       = 716
ERROR_WAS_LOCKED                 = 717
ERROR_LOG_HARD_ERROR             = 718
ERROR_ALREADY_WIN32              = 719
ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE = 720
ERROR_NO_YIELD_PERFORMED         = 721
ERROR_TIMER_RESUME_IGNORED       = 722
ERROR_ARBITRATION_UNHANDLED      = 723
ERROR_CARDBUS_NOT_SUPPORTED      = 724
ERROR_MP_PROCESSOR_MISMATCH      = 725
ERROR_HIBERNATED                 = 726
ERROR_RESUME_HIBERNATION         = 727
ERROR_FIRMWARE_UPDATED           = 728
ERROR_DRIVERS_LEAKING_LOCKED_PAGES = 729
ERROR_WAKE_SYSTEM                = 730
ERROR_WAIT_1                     = 731
ERROR_WAIT_2                     = 732
ERROR_WAIT_3                     = 733
ERROR_WAIT_63                    = 734
ERROR_ABANDONED_WAIT_0           = 735
ERROR_ABANDONED_WAIT_63          = 736
ERROR_USER_APC                   = 737
ERROR_KERNEL_APC                 = 738
ERROR_ALERTED                    = 739
ERROR_ELEVATION_REQUIRED         = 740
ERROR_REPARSE                    = 741
ERROR_OPLOCK_BREAK_IN_PROGRESS   = 742
ERROR_VOLUME_MOUNTED             = 743
ERROR_RXACT_COMMITTED            = 744
ERROR_NOTIFY_CLEANUP             = 745
ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED = 746
ERROR_PAGE_FAULT_TRANSITION      = 747
ERROR_PAGE_FAULT_DEMAND_ZERO     = 748
ERROR_PAGE_FAULT_COPY_ON_WRITE   = 749
ERROR_PAGE_FAULT_GUARD_PAGE      = 750
ERROR_PAGE_FAULT_PAGING_FILE     = 751
ERROR_CACHE_PAGE_LOCKED          = 752
ERROR_CRASH_DUMP                 = 753
ERROR_BUFFER_ALL_ZEROS           = 754
ERROR_REPARSE_OBJECT             = 755
ERROR_RESOURCE_REQUIREMENTS_CHANGED = 756
ERROR_TRANSLATION_COMPLETE       = 757
ERROR_NOTHING_TO_TERMINATE       = 758
ERROR_PROCESS_NOT_IN_JOB         = 759
ERROR_PROCESS_IN_JOB             = 760
ERROR_VOLSNAP_HIBERNATE_READY    = 761
ERROR_FSFILTER_OP_COMPLETED_SUCCESSFULLY = 762
ERROR_INTERRUPT_VECTOR_ALREADY_CONNECTED = 763
ERROR_INTERRUPT_STILL_CONNECTED  = 764
ERROR_WAIT_FOR_OPLOCK            = 765
ERROR_DBG_EXCEPTION_HANDLED      = 766
ERROR_DBG_CONTINUE               = 767
ERROR_CALLBACK_POP_STACK         = 768
ERROR_COMPRESSION_DISABLED       = 769
ERROR_CANTFETCHBACKWARDS         = 770
ERROR_CANTSCROLLBACKWARDS        = 771
ERROR_ROWSNOTRELEASED            = 772
ERROR_BAD_ACCESSOR_FLAGS         = 773
ERROR_ERRORS_ENCOUNTERED         = 774
ERROR_NOT_CAPABLE                = 775
ERROR_REQUEST_OUT_OF_SEQUENCE    = 776
ERROR_VERSION_PARSE_ERROR        = 777
ERROR_BADSTARTPOSITION           = 778
ERROR_MEMORY_HARDWARE            = 779
ERROR_DISK_REPAIR_DISABLED       = 780
ERROR_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE = 781
ERROR_SYSTEM_POWERSTATE_TRANSITION = 782
ERROR_SYSTEM_POWERSTATE_COMPLEX_TRANSITION = 783
ERROR_MCA_EXCEPTION              = 784
ERROR_ACCESS_AUDIT_BY_POLICY     = 785
ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY = 786
ERROR_ABANDON_HIBERFILE          = 787
ERROR_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED = 788
ERROR_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR = 789
ERROR_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR = 790
ERROR_BAD_MCFG_TABLE             = 791
ERROR_DIFFERENT_SERVICE_ACCOUNT  = 1079
ERROR_CANNOT_DETECT_DRIVER_FAILURE = 1080
ERROR_CANNOT_DETECT_PROCESS_ABORT = 1081
ERROR_NO_RECOVERY_PROGRAM        = 1082
ERROR_SERVICE_NOT_IN_EXE         = 1083
ERROR_NOT_SAFEBOOT_SERVICE       = 1084
ERROR_SET_POWER_STATE_VETOED     = 1140
ERROR_SET_POWER_STATE_FAILED     = 1141
ERROR_TOO_MANY_LINKS             = 1142
ERROR_APP_WRONG_OS               = 1151
ERROR_RMODE_APP                  = 1153
ERROR_INVALID_DLL                = 1154
ERROR_NO_ASSOCIATION             = 1155
ERROR_DDE_FAIL                   = 1156
ERROR_DLL_NOT_FOUND              = 1157
ERROR_NO_MORE_USER_HANDLES       = 1158
ERROR_MESSAGE_SYNC_ONLY          = 1159
ERROR_SOURCE_ELEMENT_EMPTY       = 1160
ERROR_DESTINATION_ELEMENT_FULL   = 1161
ERROR_ILLEGAL_ELEMENT_ADDRESS    = 1162
ERROR_MAGAZINE_NOT_PRESENT       = 1163
ERROR_DEVICE_REINITIALIZATION_NEEDED = 1164
ERROR_DEVICE_REQUIRES_CLEANING   = 1165
ERROR_DEVICE_DOOR_OPEN           = 1166
ERROR_DEVICE_NOT_CONNECTED       = 1167
ERROR_NOT_FOUND                  = 1168
ERROR_NO_MATCH                   = 1169
ERROR_SET_NOT_FOUND              = 1170
ERROR_POINT_NOT_FOUND            = 1171
ERROR_NO_TRACKING_SERVICE        = 1172
ERROR_NO_VOLUME_ID               = 1173
ERROR_UNABLE_TO_REMOVE_REPLACED  = 1175
ERROR_UNABLE_TO_MOVE_REPLACEMENT = 1176
ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 = 1177
ERROR_JOURNAL_DELETE_IN_PROGRESS = 1178
ERROR_JOURNAL_NOT_ACTIVE         = 1179
ERROR_POTENTIAL_FILE_FOUND       = 1180
ERROR_JOURNAL_ENTRY_DELETED      = 1181
ERROR_SHUTDOWN_IS_SCHEDULED      = 1190
ERROR_SHUTDOWN_USERS_LOGGED_ON   = 1191
ERROR_CANCELLED                  = 1223
ERROR_USER_MAPPED_FILE           = 1224
ERROR_CONNECTION_REFUSED         = 1225
ERROR_GRACEFUL_DISCONNECT        = 1226
ERROR_ADDRESS_ALREADY_ASSOCIATED = 1227
ERROR_ADDRESS_NOT_ASSOCIATED     = 1228
ERROR_CONNECTION_INVALID         = 1229
ERROR_CONNECTION_ACTIVE          = 1230
ERROR_NETWORK_UNREACHABLE        = 1231
ERROR_HOST_UNREACHABLE           = 1232
ERROR_PROTOCOL_UNREACHABLE       = 1233
ERROR_PORT_UNREACHABLE           = 1234
ERROR_REQUEST_ABORTED            = 1235
ERROR_CONNECTION_ABORTED         = 1236
ERROR_RETRY                      = 1237
ERROR_CONNECTION_COUNT_LIMIT     = 1238
ERROR_LOGIN_TIME_RESTRICTION     = 1239
ERROR_LOGIN_WKSTA_RESTRICTION    = 1240
ERROR_INCORRECT_ADDRESS          = 1241
ERROR_ALREADY_REGISTERED         = 1242
ERROR_SERVICE_NOT_FOUND          = 1243
ERROR_NOT_AUTHENTICATED          = 1244
ERROR_NOT_LOGGED_ON              = 1245
ERROR_CONTINUE                   = 1246
ERROR_ALREADY_INITIALIZED        = 1247
ERROR_NO_MORE_DEVICES            = 1248
ERROR_NO_SUCH_SITE               = 1249
ERROR_DOMAIN_CONTROLLER_EXISTS   = 1250
ERROR_ONLY_IF_CONNECTED          = 1251
ERROR_OVERRIDE_NOCHANGES         = 1252
ERROR_BAD_USER_PROFILE           = 1253
ERROR_NOT_SUPPORTED_ON_SBS       = 1254
ERROR_SERVER_SHUTDOWN_IN_PROGRESS = 1255
ERROR_HOST_DOWN                  = 1256
ERROR_NON_ACCOUNT_SID            = 1257
ERROR_NON_DOMAIN_SID             = 1258
ERROR_APPHELP_BLOCK              = 1259
ERROR_ACCESS_DISABLED_BY_POLICY  = 1260
ERROR_REG_NAT_CONSUMPTION        = 1261
ERROR_CSCSHARE_OFFLINE           = 1262
ERROR_PKINIT_FAILURE             = 1263
ERROR_SMARTCARD_SUBSYSTEM_FAILURE = 1264
ERROR_DOWNGRADE_DETECTED         = 1265
ERROR_MACHINE_LOCKED             = 1271
ERROR_CALLBACK_SUPPLIED_INVALID_DATA = 1273
ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED = 1274
ERROR_DRIVER_BLOCKED             = 1275
ERROR_INVALID_IMPORT_OF_NON_DLL  = 1276
ERROR_ACCESS_DISABLED_WEBBLADE   = 1277
ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER = 1278
ERROR_RECOVERY_FAILURE           = 1279
ERROR_ALREADY_FIBER              = 1280
ERROR_ALREADY_THREAD             = 1281
ERROR_STACK_BUFFER_OVERRUN       = 1282
ERROR_PARAMETER_QUOTA_EXCEEDED   = 1283
ERROR_DEBUGGER_INACTIVE          = 1284
ERROR_DELAY_LOAD_FAILED          = 1285
ERROR_VDM_DISALLOWED             = 1286
ERROR_UNIDENTIFIED_ERROR         = 1287
ERROR_INVALID_CRUNTIME_PARAMETER = 1288
ERROR_BEYOND_VDL                 = 1289
ERROR_INCOMPATIBLE_SERVICE_SID_TYPE = 1290
ERROR_DRIVER_PROCESS_TERMINATED  = 1291
ERROR_IMPLEMENTATION_LIMIT       = 1292
ERROR_PROCESS_IS_PROTECTED       = 1293
ERROR_SERVICE_NOTIFY_CLIENT_LAGGING = 1294
ERROR_DISK_QUOTA_EXCEEDED        = 1295
ERROR_CONTENT_BLOCKED            = 1296
ERROR_INCOMPATIBLE_SERVICE_PRIVILEGE = 1297
ERROR_INVALID_LABEL              = 1299
ERROR_LICENSE_QUOTA_EXCEEDED     = 1395
ERROR_WRONG_TARGET_NAME          = 1396
ERROR_MUTUAL_AUTH_FAILED         = 1397
ERROR_TIME_SKEW                  = 1398
ERROR_CURRENT_DOMAIN_NOT_ALLOWED = 1399
ERROR_GLOBAL_ONLY_HOOK           = 1429
ERROR_NO_SYSTEM_RESOURCES        = 1450
ERROR_NONPAGED_SYSTEM_RESOURCES  = 1451
ERROR_PAGED_SYSTEM_RESOURCES     = 1452
ERROR_WORKING_SET_QUOTA          = 1453
ERROR_PAGEFILE_QUOTA             = 1454
ERROR_COMMITMENT_LIMIT           = 1455
ERROR_MENU_ITEM_NOT_FOUND        = 1456
ERROR_INVALID_KEYBOARD_HANDLE    = 1457
ERROR_HOOK_TYPE_NOT_ALLOWED      = 1458
ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION = 1459
ERROR_TIMEOUT                    = 1460
ERROR_INVALID_MONITOR_HANDLE     = 1461
ERROR_INCORRECT_SIZE             = 1462
ERROR_SYMLINK_CLASS_DISABLED     = 1463
ERROR_SYMLINK_NOT_SUPPORTED      = 1464
ERROR_XML_PARSE_ERROR            = 1465
ERROR_XMLDSIG_ERROR              = 1466
ERROR_RESTART_APPLICATION        = 1467
ERROR_WRONG_COMPARTMENT          = 1468
ERROR_AUTHIP_FAILURE             = 1469
ERROR_INVALID_TASK_NAME          = 1550
ERROR_INVALID_TASK_INDEX         = 1551
ERROR_THREAD_ALREADY_IN_TASK     = 1552
ERROR_INSTALL_SERVICE_FAILURE    = 1601
ERROR_INSTALL_USEREXIT           = 1602
ERROR_INSTALL_FAILURE            = 1603
ERROR_INSTALL_SUSPEND            = 1604
ERROR_UNKNOWN_PRODUCT            = 1605
ERROR_UNKNOWN_FEATURE            = 1606
ERROR_UNKNOWN_COMPONENT          = 1607
ERROR_UNKNOWN_PROPERTY           = 1608
ERROR_INVALID_HANDLE_STATE       = 1609
ERROR_BAD_CONFIGURATION          = 1610
ERROR_INDEX_ABSENT               = 1611
ERROR_INSTALL_SOURCE_ABSENT      = 1612
ERROR_INSTALL_PACKAGE_VERSION    = 1613
ERROR_PRODUCT_UNINSTALLED        = 1614
ERROR_BAD_QUERY_SYNTAX           = 1615
ERROR_INVALID_FIELD              = 1616
ERROR_DEVICE_REMOVED             = 1617
ERROR_INSTALL_ALREADY_RUNNING    = 1618
ERROR_INSTALL_PACKAGE_OPEN_FAILED = 1619
ERROR_INSTALL_PACKAGE_INVALID    = 1620
ERROR_INSTALL_UI_FAILURE         = 1621
ERROR_INSTALL_LOG_FAILURE        = 1622
ERROR_INSTALL_LANGUAGE_UNSUPPORTED = 1623
ERROR_INSTALL_TRANSFORM_FAILURE  = 1624
ERROR_INSTALL_PACKAGE_REJECTED   = 1625
ERROR_FUNCTION_NOT_CALLED        = 1626
ERROR_FUNCTION_FAILED            = 1627
ERROR_INVALID_TABLE              = 1628
ERROR_DATATYPE_MISMATCH          = 1629
ERROR_UNSUPPORTED_TYPE           = 1630
ERROR_CREATE_FAILED              = 1631
ERROR_INSTALL_TEMP_UNWRITABLE    = 1632
ERROR_INSTALL_PLATFORM_UNSUPPORTED = 1633
ERROR_INSTALL_NOTUSED            = 1634
ERROR_PATCH_PACKAGE_OPEN_FAILED  = 1635
ERROR_PATCH_PACKAGE_INVALID      = 1636
ERROR_PATCH_PACKAGE_UNSUPPORTED  = 1637
ERROR_PRODUCT_VERSION            = 1638
ERROR_INVALID_COMMAND_LINE       = 1639
ERROR_INSTALL_REMOTE_DISALLOWED  = 1640
ERROR_SUCCESS_REBOOT_INITIATED   = 1641
ERROR_PATCH_TARGET_NOT_FOUND     = 1642
ERROR_PATCH_PACKAGE_REJECTED     = 1643
ERROR_INSTALL_TRANSFORM_REJECTED = 1644
ERROR_INSTALL_REMOTE_PROHIBITED  = 1645
ERROR_PATCH_REMOVAL_UNSUPPORTED  = 1646
ERROR_UNKNOWN_PATCH              = 1647
ERROR_PATCH_NO_SEQUENCE          = 1648
ERROR_PATCH_REMOVAL_DISALLOWED   = 1649
ERROR_INVALID_PATCH_XML          = 1650
ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT = 1651
ERROR_INSTALL_SERVICE_SAFEBOOT   = 1652
RPC_S_PROXY_ACCESS_DENIED        = 1729
RPC_S_NO_INTERFACES              = 1817
RPC_S_CALL_CANCELLED             = 1818
RPC_S_BINDING_INCOMPLETE         = 1819
RPC_S_COMM_FAILURE               = 1820
RPC_S_UNSUPPORTED_AUTHN_LEVEL    = 1821
RPC_S_NO_PRINC_NAME              = 1822
RPC_S_NOT_RPC_ERROR              = 1823
RPC_S_UUID_LOCAL_ONLY            = 1824
RPC_S_SEC_PKG_ERROR              = 1825
RPC_S_NOT_CANCELLED              = 1826
RPC_X_INVALID_ES_ACTION          = 1827
RPC_X_WRONG_ES_VERSION           = 1828
RPC_X_WRONG_STUB_VERSION         = 1829
RPC_X_INVALID_PIPE_OBJECT        = 1830
RPC_X_WRONG_PIPE_ORDER           = 1831
RPC_X_WRONG_PIPE_VERSION         = 1832
ERROR_PASSWORD_MUST_CHANGE       = 1907
ERROR_DOMAIN_CONTROLLER_NOT_FOUND = 1908
ERROR_ACCOUNT_LOCKED_OUT         = 1909
OR_INVALID_OXID                  = 1910
OR_INVALID_OID                   = 1911
OR_INVALID_SET                   = 1912
RPC_S_SEND_INCOMPLETE            = 1913
RPC_S_INVALID_ASYNC_HANDLE       = 1914
RPC_S_INVALID_ASYNC_CALL         = 1915
RPC_X_PIPE_CLOSED                = 1916
RPC_X_PIPE_DISCIPLINE_ERROR      = 1917
RPC_X_PIPE_EMPTY                 = 1918
ERROR_NO_SITENAME                = 1919
ERROR_CANT_ACCESS_FILE           = 1920
ERROR_CANT_RESOLVE_FILENAME      = 1921
RPC_S_ENTRY_TYPE_MISMATCH        = 1922
RPC_S_NOT_ALL_OBJS_EXPORTED      = 1923
RPC_S_INTERFACE_NOT_EXPORTED     = 1924
RPC_S_PROFILE_NOT_ADDED          = 1925
RPC_S_PRF_ELT_NOT_ADDED          = 1926
RPC_S_PRF_ELT_NOT_REMOVED        = 1927
RPC_S_GRP_ELT_NOT_ADDED          = 1928
RPC_S_GRP_ELT_NOT_REMOVED        = 1929
ERROR_KM_DRIVER_BLOCKED          = 1930
ERROR_CONTEXT_EXPIRED            = 1931
ERROR_PER_USER_TRUST_QUOTA_EXCEEDED = 1932
ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED = 1933
ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED = 1934
ERROR_AUTHENTICATION_FIREWALL_FAILED = 1935
ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936
ERROR_NTLM_BLOCKED               = 1937
ERROR_INVALID_CMM                = 2010
ERROR_INVALID_PROFILE            = 2011
ERROR_TAG_NOT_FOUND              = 2012
ERROR_TAG_NOT_PRESENT            = 2013
ERROR_DUPLICATE_TAG              = 2014
ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 2015
ERROR_PROFILE_NOT_FOUND          = 2016
ERROR_INVALID_COLORSPACE         = 2017
ERROR_ICM_NOT_ENABLED            = 2018
ERROR_DELETING_ICM_XFORM         = 2019
ERROR_INVALID_TRANSFORM          = 2020
ERROR_COLORSPACE_MISMATCH        = 2021
ERROR_INVALID_COLORINDEX         = 2022
ERROR_PROFILE_DOES_NOT_MATCH_DEVICE = 2023
ERROR_CONNECTED_OTHER_PASSWORD   = 2108
ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT = 2109
ERROR_ACTIVE_CONNECTIONS         = 2402
ERROR_INVALID_PRINT_MONITOR      = 3007
ERROR_PRINT_MONITOR_IN_USE       = 3008
ERROR_PRINTER_HAS_JOBS_QUEUED    = 3009
ERROR_SUCCESS_REBOOT_REQUIRED    = 3010
ERROR_SUCCESS_RESTART_REQUIRED   = 3011
ERROR_PRINTER_NOT_FOUND          = 3012
ERROR_PRINTER_DRIVER_WARNED      = 3013
ERROR_PRINTER_DRIVER_BLOCKED     = 3014
ERROR_PRINTER_DRIVER_PACKAGE_IN_USE = 3015
ERROR_CORE_DRIVER_PACKAGE_NOT_FOUND = 3016
ERROR_FAIL_REBOOT_REQUIRED       = 3017
ERROR_FAIL_REBOOT_INITIATED      = 3018
ERROR_PRINTER_DRIVER_DOWNLOAD_NEEDED = 3019
ERROR_PRINT_JOB_RESTART_REQUIRED = 3020
ERROR_IO_REISSUE_AS_CACHED       = 3950
ERROR_DHCP_ADDRESS_CONFLICT      = 4100
ERROR_WMI_GUID_NOT_FOUND         = 4200
ERROR_WMI_INSTANCE_NOT_FOUND     = 4201
ERROR_WMI_ITEMID_NOT_FOUND       = 4202
ERROR_WMI_TRY_AGAIN              = 4203
ERROR_WMI_DP_NOT_FOUND           = 4204
ERROR_WMI_UNRESOLVED_INSTANCE_REF = 4205
ERROR_WMI_ALREADY_ENABLED        = 4206
ERROR_WMI_GUID_DISCONNECTED      = 4207
ERROR_WMI_SERVER_UNAVAILABLE     = 4208
ERROR_WMI_DP_FAILED              = 4209
ERROR_WMI_INVALID_MOF            = 4210
ERROR_WMI_INVALID_REGINFO        = 4211
ERROR_WMI_ALREADY_DISABLED       = 4212
ERROR_WMI_READ_ONLY              = 4213
ERROR_WMI_SET_FAILURE            = 4214
ERROR_INVALID_MEDIA              = 4300
ERROR_INVALID_LIBRARY            = 4301
ERROR_INVALID_MEDIA_POOL         = 4302
ERROR_DRIVE_MEDIA_MISMATCH       = 4303
ERROR_MEDIA_OFFLINE              = 4304
ERROR_LIBRARY_OFFLINE            = 4305
ERROR_EMPTY                      = 4306
ERROR_NOT_EMPTY                  = 4307
ERROR_MEDIA_UNAVAILABLE          = 4308
ERROR_RESOURCE_DISABLED          = 4309
ERROR_INVALID_CLEANER            = 4310
ERROR_UNABLE_TO_CLEAN            = 4311
ERROR_OBJECT_NOT_FOUND           = 4312
ERROR_DATABASE_FAILURE           = 4313
ERROR_DATABASE_FULL              = 4314
ERROR_MEDIA_INCOMPATIBLE         = 4315
ERROR_RESOURCE_NOT_PRESENT       = 4316
ERROR_INVALID_OPERATION          = 4317
ERROR_MEDIA_NOT_AVAILABLE        = 4318
ERROR_DEVICE_NOT_AVAILABLE       = 4319
ERROR_REQUEST_REFUSED            = 4320
ERROR_INVALID_DRIVE_OBJECT       = 4321
ERROR_LIBRARY_FULL               = 4322
ERROR_MEDIUM_NOT_ACCESSIBLE      = 4323
ERROR_UNABLE_TO_LOAD_MEDIUM      = 4324
ERROR_UNABLE_TO_INVENTORY_DRIVE  = 4325
ERROR_UNABLE_TO_INVENTORY_SLOT   = 4326
ERROR_UNABLE_TO_INVENTORY_TRANSPORT = 4327
ERROR_TRANSPORT_FULL             = 4328
ERROR_CONTROLLING_IEPORT         = 4329
ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA = 4330
ERROR_CLEANER_SLOT_SET           = 4331
ERROR_CLEANER_SLOT_NOT_SET       = 4332
ERROR_CLEANER_CARTRIDGE_SPENT    = 4333
ERROR_UNEXPECTED_OMID            = 4334
ERROR_CANT_DELETE_LAST_ITEM      = 4335
ERROR_MESSAGE_EXCEEDS_MAX_SIZE   = 4336
ERROR_VOLUME_CONTAINS_SYS_FILES  = 4337
ERROR_INDIGENOUS_TYPE            = 4338
ERROR_NO_SUPPORTING_DRIVES       = 4339
ERROR_CLEANER_CARTRIDGE_INSTALLED = 4340
ERROR_IEPORT_FULL                = 4341
ERROR_FILE_OFFLINE               = 4350
ERROR_REMOTE_STORAGE_NOT_ACTIVE  = 4351
ERROR_REMOTE_STORAGE_MEDIA_ERROR = 4352
ERROR_NOT_A_REPARSE_POINT        = 4390
ERROR_REPARSE_ATTRIBUTE_CONFLICT = 4391
ERROR_INVALID_REPARSE_DATA       = 4392
ERROR_REPARSE_TAG_INVALID        = 4393
ERROR_REPARSE_TAG_MISMATCH       = 4394
ERROR_VOLUME_NOT_SIS_ENABLED     = 4500
ERROR_DEPENDENT_RESOURCE_EXISTS  = 5001
ERROR_DEPENDENCY_NOT_FOUND       = 5002
ERROR_DEPENDENCY_ALREADY_EXISTS  = 5003
ERROR_RESOURCE_NOT_ONLINE        = 5004
ERROR_HOST_NODE_NOT_AVAILABLE    = 5005
ERROR_RESOURCE_NOT_AVAILABLE     = 5006
ERROR_RESOURCE_NOT_FOUND         = 5007
ERROR_SHUTDOWN_CLUSTER           = 5008
ERROR_CANT_EVICT_ACTIVE_NODE     = 5009
ERROR_OBJECT_ALREADY_EXISTS      = 5010
ERROR_OBJECT_IN_LIST             = 5011
ERROR_GROUP_NOT_AVAILABLE        = 5012
ERROR_GROUP_NOT_FOUND            = 5013
ERROR_GROUP_NOT_ONLINE           = 5014
ERROR_HOST_NODE_NOT_RESOURCE_OWNER = 5015
ERROR_HOST_NODE_NOT_GROUP_OWNER  = 5016
ERROR_RESMON_CREATE_FAILED       = 5017
ERROR_RESMON_ONLINE_FAILED       = 5018
ERROR_RESOURCE_ONLINE            = 5019
ERROR_QUORUM_RESOURCE            = 5020
ERROR_NOT_QUORUM_CAPABLE         = 5021
ERROR_CLUSTER_SHUTTING_DOWN      = 5022
ERROR_INVALID_STATE              = 5023
ERROR_RESOURCE_PROPERTIES_STORED = 5024
ERROR_NOT_QUORUM_CLASS           = 5025
ERROR_CORE_RESOURCE              = 5026
ERROR_QUORUM_RESOURCE_ONLINE_FAILED = 5027
ERROR_QUORUMLOG_OPEN_FAILED      = 5028
ERROR_CLUSTERLOG_CORRUPT         = 5029
ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE = 5030
ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE = 5031
ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND = 5032
ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE = 5033
ERROR_QUORUM_OWNER_ALIVE         = 5034
ERROR_NETWORK_NOT_AVAILABLE      = 5035
ERROR_NODE_NOT_AVAILABLE         = 5036
ERROR_ALL_NODES_NOT_AVAILABLE    = 5037
ERROR_RESOURCE_FAILED            = 5038
ERROR_CLUSTER_INVALID_NODE       = 5039
ERROR_CLUSTER_NODE_EXISTS        = 5040
ERROR_CLUSTER_JOIN_IN_PROGRESS   = 5041
ERROR_CLUSTER_NODE_NOT_FOUND     = 5042
ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND = 5043
ERROR_CLUSTER_NETWORK_EXISTS     = 5044
ERROR_CLUSTER_NETWORK_NOT_FOUND  = 5045
ERROR_CLUSTER_NETINTERFACE_EXISTS = 5046
ERROR_CLUSTER_NETINTERFACE_NOT_FOUND = 5047
ERROR_CLUSTER_INVALID_REQUEST    = 5048
ERROR_CLUSTER_INVALID_NETWORK_PROVIDER = 5049
ERROR_CLUSTER_NODE_DOWN          = 5050
ERROR_CLUSTER_NODE_UNREACHABLE   = 5051
ERROR_CLUSTER_NODE_NOT_MEMBER    = 5052
ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS = 5053
ERROR_CLUSTER_INVALID_NETWORK    = 5054
ERROR_CLUSTER_NODE_UP            = 5056
ERROR_CLUSTER_IPADDR_IN_USE      = 5057
ERROR_CLUSTER_NODE_NOT_PAUSED    = 5058
ERROR_CLUSTER_NO_SECURITY_CONTEXT = 5059
ERROR_CLUSTER_NETWORK_NOT_INTERNAL = 5060
ERROR_CLUSTER_NODE_ALREADY_UP    = 5061
ERROR_CLUSTER_NODE_ALREADY_DOWN  = 5062
ERROR_CLUSTER_NETWORK_ALREADY_ONLINE = 5063
ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE = 5064
ERROR_CLUSTER_NODE_ALREADY_MEMBER = 5065
ERROR_CLUSTER_LAST_INTERNAL_NETWORK = 5066
ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS = 5067
ERROR_INVALID_OPERATION_ON_QUORUM = 5068
ERROR_DEPENDENCY_NOT_ALLOWED     = 5069
ERROR_CLUSTER_NODE_PAUSED        = 5070
ERROR_NODE_CANT_HOST_RESOURCE    = 5071
ERROR_CLUSTER_NODE_NOT_READY     = 5072
ERROR_CLUSTER_NODE_SHUTTING_DOWN = 5073
ERROR_CLUSTER_JOIN_ABORTED       = 5074
ERROR_CLUSTER_INCOMPATIBLE_VERSIONS = 5075
ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED = 5076
ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED = 5077
ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND = 5078
ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED = 5079
ERROR_CLUSTER_RESNAME_NOT_FOUND  = 5080
ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED = 5081
ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST = 5082
ERROR_CLUSTER_DATABASE_SEQMISMATCH = 5083
ERROR_RESMON_INVALID_STATE       = 5084
ERROR_CLUSTER_GUM_NOT_LOCKER     = 5085
ERROR_QUORUM_DISK_NOT_FOUND      = 5086
ERROR_DATABASE_BACKUP_CORRUPT    = 5087
ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT = 5088
ERROR_RESOURCE_PROPERTY_UNCHANGEABLE = 5089
ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE = 5890
ERROR_CLUSTER_QUORUMLOG_NOT_FOUND = 5891
ERROR_CLUSTER_MEMBERSHIP_HALT    = 5892
ERROR_CLUSTER_INSTANCE_ID_MISMATCH = 5893
ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP = 5894
ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH = 5895
ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP = 5896
ERROR_CLUSTER_PARAMETER_MISMATCH = 5897
ERROR_NODE_CANNOT_BE_CLUSTERED   = 5898
ERROR_CLUSTER_WRONG_OS_VERSION   = 5899
ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME = 5900
ERROR_CLUSCFG_ALREADY_COMMITTED  = 5901
ERROR_CLUSCFG_ROLLBACK_FAILED    = 5902
ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT = 5903
ERROR_CLUSTER_OLD_VERSION        = 5904
ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME = 5905
ERROR_CLUSTER_NO_NET_ADAPTERS    = 5906
ERROR_CLUSTER_POISONED           = 5907
ERROR_CLUSTER_GROUP_MOVING       = 5908
ERROR_CLUSTER_RESOURCE_TYPE_BUSY = 5909
ERROR_RESOURCE_CALL_TIMED_OUT    = 5910
ERROR_INVALID_CLUSTER_IPV6_ADDRESS = 5911
ERROR_CLUSTER_INTERNAL_INVALID_FUNCTION = 5912
ERROR_CLUSTER_PARAMETER_OUT_OF_BOUNDS = 5913
ERROR_CLUSTER_PARTIAL_SEND       = 5914
ERROR_CLUSTER_REGISTRY_INVALID_FUNCTION = 5915
ERROR_CLUSTER_INVALID_STRING_TERMINATION = 5916
ERROR_CLUSTER_INVALID_STRING_FORMAT = 5917
ERROR_CLUSTER_DATABASE_TRANSACTION_IN_PROGRESS = 5918
ERROR_CLUSTER_DATABASE_TRANSACTION_NOT_IN_PROGRESS = 5919
ERROR_CLUSTER_NULL_DATA          = 5920
ERROR_CLUSTER_PARTIAL_READ       = 5921
ERROR_CLUSTER_PARTIAL_WRITE      = 5922
ERROR_CLUSTER_CANT_DESERIALIZE_DATA = 5923
ERROR_DEPENDENT_RESOURCE_PROPERTY_CONFLICT = 5924
ERROR_CLUSTER_NO_QUORUM          = 5925
ERROR_CLUSTER_INVALID_IPV6_NETWORK = 5926
ERROR_CLUSTER_INVALID_IPV6_TUNNEL_NETWORK = 5927
ERROR_QUORUM_NOT_ALLOWED_IN_THIS_GROUP = 5928
ERROR_DEPENDENCY_TREE_TOO_COMPLEX = 5929
ERROR_EXCEPTION_IN_RESOURCE_CALL = 5930
ERROR_CLUSTER_RHS_FAILED_INITIALIZATION = 5931
ERROR_CLUSTER_NOT_INSTALLED      = 5932
ERROR_CLUSTER_RESOURCES_MUST_BE_ONLINE_ON_THE_SAME_NODE = 5933
ERROR_ENCRYPTION_FAILED          = 6000
ERROR_DECRYPTION_FAILED          = 6001
ERROR_FILE_ENCRYPTED             = 6002
ERROR_NO_RECOVERY_POLICY         = 6003
ERROR_NO_EFS                     = 6004
ERROR_WRONG_EFS                  = 6005
ERROR_NO_USER_KEYS               = 6006
ERROR_FILE_NOT_ENCRYPTED         = 6007
ERROR_NOT_EXPORT_FORMAT          = 6008
ERROR_FILE_READ_ONLY             = 6009
ERROR_DIR_EFS_DISALLOWED         = 6010
ERROR_EFS_SERVER_NOT_TRUSTED     = 6011
ERROR_BAD_RECOVERY_POLICY        = 6012
ERROR_EFS_ALG_BLOB_TOO_BIG       = 6013
ERROR_VOLUME_NOT_SUPPORT_EFS     = 6014
ERROR_EFS_DISABLED               = 6015
ERROR_EFS_VERSION_NOT_SUPPORT    = 6016
ERROR_CS_ENCRYPTION_INVALID_SERVER_RESPONSE = 6017
ERROR_CS_ENCRYPTION_UNSUPPORTED_SERVER = 6018
ERROR_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE = 6019
ERROR_CS_ENCRYPTION_NEW_ENCRYPTED_FILE = 6020
ERROR_CS_ENCRYPTION_FILE_NOT_CSE = 6021
SCHED_E_SERVICE_NOT_LOCALSYSTEM  = 6200
ERROR_LOG_SECTOR_INVALID         = 6600
ERROR_LOG_SECTOR_PARITY_INVALID  = 6601
ERROR_LOG_SECTOR_REMAPPED        = 6602
ERROR_LOG_BLOCK_INCOMPLETE       = 6603
ERROR_LOG_INVALID_RANGE          = 6604
ERROR_LOG_BLOCKS_EXHAUSTED       = 6605
ERROR_LOG_READ_CONTEXT_INVALID   = 6606
ERROR_LOG_RESTART_INVALID        = 6607
ERROR_LOG_BLOCK_VERSION          = 6608
ERROR_LOG_BLOCK_INVALID          = 6609
ERROR_LOG_READ_MODE_INVALID      = 6610
ERROR_LOG_NO_RESTART             = 6611
ERROR_LOG_METADATA_CORRUPT       = 6612
ERROR_LOG_METADATA_INVALID       = 6613
ERROR_LOG_METADATA_INCONSISTENT  = 6614
ERROR_LOG_RESERVATION_INVALID    = 6615
ERROR_LOG_CANT_DELETE            = 6616
ERROR_LOG_CONTAINER_LIMIT_EXCEEDED = 6617
ERROR_LOG_START_OF_LOG           = 6618
ERROR_LOG_POLICY_ALREADY_INSTALLED = 6619
ERROR_LOG_POLICY_NOT_INSTALLED   = 6620
ERROR_LOG_POLICY_INVALID         = 6621
ERROR_LOG_POLICY_CONFLICT        = 6622
ERROR_LOG_PINNED_ARCHIVE_TAIL    = 6623
ERROR_LOG_RECORD_NONEXISTENT     = 6624
ERROR_LOG_RECORDS_RESERVED_INVALID = 6625
ERROR_LOG_SPACE_RESERVED_INVALID = 6626
ERROR_LOG_TAIL_INVALID           = 6627
ERROR_LOG_FULL                   = 6628
ERROR_COULD_NOT_RESIZE_LOG       = 6629
ERROR_LOG_MULTIPLEXED            = 6630
ERROR_LOG_DEDICATED              = 6631
ERROR_LOG_ARCHIVE_NOT_IN_PROGRESS = 6632
ERROR_LOG_ARCHIVE_IN_PROGRESS    = 6633
ERROR_LOG_EPHEMERAL              = 6634
ERROR_LOG_NOT_ENOUGH_CONTAINERS  = 6635
ERROR_LOG_CLIENT_ALREADY_REGISTERED = 6636
ERROR_LOG_CLIENT_NOT_REGISTERED  = 6637
ERROR_LOG_FULL_HANDLER_IN_PROGRESS = 6638
ERROR_LOG_CONTAINER_READ_FAILED  = 6639
ERROR_LOG_CONTAINER_WRITE_FAILED = 6640
ERROR_LOG_CONTAINER_OPEN_FAILED  = 6641
ERROR_LOG_CONTAINER_STATE_INVALID = 6642
ERROR_LOG_STATE_INVALID          = 6643
ERROR_LOG_PINNED                 = 6644
ERROR_LOG_METADATA_FLUSH_FAILED  = 6645
ERROR_LOG_INCONSISTENT_SECURITY  = 6646
ERROR_LOG_APPENDED_FLUSH_FAILED  = 6647
ERROR_LOG_PINNED_RESERVATION     = 6648
ERROR_INVALID_TRANSACTION        = 6700
ERROR_TRANSACTION_NOT_ACTIVE     = 6701
ERROR_TRANSACTION_REQUEST_NOT_VALID = 6702
ERROR_TRANSACTION_NOT_REQUESTED  = 6703
ERROR_TRANSACTION_ALREADY_ABORTED = 6704
ERROR_TRANSACTION_ALREADY_COMMITTED = 6705
ERROR_TM_INITIALIZATION_FAILED   = 6706
ERROR_RESOURCEMANAGER_READ_ONLY  = 6707
ERROR_TRANSACTION_NOT_JOINED     = 6708
ERROR_TRANSACTION_SUPERIOR_EXISTS = 6709
ERROR_CRM_PROTOCOL_ALREADY_EXISTS = 6710
ERROR_TRANSACTION_PROPAGATION_FAILED = 6711
ERROR_CRM_PROTOCOL_NOT_FOUND     = 6712
ERROR_TRANSACTION_INVALID_MARSHALL_BUFFER = 6713
ERROR_CURRENT_TRANSACTION_NOT_VALID = 6714
ERROR_TRANSACTION_NOT_FOUND      = 6715
ERROR_RESOURCEMANAGER_NOT_FOUND  = 6716
ERROR_ENLISTMENT_NOT_FOUND       = 6717
ERROR_TRANSACTIONMANAGER_NOT_FOUND = 6718
ERROR_TRANSACTIONMANAGER_NOT_ONLINE = 6719
ERROR_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION = 6720
ERROR_TRANSACTION_NOT_ROOT       = 6721
ERROR_TRANSACTION_OBJECT_EXPIRED = 6722
ERROR_TRANSACTION_RESPONSE_NOT_ENLISTED = 6723
ERROR_TRANSACTION_RECORD_TOO_LONG = 6724
ERROR_IMPLICIT_TRANSACTION_NOT_SUPPORTED = 6725
ERROR_TRANSACTION_INTEGRITY_VIOLATED = 6726
ERROR_TRANSACTIONAL_CONFLICT     = 6800
ERROR_RM_NOT_ACTIVE              = 6801
ERROR_RM_METADATA_CORRUPT        = 6802
ERROR_DIRECTORY_NOT_RM           = 6803
ERROR_TRANSACTIONS_UNSUPPORTED_REMOTE = 6805
ERROR_LOG_RESIZE_INVALID_SIZE    = 6806
ERROR_OBJECT_NO_LONGER_EXISTS    = 6807
ERROR_STREAM_MINIVERSION_NOT_FOUND = 6808
ERROR_STREAM_MINIVERSION_NOT_VALID = 6809
ERROR_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION = 6810
ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT = 6811
ERROR_CANT_CREATE_MORE_STREAM_MINIVERSIONS = 6812
ERROR_REMOTE_FILE_VERSION_MISMATCH = 6814
ERROR_HANDLE_NO_LONGER_VALID     = 6815
ERROR_NO_TXF_METADATA            = 6816
ERROR_LOG_CORRUPTION_DETECTED    = 6817
ERROR_CANT_RECOVER_WITH_HANDLE_OPEN = 6818
ERROR_RM_DISCONNECTED            = 6819
ERROR_ENLISTMENT_NOT_SUPERIOR    = 6820
ERROR_RECOVERY_NOT_NEEDED        = 6821
ERROR_RM_ALREADY_STARTED         = 6822
ERROR_FILE_IDENTITY_NOT_PERSISTENT = 6823
ERROR_CANT_BREAK_TRANSACTIONAL_DEPENDENCY = 6824
ERROR_CANT_CROSS_RM_BOUNDARY     = 6825
ERROR_TXF_DIR_NOT_EMPTY          = 6826
ERROR_INDOUBT_TRANSACTIONS_EXIST = 6827
ERROR_TM_VOLATILE                = 6828
ERROR_ROLLBACK_TIMER_EXPIRED     = 6829
ERROR_TXF_ATTRIBUTE_CORRUPT      = 6830
ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION = 6831
ERROR_TRANSACTIONAL_OPEN_NOT_ALLOWED = 6832
ERROR_LOG_GROWTH_FAILED          = 6833
ERROR_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE = 6834
ERROR_TXF_METADATA_ALREADY_PRESENT = 6835
ERROR_TRANSACTION_SCOPE_CALLBACKS_NOT_SET = 6836
ERROR_TRANSACTION_REQUIRED_PROMOTION = 6837
ERROR_CANNOT_EXECUTE_FILE_IN_TRANSACTION = 6838
ERROR_TRANSACTIONS_NOT_FROZEN    = 6839
ERROR_TRANSACTION_FREEZE_IN_PROGRESS = 6840
ERROR_NOT_SNAPSHOT_VOLUME        = 6841
ERROR_NO_SAVEPOINT_WITH_OPEN_FILES = 6842
ERROR_DATA_LOST_REPAIR           = 6843
ERROR_SPARSE_NOT_ALLOWED_IN_TRANSACTION = 6844
ERROR_TM_IDENTITY_MISMATCH       = 6845
ERROR_FLOATED_SECTION            = 6846
ERROR_CANNOT_ACCEPT_TRANSACTED_WORK = 6847
ERROR_CANNOT_ABORT_TRANSACTIONS  = 6848
ERROR_BAD_CLUSTERS               = 6849
ERROR_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION = 6850
ERROR_VOLUME_DIRTY               = 6851
ERROR_NO_LINK_TRACKING_IN_TRANSACTION = 6852
ERROR_OPERATION_NOT_SUPPORTED_IN_TRANSACTION = 6853
ERROR_CTX_WINSTATION_NAME_INVALID = 7001
ERROR_CTX_INVALID_PD             = 7002
ERROR_CTX_PD_NOT_FOUND           = 7003
ERROR_CTX_WD_NOT_FOUND           = 7004
ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY = 7005
ERROR_CTX_SERVICE_NAME_COLLISION = 7006
ERROR_CTX_CLOSE_PENDING          = 7007
ERROR_CTX_NO_OUTBUF              = 7008
ERROR_CTX_MODEM_INF_NOT_FOUND    = 7009
ERROR_CTX_INVALID_MODEMNAME      = 7010
ERROR_CTX_MODEM_RESPONSE_ERROR   = 7011
ERROR_CTX_MODEM_RESPONSE_TIMEOUT = 7012
ERROR_CTX_MODEM_RESPONSE_NO_CARRIER = 7013
ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE = 7014
ERROR_CTX_MODEM_RESPONSE_BUSY    = 7015
ERROR_CTX_MODEM_RESPONSE_VOICE   = 7016
ERROR_CTX_TD_ERROR               = 7017
ERROR_CTX_WINSTATION_NOT_FOUND   = 7022
ERROR_CTX_WINSTATION_ALREADY_EXISTS = 7023
ERROR_CTX_WINSTATION_BUSY        = 7024
ERROR_CTX_BAD_VIDEO_MODE         = 7025
ERROR_CTX_GRAPHICS_INVALID       = 7035
ERROR_CTX_LOGON_DISABLED         = 7037
ERROR_CTX_NOT_CONSOLE            = 7038
ERROR_CTX_CLIENT_QUERY_TIMEOUT   = 7040
ERROR_CTX_CONSOLE_DISCONNECT     = 7041
ERROR_CTX_CONSOLE_CONNECT        = 7042
ERROR_CTX_SHADOW_DENIED          = 7044
ERROR_CTX_WINSTATION_ACCESS_DENIED = 7045
ERROR_CTX_INVALID_WD             = 7049
ERROR_CTX_SHADOW_INVALID         = 7050
ERROR_CTX_SHADOW_DISABLED        = 7051
ERROR_CTX_CLIENT_LICENSE_IN_USE  = 7052
ERROR_CTX_CLIENT_LICENSE_NOT_SET = 7053
ERROR_CTX_LICENSE_NOT_AVAILABLE  = 7054
ERROR_CTX_LICENSE_CLIENT_INVALID = 7055
ERROR_CTX_LICENSE_EXPIRED        = 7056
ERROR_CTX_SHADOW_NOT_RUNNING     = 7057
ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE = 7058
ERROR_ACTIVATION_COUNT_EXCEEDED  = 7059
ERROR_CTX_WINSTATIONS_DISABLED   = 7060
ERROR_CTX_ENCRYPTION_LEVEL_REQUIRED = 7061
ERROR_CTX_SESSION_IN_USE         = 7062
ERROR_CTX_NO_FORCE_LOGOFF        = 7063
ERROR_CTX_ACCOUNT_RESTRICTION    = 7064
ERROR_RDP_PROTOCOL_ERROR         = 7065
ERROR_CTX_CDM_CONNECT            = 7066
ERROR_CTX_CDM_DISCONNECT         = 7067
ERROR_CTX_SECURITY_LAYER_ERROR   = 7068
ERROR_TS_INCOMPATIBLE_SESSIONS   = 7069
FRS_ERR_INVALID_API_SEQUENCE     = 8001
FRS_ERR_STARTING_SERVICE         = 8002
FRS_ERR_STOPPING_SERVICE         = 8003
FRS_ERR_INTERNAL_API             = 8004
FRS_ERR_INTERNAL                 = 8005
FRS_ERR_SERVICE_COMM             = 8006
FRS_ERR_INSUFFICIENT_PRIV        = 8007
FRS_ERR_AUTHENTICATION           = 8008
FRS_ERR_PARENT_INSUFFICIENT_PRIV = 8009
FRS_ERR_PARENT_AUTHENTICATION    = 8010
FRS_ERR_CHILD_TO_PARENT_COMM     = 8011
FRS_ERR_PARENT_TO_CHILD_COMM     = 8012
FRS_ERR_SYSVOL_POPULATE          = 8013
FRS_ERR_SYSVOL_POPULATE_TIMEOUT  = 8014
FRS_ERR_SYSVOL_IS_BUSY           = 8015
FRS_ERR_SYSVOL_DEMOTE            = 8016
FRS_ERR_INVALID_SERVICE_PARAMETER = 8017
DS_S_SUCCESS                     = NO_ERROR
ERROR_DS_NOT_INSTALLED           = 8200
ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY = 8201
ERROR_DS_NO_ATTRIBUTE_OR_VALUE   = 8202
ERROR_DS_INVALID_ATTRIBUTE_SYNTAX = 8203
ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED = 8204
ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS = 8205
ERROR_DS_BUSY                    = 8206
ERROR_DS_UNAVAILABLE             = 8207
ERROR_DS_NO_RIDS_ALLOCATED       = 8208
ERROR_DS_NO_MORE_RIDS            = 8209
ERROR_DS_INCORRECT_ROLE_OWNER    = 8210
ERROR_DS_RIDMGR_INIT_ERROR       = 8211
ERROR_DS_OBJ_CLASS_VIOLATION     = 8212
ERROR_DS_CANT_ON_NON_LEAF        = 8213
ERROR_DS_CANT_ON_RDN             = 8214
ERROR_DS_CANT_MOD_OBJ_CLASS      = 8215
ERROR_DS_CROSS_DOM_MOVE_ERROR    = 8216
ERROR_DS_GC_NOT_AVAILABLE        = 8217
ERROR_SHARED_POLICY              = 8218
ERROR_POLICY_OBJECT_NOT_FOUND    = 8219
ERROR_POLICY_ONLY_IN_DS          = 8220
ERROR_PROMOTION_ACTIVE           = 8221
ERROR_NO_PROMOTION_ACTIVE        = 8222
ERROR_DS_OPERATIONS_ERROR        = 8224
ERROR_DS_PROTOCOL_ERROR          = 8225
ERROR_DS_TIMELIMIT_EXCEEDED      = 8226
ERROR_DS_SIZELIMIT_EXCEEDED      = 8227
ERROR_DS_ADMIN_LIMIT_EXCEEDED    = 8228
ERROR_DS_COMPARE_FALSE           = 8229
ERROR_DS_COMPARE_TRUE            = 8230
ERROR_DS_AUTH_METHOD_NOT_SUPPORTED = 8231
ERROR_DS_STRONG_AUTH_REQUIRED    = 8232
ERROR_DS_INAPPROPRIATE_AUTH      = 8233
ERROR_DS_AUTH_UNKNOWN            = 8234
ERROR_DS_REFERRAL                = 8235
ERROR_DS_UNAVAILABLE_CRIT_EXTENSION = 8236
ERROR_DS_CONFIDENTIALITY_REQUIRED = 8237
ERROR_DS_INAPPROPRIATE_MATCHING  = 8238
ERROR_DS_CONSTRAINT_VIOLATION    = 8239
ERROR_DS_NO_SUCH_OBJECT          = 8240
ERROR_DS_ALIAS_PROBLEM           = 8241
ERROR_DS_INVALID_DN_SYNTAX       = 8242
ERROR_DS_IS_LEAF                 = 8243
ERROR_DS_ALIAS_DEREF_PROBLEM     = 8244
ERROR_DS_UNWILLING_TO_PERFORM    = 8245
ERROR_DS_LOOP_DETECT             = 8246
ERROR_DS_NAMING_VIOLATION        = 8247
ERROR_DS_OBJECT_RESULTS_TOO_LARGE = 8248
ERROR_DS_AFFECTS_MULTIPLE_DSAS   = 8249
ERROR_DS_SERVER_DOWN             = 8250
ERROR_DS_LOCAL_ERROR             = 8251
ERROR_DS_ENCODING_ERROR          = 8252
ERROR_DS_DECODING_ERROR          = 8253
ERROR_DS_FILTER_UNKNOWN          = 8254
ERROR_DS_PARAM_ERROR             = 8255
ERROR_DS_NOT_SUPPORTED           = 8256
ERROR_DS_NO_RESULTS_RETURNED     = 8257
ERROR_DS_CONTROL_NOT_FOUND       = 8258
ERROR_DS_CLIENT_LOOP             = 8259
ERROR_DS_REFERRAL_LIMIT_EXCEEDED = 8260
ERROR_DS_SORT_CONTROL_MISSING    = 8261
ERROR_DS_OFFSET_RANGE_ERROR      = 8262
ERROR_DS_ROOT_MUST_BE_NC         = 8301
ERROR_DS_ADD_REPLICA_INHIBITED   = 8302
ERROR_DS_ATT_NOT_DEF_IN_SCHEMA   = 8303
ERROR_DS_MAX_OBJ_SIZE_EXCEEDED   = 8304
ERROR_DS_OBJ_STRING_NAME_EXISTS  = 8305
ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA = 8306
ERROR_DS_RDN_DOESNT_MATCH_SCHEMA = 8307
ERROR_DS_NO_REQUESTED_ATTS_FOUND = 8308
ERROR_DS_USER_BUFFER_TO_SMALL    = 8309
ERROR_DS_ATT_IS_NOT_ON_OBJ       = 8310
ERROR_DS_ILLEGAL_MOD_OPERATION   = 8311
ERROR_DS_OBJ_TOO_LARGE           = 8312
ERROR_DS_BAD_INSTANCE_TYPE       = 8313
ERROR_DS_MASTERDSA_REQUIRED      = 8314
ERROR_DS_OBJECT_CLASS_REQUIRED   = 8315
ERROR_DS_MISSING_REQUIRED_ATT    = 8316
ERROR_DS_ATT_NOT_DEF_FOR_CLASS   = 8317
ERROR_DS_ATT_ALREADY_EXISTS      = 8318
ERROR_DS_CANT_ADD_ATT_VALUES     = 8320
ERROR_DS_SINGLE_VALUE_CONSTRAINT = 8321
ERROR_DS_RANGE_CONSTRAINT        = 8322
ERROR_DS_ATT_VAL_ALREADY_EXISTS  = 8323
ERROR_DS_CANT_REM_MISSING_ATT    = 8324
ERROR_DS_CANT_REM_MISSING_ATT_VAL = 8325
ERROR_DS_ROOT_CANT_BE_SUBREF     = 8326
ERROR_DS_NO_CHAINING             = 8327
ERROR_DS_NO_CHAINED_EVAL         = 8328
ERROR_DS_NO_PARENT_OBJECT        = 8329
ERROR_DS_PARENT_IS_AN_ALIAS      = 8330
ERROR_DS_CANT_MIX_MASTER_AND_REPS = 8331
ERROR_DS_CHILDREN_EXIST          = 8332
ERROR_DS_OBJ_NOT_FOUND           = 8333
ERROR_DS_ALIASED_OBJ_MISSING     = 8334
ERROR_DS_BAD_NAME_SYNTAX         = 8335
ERROR_DS_ALIAS_POINTS_TO_ALIAS   = 8336
ERROR_DS_CANT_DEREF_ALIAS        = 8337
ERROR_DS_OUT_OF_SCOPE            = 8338
ERROR_DS_OBJECT_BEING_REMOVED    = 8339
ERROR_DS_CANT_DELETE_DSA_OBJ     = 8340
ERROR_DS_GENERIC_ERROR           = 8341
ERROR_DS_DSA_MUST_BE_INT_MASTER  = 8342
ERROR_DS_CLASS_NOT_DSA           = 8343
ERROR_DS_INSUFF_ACCESS_RIGHTS    = 8344
ERROR_DS_ILLEGAL_SUPERIOR        = 8345
ERROR_DS_ATTRIBUTE_OWNED_BY_SAM  = 8346
ERROR_DS_NAME_TOO_MANY_PARTS     = 8347
ERROR_DS_NAME_TOO_LONG           = 8348
ERROR_DS_NAME_VALUE_TOO_LONG     = 8349
ERROR_DS_NAME_UNPARSEABLE        = 8350
ERROR_DS_NAME_TYPE_UNKNOWN       = 8351
ERROR_DS_NOT_AN_OBJECT           = 8352
ERROR_DS_SEC_DESC_TOO_SHORT      = 8353
ERROR_DS_SEC_DESC_INVALID        = 8354
ERROR_DS_NO_DELETED_NAME         = 8355
ERROR_DS_SUBREF_MUST_HAVE_PARENT = 8356
ERROR_DS_NCNAME_MUST_BE_NC       = 8357
ERROR_DS_CANT_ADD_SYSTEM_ONLY    = 8358
ERROR_DS_CLASS_MUST_BE_CONCRETE  = 8359
ERROR_DS_INVALID_DMD             = 8360
ERROR_DS_OBJ_GUID_EXISTS         = 8361
ERROR_DS_NOT_ON_BACKLINK         = 8362
ERROR_DS_NO_CROSSREF_FOR_NC      = 8363
ERROR_DS_SHUTTING_DOWN           = 8364
ERROR_DS_UNKNOWN_OPERATION       = 8365
ERROR_DS_INVALID_ROLE_OWNER      = 8366
ERROR_DS_COULDNT_CONTACT_FSMO    = 8367
ERROR_DS_CROSS_NC_DN_RENAME      = 8368
ERROR_DS_CANT_MOD_SYSTEM_ONLY    = 8369
ERROR_DS_REPLICATOR_ONLY         = 8370
ERROR_DS_OBJ_CLASS_NOT_DEFINED   = 8371
ERROR_DS_OBJ_CLASS_NOT_SUBCLASS  = 8372
ERROR_DS_NAME_REFERENCE_INVALID  = 8373
ERROR_DS_CROSS_REF_EXISTS        = 8374
ERROR_DS_CANT_DEL_MASTER_CROSSREF = 8375
ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD = 8376
ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX = 8377
ERROR_DS_DUP_RDN                 = 8378
ERROR_DS_DUP_OID                 = 8379
ERROR_DS_DUP_MAPI_ID             = 8380
ERROR_DS_DUP_SCHEMA_ID_GUID      = 8381
ERROR_DS_DUP_LDAP_DISPLAY_NAME   = 8382
ERROR_DS_SEMANTIC_ATT_TEST       = 8383
ERROR_DS_SYNTAX_MISMATCH         = 8384
ERROR_DS_EXISTS_IN_MUST_HAVE     = 8385
ERROR_DS_EXISTS_IN_MAY_HAVE      = 8386
ERROR_DS_NONEXISTENT_MAY_HAVE    = 8387
ERROR_DS_NONEXISTENT_MUST_HAVE   = 8388
ERROR_DS_AUX_CLS_TEST_FAIL       = 8389
ERROR_DS_NONEXISTENT_POSS_SUP    = 8390
ERROR_DS_SUB_CLS_TEST_FAIL       = 8391
ERROR_DS_BAD_RDN_ATT_ID_SYNTAX   = 8392
ERROR_DS_EXISTS_IN_AUX_CLS       = 8393
ERROR_DS_EXISTS_IN_SUB_CLS       = 8394
ERROR_DS_EXISTS_IN_POSS_SUP      = 8395
ERROR_DS_RECALCSCHEMA_FAILED     = 8396
ERROR_DS_TREE_DELETE_NOT_FINISHED = 8397
ERROR_DS_CANT_DELETE             = 8398
ERROR_DS_ATT_SCHEMA_REQ_ID       = 8399
ERROR_DS_BAD_ATT_SCHEMA_SYNTAX   = 8400
ERROR_DS_CANT_CACHE_ATT          = 8401
ERROR_DS_CANT_CACHE_CLASS        = 8402
ERROR_DS_CANT_REMOVE_ATT_CACHE   = 8403
ERROR_DS_CANT_REMOVE_CLASS_CACHE = 8404
ERROR_DS_CANT_RETRIEVE_DN        = 8405
ERROR_DS_MISSING_SUPREF          = 8406
ERROR_DS_CANT_RETRIEVE_INSTANCE  = 8407
ERROR_DS_CODE_INCONSISTENCY      = 8408
ERROR_DS_DATABASE_ERROR          = 8409
ERROR_DS_GOVERNSID_MISSING       = 8410
ERROR_DS_MISSING_EXPECTED_ATT    = 8411
ERROR_DS_NCNAME_MISSING_CR_REF   = 8412
ERROR_DS_SECURITY_CHECKING_ERROR = 8413
ERROR_DS_SCHEMA_NOT_LOADED       = 8414
ERROR_DS_SCHEMA_ALLOC_FAILED     = 8415
ERROR_DS_ATT_SCHEMA_REQ_SYNTAX   = 8416
ERROR_DS_GCVERIFY_ERROR          = 8417
ERROR_DS_DRA_SCHEMA_MISMATCH     = 8418
ERROR_DS_CANT_FIND_DSA_OBJ       = 8419
ERROR_DS_CANT_FIND_EXPECTED_NC   = 8420
ERROR_DS_CANT_FIND_NC_IN_CACHE   = 8421
ERROR_DS_CANT_RETRIEVE_CHILD     = 8422
ERROR_DS_SECURITY_ILLEGAL_MODIFY = 8423
ERROR_DS_CANT_REPLACE_HIDDEN_REC = 8424
ERROR_DS_BAD_HIERARCHY_FILE      = 8425
ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED = 8426
ERROR_DS_CONFIG_PARAM_MISSING    = 8427
ERROR_DS_COUNTING_AB_INDICES_FAILED = 8428
ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED = 8429
ERROR_DS_INTERNAL_FAILURE        = 8430
ERROR_DS_UNKNOWN_ERROR           = 8431
ERROR_DS_ROOT_REQUIRES_CLASS_TOP = 8432
ERROR_DS_REFUSING_FSMO_ROLES     = 8433
ERROR_DS_MISSING_FSMO_SETTINGS   = 8434
ERROR_DS_UNABLE_TO_SURRENDER_ROLES = 8435
ERROR_DS_DRA_GENERIC             = 8436
ERROR_DS_DRA_INVALID_PARAMETER   = 8437
ERROR_DS_DRA_BUSY                = 8438
ERROR_DS_DRA_BAD_DN              = 8439
ERROR_DS_DRA_BAD_NC              = 8440
ERROR_DS_DRA_DN_EXISTS           = 8441
ERROR_DS_DRA_INTERNAL_ERROR      = 8442
ERROR_DS_DRA_INCONSISTENT_DIT    = 8443
ERROR_DS_DRA_CONNECTION_FAILED   = 8444
ERROR_DS_DRA_BAD_INSTANCE_TYPE   = 8445
ERROR_DS_DRA_OUT_OF_MEM          = 8446
ERROR_DS_DRA_MAIL_PROBLEM        = 8447
ERROR_DS_DRA_REF_ALREADY_EXISTS  = 8448
ERROR_DS_DRA_REF_NOT_FOUND       = 8449
ERROR_DS_DRA_OBJ_IS_REP_SOURCE   = 8450
ERROR_DS_DRA_DB_ERROR            = 8451
ERROR_DS_DRA_NO_REPLICA          = 8452
ERROR_DS_DRA_ACCESS_DENIED       = 8453
ERROR_DS_DRA_NOT_SUPPORTED       = 8454
ERROR_DS_DRA_RPC_CANCELLED       = 8455
ERROR_DS_DRA_SOURCE_DISABLED     = 8456
ERROR_DS_DRA_SINK_DISABLED       = 8457
ERROR_DS_DRA_NAME_COLLISION      = 8458
ERROR_DS_DRA_SOURCE_REINSTALLED  = 8459
ERROR_DS_DRA_MISSING_PARENT      = 8460
ERROR_DS_DRA_PREEMPTED           = 8461
ERROR_DS_DRA_ABANDON_SYNC        = 8462
ERROR_DS_DRA_SHUTDOWN            = 8463
ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET = 8464
ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA = 8465
ERROR_DS_DRA_EXTN_CONNECTION_FAILED = 8466
ERROR_DS_INSTALL_SCHEMA_MISMATCH = 8467
ERROR_DS_DUP_LINK_ID             = 8468
ERROR_DS_NAME_ERROR_RESOLVING    = 8469
ERROR_DS_NAME_ERROR_NOT_FOUND    = 8470
ERROR_DS_NAME_ERROR_NOT_UNIQUE   = 8471
ERROR_DS_NAME_ERROR_NO_MAPPING   = 8472
ERROR_DS_NAME_ERROR_DOMAIN_ONLY  = 8473
ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 8474
ERROR_DS_CONSTRUCTED_ATT_MOD     = 8475
ERROR_DS_WRONG_OM_OBJ_CLASS      = 8476
ERROR_DS_DRA_REPL_PENDING        = 8477
ERROR_DS_DS_REQUIRED             = 8478
ERROR_DS_INVALID_LDAP_DISPLAY_NAME = 8479
ERROR_DS_NON_BASE_SEARCH         = 8480
ERROR_DS_CANT_RETRIEVE_ATTS      = 8481
ERROR_DS_BACKLINK_WITHOUT_LINK   = 8482
ERROR_DS_EPOCH_MISMATCH          = 8483
ERROR_DS_SRC_NAME_MISMATCH       = 8484
ERROR_DS_SRC_AND_DST_NC_IDENTICAL = 8485
ERROR_DS_DST_NC_MISMATCH         = 8486
ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC = 8487
ERROR_DS_SRC_GUID_MISMATCH       = 8488
ERROR_DS_CANT_MOVE_DELETED_OBJECT = 8489
ERROR_DS_PDC_OPERATION_IN_PROGRESS = 8490
ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD = 8491
ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION = 8492
ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS = 8493
ERROR_DS_NC_MUST_HAVE_NC_PARENT  = 8494
ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE = 8495
ERROR_DS_DST_DOMAIN_NOT_NATIVE   = 8496
ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER = 8497
ERROR_DS_CANT_MOVE_ACCOUNT_GROUP = 8498
ERROR_DS_CANT_MOVE_RESOURCE_GROUP = 8499
ERROR_DS_INVALID_SEARCH_FLAG     = 8500
ERROR_DS_NO_TREE_DELETE_ABOVE_NC = 8501
ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE = 8502
ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE = 8503
ERROR_DS_SAM_INIT_FAILURE        = 8504
ERROR_DS_SENSITIVE_GROUP_VIOLATION = 8505
ERROR_DS_CANT_MOD_PRIMARYGROUPID = 8506
ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD = 8507
ERROR_DS_NONSAFE_SCHEMA_CHANGE   = 8508
ERROR_DS_SCHEMA_UPDATE_DISALLOWED = 8509
ERROR_DS_CANT_CREATE_UNDER_SCHEMA = 8510
ERROR_DS_INSTALL_NO_SRC_SCH_VERSION = 8511
ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE = 8512
ERROR_DS_INVALID_GROUP_TYPE      = 8513
ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN = 8514
ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN = 8515
ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER = 8516
ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER = 8517
ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER = 8518
ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER = 8519
ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER = 8520
ERROR_DS_HAVE_PRIMARY_MEMBERS    = 8521
ERROR_DS_STRING_SD_CONVERSION_FAILED = 8522
ERROR_DS_NAMING_MASTER_GC        = 8523
ERROR_DS_DNS_LOOKUP_FAILURE      = 8524
ERROR_DS_COULDNT_UPDATE_SPNS     = 8525
ERROR_DS_CANT_RETRIEVE_SD        = 8526
ERROR_DS_KEY_NOT_UNIQUE          = 8527
ERROR_DS_WRONG_LINKED_ATT_SYNTAX = 8528
ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD = 8529
ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY = 8530
ERROR_DS_CANT_START              = 8531
ERROR_DS_INIT_FAILURE            = 8532
ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION = 8533
ERROR_DS_SOURCE_DOMAIN_IN_FOREST = 8534
ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST = 8535
ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED = 8536
ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN = 8537
ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER = 8538
ERROR_DS_SRC_SID_EXISTS_IN_FOREST = 8539
ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH = 8540
ERROR_SAM_INIT_FAILURE           = 8541
ERROR_DS_DRA_SCHEMA_INFO_SHIP    = 8542
ERROR_DS_DRA_SCHEMA_CONFLICT     = 8543
ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT = 8544
ERROR_DS_DRA_OBJ_NC_MISMATCH     = 8545
ERROR_DS_NC_STILL_HAS_DSAS       = 8546
ERROR_DS_GC_REQUIRED             = 8547
ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY = 8548
ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS = 8549
ERROR_DS_CANT_ADD_TO_GC          = 8550
ERROR_DS_NO_CHECKPOINT_WITH_PDC  = 8551
ERROR_DS_SOURCE_AUDITING_NOT_ENABLED = 8552
ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC = 8553
ERROR_DS_INVALID_NAME_FOR_SPN    = 8554
ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS = 8555
ERROR_DS_UNICODEPWD_NOT_IN_QUOTES = 8556
ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED = 8557
ERROR_DS_MUST_BE_RUN_ON_DST_DC   = 8558
ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER = 8559
ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ = 8560
ERROR_DS_INIT_FAILURE_CONSOLE    = 8561
ERROR_DS_SAM_INIT_FAILURE_CONSOLE = 8562
ERROR_DS_FOREST_VERSION_TOO_HIGH = 8563
ERROR_DS_DOMAIN_VERSION_TOO_HIGH = 8564
ERROR_DS_FOREST_VERSION_TOO_LOW  = 8565
ERROR_DS_DOMAIN_VERSION_TOO_LOW  = 8566
ERROR_DS_INCOMPATIBLE_VERSION    = 8567
ERROR_DS_LOW_DSA_VERSION         = 8568
ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN = 8569
ERROR_DS_NOT_SUPPORTED_SORT_ORDER = 8570
ERROR_DS_NAME_NOT_UNIQUE         = 8571
ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 = 8572
ERROR_DS_OUT_OF_VERSION_STORE    = 8573
ERROR_DS_INCOMPATIBLE_CONTROLS_USED = 8574
ERROR_DS_NO_REF_DOMAIN           = 8575
ERROR_DS_RESERVED_LINK_ID        = 8576
ERROR_DS_LINK_ID_NOT_AVAILABLE   = 8577
ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER = 8578
ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE = 8579
ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC = 8580
ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG = 8581
ERROR_DS_MODIFYDN_WRONG_GRANDPARENT = 8582
ERROR_DS_NAME_ERROR_TRUST_REFERRAL = 8583
ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER = 8584
ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD = 8585
ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2 = 8586
ERROR_DS_THREAD_LIMIT_EXCEEDED   = 8587
ERROR_DS_NOT_CLOSEST             = 8588
ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF = 8589
ERROR_DS_SINGLE_USER_MODE_FAILED = 8590
ERROR_DS_NTDSCRIPT_SYNTAX_ERROR  = 8591
ERROR_DS_NTDSCRIPT_PROCESS_ERROR = 8592
ERROR_DS_DIFFERENT_REPL_EPOCHS   = 8593
ERROR_DS_DRS_EXTENSIONS_CHANGED  = 8594
ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR = 8595
ERROR_DS_NO_MSDS_INTID           = 8596
ERROR_DS_DUP_MSDS_INTID          = 8597
ERROR_DS_EXISTS_IN_RDNATTID      = 8598
ERROR_DS_AUTHORIZATION_FAILED    = 8599
ERROR_DS_INVALID_SCRIPT          = 8600
ERROR_DS_REMOTE_CROSSREF_OP_FAILED = 8601
ERROR_DS_CROSS_REF_BUSY          = 8602
ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN = 8603
ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC = 8604
ERROR_DS_DUPLICATE_ID_FOUND      = 8605
ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT = 8606
ERROR_DS_GROUP_CONVERSION_ERROR  = 8607
ERROR_DS_CANT_MOVE_APP_BASIC_GROUP = 8608
ERROR_DS_CANT_MOVE_APP_QUERY_GROUP = 8609
ERROR_DS_ROLE_NOT_VERIFIED       = 8610
ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL = 8611
ERROR_DS_DOMAIN_RENAME_IN_PROGRESS = 8612
ERROR_DS_EXISTING_AD_CHILD_NC    = 8613
ERROR_DS_REPL_LIFETIME_EXCEEDED  = 8614
ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER = 8615
ERROR_DS_LDAP_SEND_QUEUE_FULL    = 8616
ERROR_DS_DRA_OUT_SCHEDULE_WINDOW = 8617
ERROR_DS_POLICY_NOT_KNOWN        = 8618
ERROR_NO_SITE_SETTINGS_OBJECT    = 8619
ERROR_NO_SECRETS                 = 8620
ERROR_NO_WRITABLE_DC_FOUND       = 8621
ERROR_DS_NO_SERVER_OBJECT        = 8622
ERROR_DS_NO_NTDSA_OBJECT         = 8623
ERROR_DS_NON_ASQ_SEARCH          = 8624
ERROR_DS_AUDIT_FAILURE           = 8625
ERROR_DS_INVALID_SEARCH_FLAG_SUBTREE = 8626
ERROR_DS_INVALID_SEARCH_FLAG_TUPLE = 8627
ERROR_DS_HIERARCHY_TABLE_TOO_DEEP = 8628
DNS_ERROR_RESPONSE_CODES_BASE    = 9000
DNS_ERROR_RCODE_NO_ERROR         = NO_ERROR
DNS_ERROR_MASK                   = 00002328h
DNS_ERROR_RCODE_FORMAT_ERROR     = 9001
DNS_ERROR_RCODE_SERVER_FAILURE   = 9002
DNS_ERROR_RCODE_NAME_ERROR       = 9003
DNS_ERROR_RCODE_NOT_IMPLEMENTED  = 9004
DNS_ERROR_RCODE_REFUSED          = 9005
DNS_ERROR_RCODE_YXDOMAIN         = 9006
DNS_ERROR_RCODE_YXRRSET          = 9007
DNS_ERROR_RCODE_NXRRSET          = 9008
DNS_ERROR_RCODE_NOTAUTH          = 9009
DNS_ERROR_RCODE_NOTZONE          = 9010
DNS_ERROR_RCODE_BADSIG           = 9016
DNS_ERROR_RCODE_BADKEY           = 9017
DNS_ERROR_RCODE_BADTIME          = 9018
DNS_ERROR_RCODE_LAST             = DNS_ERROR_RCODE_BADTIME
DNS_ERROR_PACKET_FMT_BASE        = 9500
DNS_INFO_NO_RECORDS              = 9501
DNS_ERROR_BAD_PACKET             = 9502
DNS_ERROR_NO_PACKET              = 9503
DNS_ERROR_RCODE                  = 9504
DNS_ERROR_UNSECURE_PACKET        = 9505
DNS_STATUS_PACKET_UNSECURE       = DNS_ERROR_UNSECURE_PACKET
DNS_ERROR_NO_MEMORY              = ERROR_OUTOFMEMORY
DNS_ERROR_INVALID_NAME           = ERROR_INVALID_NAME
DNS_ERROR_INVALID_DATA           = ERROR_INVALID_DATA
DNS_ERROR_GENERAL_API_BASE       = 9550
DNS_ERROR_INVALID_TYPE           = 9551
DNS_ERROR_INVALID_IP_ADDRESS     = 9552
DNS_ERROR_INVALID_PROPERTY       = 9553
DNS_ERROR_TRY_AGAIN_LATER        = 9554
DNS_ERROR_NOT_UNIQUE             = 9555
DNS_ERROR_NON_RFC_NAME           = 9556
DNS_STATUS_FQDN                  = 9557
DNS_STATUS_DOTTED_NAME           = 9558
DNS_STATUS_SINGLE_PART_NAME      = 9559
DNS_ERROR_INVALID_NAME_CHAR      = 9560
DNS_ERROR_NUMERIC_NAME           = 9561
DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER = 9562
DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION = 9563
DNS_ERROR_CANNOT_FIND_ROOT_HINTS = 9564
DNS_ERROR_INCONSISTENT_ROOT_HINTS = 9565
DNS_ERROR_DWORD_VALUE_TOO_SMALL  = 9566
DNS_ERROR_DWORD_VALUE_TOO_LARGE  = 9567
DNS_ERROR_BACKGROUND_LOADING     = 9568
DNS_ERROR_NOT_ALLOWED_ON_RODC    = 9569
DNS_ERROR_NOT_ALLOWED_UNDER_DNAME = 9570
DNS_ERROR_ZONE_BASE              = 9600
DNS_ERROR_ZONE_DOES_NOT_EXIST    = 9601
DNS_ERROR_NO_ZONE_INFO           = 9602
DNS_ERROR_INVALID_ZONE_OPERATION = 9603
DNS_ERROR_ZONE_CONFIGURATION_ERROR = 9604
DNS_ERROR_ZONE_HAS_NO_SOA_RECORD = 9605
DNS_ERROR_ZONE_HAS_NO_NS_RECORDS = 9606
DNS_ERROR_ZONE_LOCKED            = 9607
DNS_ERROR_ZONE_CREATION_FAILED   = 9608
DNS_ERROR_ZONE_ALREADY_EXISTS    = 9609
DNS_ERROR_AUTOZONE_ALREADY_EXISTS = 9610
DNS_ERROR_INVALID_ZONE_TYPE      = 9611
DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP = 9612
DNS_ERROR_ZONE_NOT_SECONDARY     = 9613
DNS_ERROR_NEED_SECONDARY_ADDRESSES = 9614
DNS_ERROR_WINS_INIT_FAILED       = 9615
DNS_ERROR_NEED_WINS_SERVERS      = 9616
DNS_ERROR_NBSTAT_INIT_FAILED     = 9617
DNS_ERROR_SOA_DELETE_INVALID     = 9618
DNS_ERROR_FORWARDER_ALREADY_EXISTS = 9619
DNS_ERROR_ZONE_REQUIRES_MASTER_IP = 9620
DNS_ERROR_ZONE_IS_SHUTDOWN       = 9621
DNS_ERROR_DATAFILE_BASE          = 9650
DNS_ERROR_PRIMARY_REQUIRES_DATAFILE = 9651
DNS_ERROR_INVALID_DATAFILE_NAME  = 9652
DNS_ERROR_DATAFILE_OPEN_FAILURE  = 9653
DNS_ERROR_FILE_WRITEBACK_FAILED  = 9654
DNS_ERROR_DATAFILE_PARSING       = 9655
DNS_ERROR_DATABASE_BASE          = 9700
DNS_ERROR_RECORD_DOES_NOT_EXIST  = 9701
DNS_ERROR_RECORD_FORMAT          = 9702
DNS_ERROR_NODE_CREATION_FAILED   = 9703
DNS_ERROR_UNKNOWN_RECORD_TYPE    = 9704
DNS_ERROR_RECORD_TIMED_OUT       = 9705
DNS_ERROR_NAME_NOT_IN_ZONE       = 9706
DNS_ERROR_CNAME_LOOP             = 9707
DNS_ERROR_NODE_IS_CNAME          = 9708
DNS_ERROR_CNAME_COLLISION        = 9709
DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT = 9710
DNS_ERROR_RECORD_ALREADY_EXISTS  = 9711
DNS_ERROR_SECONDARY_DATA         = 9712
DNS_ERROR_NO_CREATE_CACHE_DATA   = 9713
DNS_ERROR_NAME_DOES_NOT_EXIST    = 9714
DNS_WARNING_PTR_CREATE_FAILED    = 9715
DNS_WARNING_DOMAIN_UNDELETED     = 9716
DNS_ERROR_DS_UNAVAILABLE         = 9717
DNS_ERROR_DS_ZONE_ALREADY_EXISTS = 9718
DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE = 9719
DNS_ERROR_NODE_IS_DNAME          = 9720
DNS_ERROR_DNAME_COLLISION        = 9721
DNS_ERROR_ALIAS_LOOP             = 9722
DNS_ERROR_OPERATION_BASE         = 9750
DNS_INFO_AXFR_COMPLETE           = 9751
DNS_ERROR_AXFR                   = 9752
DNS_INFO_ADDED_LOCAL_WINS        = 9753
DNS_ERROR_SECURE_BASE            = 9800
DNS_STATUS_CONTINUE_NEEDED       = 9801
DNS_ERROR_SETUP_BASE             = 9850
DNS_ERROR_NO_TCPIP               = 9851
DNS_ERROR_NO_DNS_SERVERS         = 9852
DNS_ERROR_DP_BASE                = 9900
DNS_ERROR_DP_DOES_NOT_EXIST      = 9901
DNS_ERROR_DP_ALREADY_EXISTS      = 9902
DNS_ERROR_DP_NOT_ENLISTED        = 9903
DNS_ERROR_DP_ALREADY_ENLISTED    = 9904
DNS_ERROR_DP_NOT_AVAILABLE       = 9905
DNS_ERROR_DP_FSMO_ERROR          = 9906
ERROR_IPSEC_QM_POLICY_EXISTS     = 13000
ERROR_IPSEC_QM_POLICY_NOT_FOUND  = 13001
ERROR_IPSEC_QM_POLICY_IN_USE     = 13002
ERROR_IPSEC_MM_POLICY_EXISTS     = 13003
ERROR_IPSEC_MM_POLICY_NOT_FOUND  = 13004
ERROR_IPSEC_MM_POLICY_IN_USE     = 13005
ERROR_IPSEC_MM_FILTER_EXISTS     = 13006
ERROR_IPSEC_MM_FILTER_NOT_FOUND  = 13007
ERROR_IPSEC_TRANSPORT_FILTER_EXISTS = 13008
ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND = 13009
ERROR_IPSEC_MM_AUTH_EXISTS       = 13010
ERROR_IPSEC_MM_AUTH_NOT_FOUND    = 13011
ERROR_IPSEC_MM_AUTH_IN_USE       = 13012
ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND = 13013
ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND = 13014
ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND = 13015
ERROR_IPSEC_TUNNEL_FILTER_EXISTS = 13016
ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND = 13017
ERROR_IPSEC_MM_FILTER_PENDING_DELETION = 13018
ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION = 13019
ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION = 13020
ERROR_IPSEC_MM_POLICY_PENDING_DELETION = 13021
ERROR_IPSEC_MM_AUTH_PENDING_DELETION = 13022
ERROR_IPSEC_QM_POLICY_PENDING_DELETION = 13023
WARNING_IPSEC_MM_POLICY_PRUNED   = 13024
WARNING_IPSEC_QM_POLICY_PRUNED   = 13025
ERROR_IPSEC_IKE_NEG_STATUS_BEGIN = 13800
ERROR_IPSEC_IKE_AUTH_FAIL        = 13801
ERROR_IPSEC_IKE_ATTRIB_FAIL      = 13802
ERROR_IPSEC_IKE_NEGOTIATION_PENDING = 13803
ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR = 13804
ERROR_IPSEC_IKE_TIMED_OUT        = 13805
ERROR_IPSEC_IKE_NO_CERT          = 13806
ERROR_IPSEC_IKE_SA_DELETED       = 13807
ERROR_IPSEC_IKE_SA_REAPED        = 13808
ERROR_IPSEC_IKE_MM_ACQUIRE_DROP  = 13809
ERROR_IPSEC_IKE_QM_ACQUIRE_DROP  = 13810
ERROR_IPSEC_IKE_QUEUE_DROP_MM    = 13811
ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM = 13812
ERROR_IPSEC_IKE_DROP_NO_RESPONSE = 13813
ERROR_IPSEC_IKE_MM_DELAY_DROP    = 13814
ERROR_IPSEC_IKE_QM_DELAY_DROP    = 13815
ERROR_IPSEC_IKE_ERROR            = 13816
ERROR_IPSEC_IKE_CRL_FAILED       = 13817
ERROR_IPSEC_IKE_INVALID_KEY_USAGE = 13818
ERROR_IPSEC_IKE_INVALID_CERT_TYPE = 13819
ERROR_IPSEC_IKE_NO_PRIVATE_KEY   = 13820
ERROR_IPSEC_IKE_DH_FAIL          = 13822
ERROR_IPSEC_IKE_INVALID_HEADER   = 13824
ERROR_IPSEC_IKE_NO_POLICY        = 13825
ERROR_IPSEC_IKE_INVALID_SIGNATURE = 13826
ERROR_IPSEC_IKE_KERBEROS_ERROR   = 13827
ERROR_IPSEC_IKE_NO_PUBLIC_KEY    = 13828
ERROR_IPSEC_IKE_PROCESS_ERR      = 13829
ERROR_IPSEC_IKE_PROCESS_ERR_SA   = 13830
ERROR_IPSEC_IKE_PROCESS_ERR_PROP = 13831
ERROR_IPSEC_IKE_PROCESS_ERR_TRANS = 13832
ERROR_IPSEC_IKE_PROCESS_ERR_KE   = 13833
ERROR_IPSEC_IKE_PROCESS_ERR_ID   = 13834
ERROR_IPSEC_IKE_PROCESS_ERR_CERT = 13835
ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ = 13836
ERROR_IPSEC_IKE_PROCESS_ERR_HASH = 13837
ERROR_IPSEC_IKE_PROCESS_ERR_SIG  = 13838
ERROR_IPSEC_IKE_PROCESS_ERR_NONCE = 13839
ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY = 13840
ERROR_IPSEC_IKE_PROCESS_ERR_DELETE = 13841
ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR = 13842
ERROR_IPSEC_IKE_INVALID_PAYLOAD  = 13843
ERROR_IPSEC_IKE_LOAD_SOFT_SA     = 13844
ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN = 13845
ERROR_IPSEC_IKE_INVALID_COOKIE   = 13846
ERROR_IPSEC_IKE_NO_PEER_CERT     = 13847
ERROR_IPSEC_IKE_PEER_CRL_FAILED  = 13848
ERROR_IPSEC_IKE_POLICY_CHANGE    = 13849
ERROR_IPSEC_IKE_NO_MM_POLICY     = 13850
ERROR_IPSEC_IKE_NOTCBPRIV        = 13851
ERROR_IPSEC_IKE_SECLOADFAIL      = 13852
ERROR_IPSEC_IKE_FAILSSPINIT      = 13853
ERROR_IPSEC_IKE_FAILQUERYSSP     = 13854
ERROR_IPSEC_IKE_SRVACQFAIL       = 13855
ERROR_IPSEC_IKE_SRVQUERYCRED     = 13856
ERROR_IPSEC_IKE_GETSPIFAIL       = 13857
ERROR_IPSEC_IKE_INVALID_FILTER   = 13858
ERROR_IPSEC_IKE_OUT_OF_MEMORY    = 13859
ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED = 13860
ERROR_IPSEC_IKE_INVALID_POLICY   = 13861
ERROR_IPSEC_IKE_UNKNOWN_DOI      = 13862
ERROR_IPSEC_IKE_INVALID_SITUATION = 13863
ERROR_IPSEC_IKE_DH_FAILURE       = 13864
ERROR_IPSEC_IKE_INVALID_GROUP    = 13865
ERROR_IPSEC_IKE_ENCRYPT          = 13866
ERROR_IPSEC_IKE_DECRYPT          = 13867
ERROR_IPSEC_IKE_POLICY_MATCH     = 13868
ERROR_IPSEC_IKE_UNSUPPORTED_ID   = 13869
ERROR_IPSEC_IKE_INVALID_HASH     = 13870
ERROR_IPSEC_IKE_INVALID_HASH_ALG = 13871
ERROR_IPSEC_IKE_INVALID_HASH_SIZE = 13872
ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG = 13873
ERROR_IPSEC_IKE_INVALID_AUTH_ALG = 13874
ERROR_IPSEC_IKE_INVALID_SIG      = 13875
ERROR_IPSEC_IKE_LOAD_FAILED      = 13876
ERROR_IPSEC_IKE_RPC_DELETE       = 13877
ERROR_IPSEC_IKE_BENIGN_REINIT    = 13878
ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY = 13879
ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN = 13881
ERROR_IPSEC_IKE_MM_LIMIT         = 13882
ERROR_IPSEC_IKE_NEGOTIATION_DISABLED = 13883
ERROR_IPSEC_IKE_QM_LIMIT         = 13884
ERROR_IPSEC_IKE_MM_EXPIRED       = 13885
ERROR_IPSEC_IKE_PEER_MM_ASSUMED_INVALID = 13886
ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH = 13887
ERROR_IPSEC_IKE_UNEXPECTED_MESSAGE_ID = 13888
ERROR_IPSEC_IKE_INVALID_AUTH_PAYLOAD = 13889
ERROR_IPSEC_IKE_DOS_COOKIE_SENT  = 13890
ERROR_IPSEC_IKE_SHUTTING_DOWN    = 13891
ERROR_IPSEC_IKE_CGA_AUTH_FAILED  = 13892
ERROR_IPSEC_IKE_PROCESS_ERR_NATOA = 13893
ERROR_IPSEC_IKE_INVALID_MM_FOR_QM = 13894
ERROR_IPSEC_IKE_QM_EXPIRED       = 13895
ERROR_IPSEC_IKE_TOO_MANY_FILTERS = 13896
ERROR_IPSEC_IKE_NEG_STATUS_END   = 13897
ERROR_IPSEC_BAD_SPI              = 13910
ERROR_IPSEC_SA_LIFETIME_EXPIRED  = 13911
ERROR_IPSEC_WRONG_SA             = 13912
ERROR_IPSEC_REPLAY_CHECK_FAILED  = 13913
ERROR_IPSEC_INVALID_PACKET       = 13914
ERROR_IPSEC_INTEGRITY_CHECK_FAILED = 13915
ERROR_IPSEC_CLEAR_TEXT_DROP      = 13916
ERROR_SXS_SECTION_NOT_FOUND      = 14000
ERROR_SXS_CANT_GEN_ACTCTX        = 14001
ERROR_SXS_INVALID_ACTCTXDATA_FORMAT = 14002
ERROR_SXS_ASSEMBLY_NOT_FOUND     = 14003
ERROR_SXS_MANIFEST_FORMAT_ERROR  = 14004
ERROR_SXS_MANIFEST_PARSE_ERROR   = 14005
ERROR_SXS_ACTIVATION_CONTEXT_DISABLED = 14006
ERROR_SXS_KEY_NOT_FOUND          = 14007
ERROR_SXS_VERSION_CONFLICT       = 14008
ERROR_SXS_WRONG_SECTION_TYPE     = 14009
ERROR_SXS_THREAD_QUERIES_DISABLED = 14010
ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET = 14011
ERROR_SXS_UNKNOWN_ENCODING_GROUP = 14012
ERROR_SXS_UNKNOWN_ENCODING       = 14013
ERROR_SXS_INVALID_XML_NAMESPACE_URI = 14014
ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED = 14015
ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED = 14016
ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE = 14017
ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE = 14018
ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE = 14019
ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT = 14020
ERROR_SXS_DUPLICATE_DLL_NAME     = 14021
ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME = 14022
ERROR_SXS_DUPLICATE_CLSID        = 14023
ERROR_SXS_DUPLICATE_IID          = 14024
ERROR_SXS_DUPLICATE_TLBID        = 14025
ERROR_SXS_DUPLICATE_PROGID       = 14026
ERROR_SXS_DUPLICATE_ASSEMBLY_NAME = 14027
ERROR_SXS_FILE_HASH_MISMATCH     = 14028
ERROR_SXS_POLICY_PARSE_ERROR     = 14029
ERROR_SXS_XML_E_MISSINGQUOTE     = 14030
ERROR_SXS_XML_E_COMMENTSYNTAX    = 14031
ERROR_SXS_XML_E_BADSTARTNAMECHAR = 14032
ERROR_SXS_XML_E_BADNAMECHAR      = 14033
ERROR_SXS_XML_E_BADCHARINSTRING  = 14034
ERROR_SXS_XML_E_XMLDECLSYNTAX    = 14035
ERROR_SXS_XML_E_BADCHARDATA      = 14036
ERROR_SXS_XML_E_MISSINGWHITESPACE = 14037
ERROR_SXS_XML_E_EXPECTINGTAGEND  = 14038
ERROR_SXS_XML_E_MISSINGSEMICOLON = 14039
ERROR_SXS_XML_E_UNBALANCEDPAREN  = 14040
ERROR_SXS_XML_E_INTERNALERROR    = 14041
ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE = 14042
ERROR_SXS_XML_E_INCOMPLETE_ENCODING = 14043
ERROR_SXS_XML_E_MISSING_PAREN    = 14044
ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE = 14045
ERROR_SXS_XML_E_MULTIPLE_COLONS  = 14046
ERROR_SXS_XML_E_INVALID_DECIMAL  = 14047
ERROR_SXS_XML_E_INVALID_HEXIDECIMAL = 14048
ERROR_SXS_XML_E_INVALID_UNICODE  = 14049
ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK = 14050
ERROR_SXS_XML_E_UNEXPECTEDENDTAG = 14051
ERROR_SXS_XML_E_UNCLOSEDTAG      = 14052
ERROR_SXS_XML_E_DUPLICATEATTRIBUTE = 14053
ERROR_SXS_XML_E_MULTIPLEROOTS    = 14054
ERROR_SXS_XML_E_INVALIDATROOTLEVEL = 14055
ERROR_SXS_XML_E_BADXMLDECL       = 14056
ERROR_SXS_XML_E_MISSINGROOT      = 14057
ERROR_SXS_XML_E_UNEXPECTEDEOF    = 14058
ERROR_SXS_XML_E_BADPEREFINSUBSET = 14059
ERROR_SXS_XML_E_UNCLOSEDSTARTTAG = 14060
ERROR_SXS_XML_E_UNCLOSEDENDTAG   = 14061
ERROR_SXS_XML_E_UNCLOSEDSTRING   = 14062
ERROR_SXS_XML_E_UNCLOSEDCOMMENT  = 14063
ERROR_SXS_XML_E_UNCLOSEDDECL     = 14064
ERROR_SXS_XML_E_UNCLOSEDCDATA    = 14065
ERROR_SXS_XML_E_RESERVEDNAMESPACE = 14066
ERROR_SXS_XML_E_INVALIDENCODING  = 14067
ERROR_SXS_XML_E_INVALIDSWITCH    = 14068
ERROR_SXS_XML_E_BADXMLCASE       = 14069
ERROR_SXS_XML_E_INVALID_STANDALONE = 14070
ERROR_SXS_XML_E_UNEXPECTED_STANDALONE = 14071
ERROR_SXS_XML_E_INVALID_VERSION  = 14072
ERROR_SXS_XML_E_MISSINGEQUALS    = 14073
ERROR_SXS_PROTECTION_RECOVERY_FAILED = 14074
ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT = 14075
ERROR_SXS_PROTECTION_CATALOG_NOT_VALID = 14076
ERROR_SXS_UNTRANSLATABLE_HRESULT = 14077
ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING = 14078
ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE = 14079
ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME = 14080
ERROR_SXS_ASSEMBLY_MISSING       = 14081
ERROR_SXS_CORRUPT_ACTIVATION_STACK = 14082
ERROR_SXS_CORRUPTION             = 14083
ERROR_SXS_EARLY_DEACTIVATION     = 14084
ERROR_SXS_INVALID_DEACTIVATION   = 14085
ERROR_SXS_MULTIPLE_DEACTIVATION  = 14086
ERROR_SXS_PROCESS_TERMINATION_REQUESTED = 14087
ERROR_SXS_RELEASE_ACTIVATION_CONTEXT = 14088
ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY = 14089
ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE = 14090
ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME = 14091
ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE = 14092
ERROR_SXS_IDENTITY_PARSE_ERROR   = 14093
ERROR_MALFORMED_SUBSTITUTION_STRING = 14094
ERROR_SXS_INCORRECT_PUBLIC_KEY_TOKEN = 14095
ERROR_UNMAPPED_SUBSTITUTION_STRING = 14096
ERROR_SXS_ASSEMBLY_NOT_LOCKED    = 14097
ERROR_SXS_COMPONENT_STORE_CORRUPT = 14098
ERROR_ADVANCED_INSTALLER_FAILED  = 14099
ERROR_XML_ENCODING_MISMATCH      = 14100
ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT = 14101
ERROR_SXS_IDENTITIES_DIFFERENT   = 14102
ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT = 14103
ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY = 14104
ERROR_SXS_MANIFEST_TOO_BIG       = 14105
ERROR_SXS_SETTING_NOT_REGISTERED = 14106
ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE = 14107
ERROR_SMI_PRIMITIVE_INSTALLER_FAILED = 14108
ERROR_GENERIC_COMMAND_FAILED     = 14109
ERROR_SXS_FILE_HASH_MISSING      = 14110
ERROR_EVT_INVALID_CHANNEL_PATH   = 15000
ERROR_EVT_INVALID_QUERY          = 15001
ERROR_EVT_PUBLISHER_METADATA_NOT_FOUND = 15002
ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND = 15003
ERROR_EVT_INVALID_PUBLISHER_NAME = 15004
ERROR_EVT_INVALID_EVENT_DATA     = 15005
ERROR_EVT_CHANNEL_NOT_FOUND      = 15007
ERROR_EVT_MALFORMED_XML_TEXT     = 15008
ERROR_EVT_SUBSCRIPTION_TO_DIRECT_CHANNEL = 15009
ERROR_EVT_CONFIGURATION_ERROR    = 15010
ERROR_EVT_QUERY_RESULT_STALE     = 15011
ERROR_EVT_QUERY_RESULT_INVALID_POSITION = 15012
ERROR_EVT_NON_VALIDATING_MSXML   = 15013
ERROR_EVT_FILTER_ALREADYSCOPED   = 15014
ERROR_EVT_FILTER_NOTELTSET       = 15015
ERROR_EVT_FILTER_INVARG          = 15016
ERROR_EVT_FILTER_INVTEST         = 15017
ERROR_EVT_FILTER_INVTYPE         = 15018
ERROR_EVT_FILTER_PARSEERR        = 15019
ERROR_EVT_FILTER_UNSUPPORTEDOP   = 15020
ERROR_EVT_FILTER_UNEXPECTEDTOKEN = 15021
ERROR_EVT_INVALID_OPERATION_OVER_ENABLED_DIRECT_CHANNEL = 15022
ERROR_EVT_INVALID_CHANNEL_PROPERTY_VALUE = 15023
ERROR_EVT_INVALID_PUBLISHER_PROPERTY_VALUE = 15024
ERROR_EVT_CHANNEL_CANNOT_ACTIVATE = 15025
ERROR_EVT_FILTER_TOO_COMPLEX     = 15026
ERROR_EVT_MESSAGE_NOT_FOUND      = 15027
ERROR_EVT_MESSAGE_ID_NOT_FOUND   = 15028
ERROR_EVT_UNRESOLVED_VALUE_INSERT = 15029
ERROR_EVT_UNRESOLVED_PARAMETER_INSERT = 15030
ERROR_EVT_MAX_INSERTS_REACHED    = 15031
ERROR_EVT_EVENT_DEFINITION_NOT_FOUND = 15032
ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND = 15033
ERROR_EVT_VERSION_TOO_OLD        = 15034
ERROR_EVT_VERSION_TOO_NEW        = 15035
ERROR_EVT_CANNOT_OPEN_CHANNEL_OF_QUERY = 15036
ERROR_EVT_PUBLISHER_DISABLED     = 15037
ERROR_EVT_FILTER_OUT_OF_RANGE    = 15038
ERROR_EC_SUBSCRIPTION_CANNOT_ACTIVATE = 15080
ERROR_EC_LOG_DISABLED            = 15081
ERROR_EC_CIRCULAR_FORWARDING     = 15082
ERROR_EC_CREDSTORE_FULL          = 15083
ERROR_EC_CRED_NOT_FOUND          = 15084
ERROR_EC_NO_ACTIVE_CHANNEL       = 15085
ERROR_MUI_FILE_NOT_FOUND         = 15100
ERROR_MUI_INVALID_FILE           = 15101
ERROR_MUI_INVALID_RC_CONFIG      = 15102
ERROR_MUI_INVALID_LOCALE_NAME    = 15103
ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME = 15104
ERROR_MUI_FILE_NOT_LOADED        = 15105
ERROR_RESOURCE_ENUM_USER_STOP    = 15106
ERROR_MUI_INTLSETTINGS_UILANG_NOT_INSTALLED = 15107
ERROR_MUI_INTLSETTINGS_INVALID_LOCALE_NAME = 15108
ERROR_MCA_INVALID_CAPABILITIES_STRING = 15200
ERROR_MCA_INVALID_VCP_VERSION    = 15201
ERROR_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION = 15202
ERROR_MCA_MCCS_VERSION_MISMATCH  = 15203
ERROR_MCA_UNSUPPORTED_MCCS_VERSION = 15204
ERROR_MCA_INTERNAL_ERROR         = 15205
ERROR_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED = 15206
ERROR_MCA_UNSUPPORTED_COLOR_TEMPERATURE = 15207
ERROR_AMBIGUOUS_SYSTEM_DEVICE    = 15250
ERROR_SYSTEM_DEVICE_NOT_FOUND    = 15299
E_PENDING                        = 8000000Ah
CO_E_CANT_REMOTE                 = 80004013h
CO_E_BAD_SERVER_NAME             = 80004014h
CO_E_WRONG_SERVER_IDENTITY       = 80004015h
CO_E_OLE1DDE_DISABLED            = 80004016h
CO_E_RUNAS_SYNTAX                = 80004017h
CO_E_CREATEPROCESS_FAILURE       = 80004018h
CO_E_RUNAS_LOGON_FAILURE         = 8000401Ah
CO_E_LAUNCH_PERMSSION_DENIED     = 8000401Bh
CO_E_START_SERVICE_FAILURE       = 8000401Ch
CO_E_SERVER_START_TIMEOUT        = 8000401Eh
CO_E_CLSREG_INCONSISTENT         = 8000401Fh
CO_E_IIDREG_INCONSISTENT         = 80004020h
CO_E_NOT_SUPPORTED               = 80004021h
CO_E_RELOAD_DLL                  = 80004022h
CO_E_MSI_ERROR                   = 80004023h
CO_E_SERVER_PAUSED               = 80004025h
CO_E_SERVER_NOT_PAUSED           = 80004026h
CO_E_CLASS_DISABLED              = 80004027h
CO_E_CLRNOTAVAILABLE             = 80004028h
CO_E_ASYNC_WORK_REJECTED         = 80004029h
CO_E_SERVER_INIT_TIMEOUT         = 8000402Ah
CO_E_NO_SECCTX_IN_ACTIVATE       = 8000402Bh
CO_E_TRACKER_CONFIG              = 80004030h
CO_E_THREADPOOL_CONFIG           = 80004031h
CO_E_SXS_CONFIG                  = 80004032h
CO_E_MALFORMED_SPN               = 80004033h
CLASS_E_NOTLICENSED              = 80040112h
REGDB_E_BADTHREADINGMODEL        = 80040156h
CAT_E_FIRST                      = 80040160h
CAT_E_LAST                       = 80040161h
CAT_E_CATIDNOEXIST               = 80040160h
CAT_E_NODESCRIPTION              = 80040161h
CS_E_FIRST                       = 80040164h
CS_E_LAST                        = 8004016Fh
CS_E_PACKAGE_NOTFOUND            = 80040164h
CS_E_NOT_DELETABLE               = 80040165h
CS_E_CLASS_NOTFOUND              = 80040166h
CS_E_INVALID_VERSION             = 80040167h
CS_E_NO_CLASSSTORE               = 80040168h
CS_E_OBJECT_NOTFOUND             = 80040169h
CS_E_OBJECT_ALREADY_EXISTS       = 8004016Ah
CS_E_INVALID_PATH                = 8004016Bh
CS_E_NETWORK_ERROR               = 8004016Ch
CS_E_ADMIN_LIMIT_EXCEEDED        = 8004016Dh
CS_E_SCHEMA_MISMATCH             = 8004016Eh
CS_E_INTERNAL_ERROR              = 8004016Fh
EVENT_E_FIRST                    = 80040200h
EVENT_E_LAST                     = 8004021Fh
EVENT_S_FIRST                    = 00040200h
EVENT_S_LAST                     = 0004021Fh
EVENT_S_SOME_SUBSCRIBERS_FAILED  = 00040200h
EVENT_E_ALL_SUBSCRIBERS_FAILED   = 80040201h
EVENT_S_NOSUBSCRIBERS            = 00040202h
EVENT_E_QUERYSYNTAX              = 80040203h
EVENT_E_QUERYFIELD               = 80040204h
EVENT_E_INTERNALEXCEPTION        = 80040205h
EVENT_E_INTERNALERROR            = 80040206h
EVENT_E_INVALID_PER_USER_SID     = 80040207h
EVENT_E_USER_EXCEPTION           = 80040208h
EVENT_E_TOO_MANY_METHODS         = 80040209h
EVENT_E_MISSING_EVENTCLASS       = 8004020Ah
EVENT_E_NOT_ALL_REMOVED          = 8004020Bh
EVENT_E_COMPLUS_NOT_INSTALLED    = 8004020Ch
XACT_E_FIRST                     = 8004D000h
XACT_E_LAST                      = 8004D029h
XACT_S_FIRST                     = 0004D000h
XACT_S_LAST                      = 0004D010h
XACT_E_ALREADYOTHERSINGLEPHASE   = 8004D000h
XACT_E_CANTRETAIN                = 8004D001h
XACT_E_COMMITFAILED              = 8004D002h
XACT_E_COMMITPREVENTED           = 8004D003h
XACT_E_HEURISTICABORT            = 8004D004h
XACT_E_HEURISTICCOMMIT           = 8004D005h
XACT_E_HEURISTICDAMAGE           = 8004D006h
XACT_E_HEURISTICDANGER           = 8004D007h
XACT_E_ISOLATIONLEVEL            = 8004D008h
XACT_E_NOASYNC                   = 8004D009h
XACT_E_NOENLIST                  = 8004D00Ah
XACT_E_NOISORETAIN               = 8004D00Bh
XACT_E_NORESOURCE                = 8004D00Ch
XACT_E_NOTCURRENT                = 8004D00Dh
XACT_E_NOTRANSACTION             = 8004D00Eh
XACT_E_NOTSUPPORTED              = 8004D00Fh
XACT_E_UNKNOWNRMGRID             = 8004D010h
XACT_E_WRONGSTATE                = 8004D011h
XACT_E_WRONGUOW                  = 8004D012h
XACT_E_XTIONEXISTS               = 8004D013h
XACT_E_NOIMPORTOBJECT            = 8004D014h
XACT_E_INVALIDCOOKIE             = 8004D015h
XACT_E_INDOUBT                   = 8004D016h
XACT_E_NOTIMEOUT                 = 8004D017h
XACT_E_ALREADYINPROGRESS         = 8004D018h
XACT_E_ABORTED                   = 8004D019h
XACT_E_LOGFULL                   = 8004D01Ah
XACT_E_TMNOTAVAILABLE            = 8004D01Bh
XACT_E_CONNECTION_DOWN           = 8004D01Ch
XACT_E_CONNECTION_DENIED         = 8004D01Dh
XACT_E_REENLISTTIMEOUT           = 8004D01Eh
XACT_E_TIP_CONNECT_FAILED        = 8004D01Fh
XACT_E_TIP_PROTOCOL_ERROR        = 8004D020h
XACT_E_TIP_PULL_FAILED           = 8004D021h
XACT_E_DEST_TMNOTAVAILABLE       = 8004D022h
XACT_E_TIP_DISABLED              = 8004D023h
XACT_E_NETWORK_TX_DISABLED       = 8004D024h
XACT_E_XA_TX_DISABLED            = 8004D026h
XACT_E_UNABLE_TO_LOAD_DTC_PROXY  = 8004D028h
XACT_E_ABORTING                  = 8004D029h
XACT_E_CLERKNOTFOUND             = 8004D080h
XACT_E_CLERKEXISTS               = 8004D081h
XACT_E_RECOVERYINPROGRESS        = 8004D082h
XACT_E_TRANSACTIONCLOSED         = 8004D083h
XACT_E_INVALIDLSN                = 8004D084h
XACT_E_REPLAYREQUEST             = 8004D085h
XACT_S_ASYNC                     = 0004D000h
XACT_S_DEFECT                    = 0004D001h
XACT_S_READONLY                  = 0004D002h
XACT_S_SOMENORETAIN              = 0004D003h
XACT_S_OKINFORM                  = 0004D004h
XACT_S_MADECHANGESCONTENT        = 0004D005h
XACT_S_MADECHANGESINFORM         = 0004D006h
XACT_S_ALLNORETAIN               = 0004D007h
XACT_S_ABORTING                  = 0004D008h
XACT_S_SINGLEPHASE               = 0004D009h
XACT_S_LOCALLY_OK                = 0004D00Ah
XACT_S_LASTRESOURCEMANAGER       = 0004D010h
CONTEXT_E_FIRST                  = 8004E000h
CONTEXT_E_LAST                   = 8004E02Fh
CONTEXT_S_FIRST                  = 0004E000h
CONTEXT_S_LAST                   = 0004E02Fh
CONTEXT_E_ABORTED                = 8004E002h
CONTEXT_E_ABORTING               = 8004E003h
CONTEXT_E_NOCONTEXT              = 8004E004h
CONTEXT_E_WOULD_DEADLOCK         = 8004E005h
CONTEXT_E_SYNCH_TIMEOUT          = 8004E006h
CONTEXT_E_OLDREF                 = 8004E007h
CONTEXT_E_ROLENOTFOUND           = 8004E00Ch
CONTEXT_E_TMNOTAVAILABLE         = 8004E00Fh
CO_E_ACTIVATIONFAILED            = 8004E021h
CO_E_ACTIVATIONFAILED_TIMEOUT    = 8004E024h
CO_E_INITIALIZATIONFAILED        = 8004E025h
CONTEXT_E_NOJIT                  = 8004E026h
CONTEXT_E_NOTRANSACTION          = 8004E027h
CO_E_THREADINGMODEL_CHANGED      = 8004E028h
CO_E_NOIISINTRINSICS             = 8004E029h
CO_E_NOCOOKIES                   = 8004E02Ah
CO_E_DBERROR                     = 8004E02Bh
CO_E_NOTPOOLED                   = 8004E02Ch
CO_E_NOTCONSTRUCTED              = 8004E02Dh
CO_E_NOSYNCHRONIZATION           = 8004E02Eh
CO_E_ISOLEVELMISMATCH            = 8004E02Fh
SCHED_S_TASK_READY               = 00041300h
SCHED_S_TASK_RUNNING             = 00041301h
SCHED_S_TASK_DISABLED            = 00041302h
SCHED_S_TASK_HAS_NOT_RUN         = 00041303h
SCHED_S_TASK_NO_MORE_RUNS        = 00041304h
SCHED_S_TASK_NOT_SCHEDULED       = 00041305h
SCHED_S_TASK_TERMINATED          = 00041306h
SCHED_S_TASK_NO_VALID_TRIGGERS   = 00041307h
SCHED_S_EVENT_TRIGGER            = 00041308h
SCHED_E_TRIGGER_NOT_FOUND        = 80041309h
SCHED_E_TASK_NOT_READY           = 8004130Ah
SCHED_E_TASK_NOT_RUNNING         = 8004130Bh
SCHED_E_SERVICE_NOT_INSTALLED    = 8004130Ch
SCHED_E_CANNOT_OPEN_TASK         = 8004130Dh
SCHED_E_INVALID_TASK             = 8004130Eh
SCHED_E_ACCOUNT_NAME_NOT_FOUND   = 80041310h
SCHED_E_ACCOUNT_DBASE_CORRUPT    = 80041311h
SCHED_E_NO_SECURITY_SERVICES     = 80041312h
SCHED_E_UNKNOWN_OBJECT_VERSION   = 80041313h
SCHED_E_SERVICE_NOT_RUNNING      = 80041315h
SCHED_E_UNEXPECTEDNODE           = 80041316h
SCHED_E_NAMESPACE                = 80041317h
SCHED_E_INVALIDVALUE             = 80041318h
SCHED_E_MISSINGNODE              = 80041319h
SCHED_E_MALFORMEDXML             = 8004131Ah
SCHED_S_SOME_TRIGGERS_FAILED     = 0004131Bh
SCHED_S_BATCH_LOGON_PROBLEM      = 0004131Ch
SCHED_E_TOO_MANY_NODES           = 8004131Dh
SCHED_E_PAST_END_BOUNDARY        = 8004131Eh
SCHED_E_ALREADY_RUNNING          = 8004131Fh
SCHED_E_USER_NOT_LOGGED_ON       = 80041320h
SCHED_E_INVALID_TASK_HASH        = 80041321h
SCHED_E_SERVICE_NOT_AVAILABLE    = 80041322h
SCHED_E_SERVICE_TOO_BUSY         = 80041323h
SCHED_E_TASK_ATTEMPTED           = 80041324h
SCHED_S_TASK_QUEUED              = 00041325h
SCHED_E_TASK_DISABLED            = 80041326h
SCHED_E_TASK_NOT_V1_COMPAT       = 80041327h
SCHED_E_START_ON_DEMAND          = 80041328h
CO_S_NOTALLINTERFACES            = 00080012h
CO_S_MACHINENAMENOTFOUND         = 00080013h
CO_E_MISSING_DISPLAYNAME         = 80080015h
CO_E_RUNAS_VALUE_MUST_BE_AAA     = 80080016h
CO_E_ELEVATION_DISABLED          = 80080017h
DISP_E_DIVBYZERO                 = 80020012h
DISP_E_BUFFERTOOSMALL            = 80020013h
TYPE_E_FIELDNOTFOUND             = 80028017h
STG_E_PROPSETMISMATCHED          = 800300F0h
STG_E_DOCFILECORRUPT             = 80030109h
STG_E_BADBASEADDRESS             = 80030110h
STG_E_DOCFILETOOLARGE            = 80030111h
STG_E_NOTSIMPLEFORMAT            = 80030112h
STG_E_INCOMPLETE                 = 80030201h
STG_E_TERMINATED                 = 80030202h
STG_S_BLOCK                      = 00030201h
STG_S_RETRYNOW                   = 00030202h
STG_S_MONITORING                 = 00030203h
STG_S_MULTIPLEOPENS              = 00030204h
STG_S_CONSOLIDATIONFAILED        = 00030205h
STG_S_CANNOTCONSOLIDATE          = 00030206h
STG_E_CSS_KEY_NOT_PRESENT        = 80030307h
STG_E_CSS_KEY_NOT_ESTABLISHED    = 80030308h
STG_E_CSS_SCRAMBLED_SECTOR       = 80030309h
STG_E_CSS_REGION_MISMATCH        = 8003030Ah
STG_E_RESETS_EXHAUSTED           = 8003030Bh
RPC_E_VERSION_MISMATCH           = 80010110h
RPC_E_INVALID_HEADER             = 80010111h
RPC_E_INVALID_EXTENSION          = 80010112h
RPC_E_INVALID_IPID               = 80010113h
RPC_E_INVALID_OBJECT             = 80010114h
RPC_S_CALLPENDING                = 80010115h
RPC_S_WAITONTIMER                = 80010116h
RPC_E_CALL_COMPLETE              = 80010117h
RPC_E_UNSECURE_CALL              = 80010118h
RPC_E_TOO_LATE                   = 80010119h
RPC_E_NO_GOOD_SECURITY_PACKAGES  = 8001011Ah
RPC_E_ACCESS_DENIED              = 8001011Bh
RPC_E_REMOTE_DISABLED            = 8001011Ch
RPC_E_INVALID_OBJREF             = 8001011Dh
RPC_E_NO_CONTEXT                 = 8001011Eh
RPC_E_TIMEOUT                    = 8001011Fh
RPC_E_NO_SYNC                    = 80010120h
RPC_E_FULLSIC_REQUIRED           = 80010121h
RPC_E_INVALID_STD_NAME           = 80010122h
CO_E_FAILEDTOIMPERSONATE         = 80010123h
CO_E_FAILEDTOGETSECCTX           = 80010124h
CO_E_FAILEDTOOPENTHREADTOKEN     = 80010125h
CO_E_FAILEDTOGETTOKENINFO        = 80010126h
CO_E_TRUSTEEDOESNTMATCHCLIENT    = 80010127h
CO_E_FAILEDTOQUERYCLIENTBLANKET  = 80010128h
CO_E_FAILEDTOSETDACL             = 80010129h
CO_E_ACCESSCHECKFAILED           = 8001012Ah
CO_E_NETACCESSAPIFAILED          = 8001012Bh
CO_E_WRONGTRUSTEENAMESYNTAX      = 8001012Ch
CO_E_INVALIDSID                  = 8001012Dh
CO_E_CONVERSIONFAILED            = 8001012Eh
CO_E_NOMATCHINGSIDFOUND          = 8001012Fh
CO_E_LOOKUPACCSIDFAILED          = 80010130h
CO_E_NOMATCHINGNAMEFOUND         = 80010131h
CO_E_LOOKUPACCNAMEFAILED         = 80010132h
CO_E_SETSERLHNDLFAILED           = 80010133h
CO_E_FAILEDTOGETWINDIR           = 80010134h
CO_E_PATHTOOLONG                 = 80010135h
CO_E_FAILEDTOGENUUID             = 80010136h
CO_E_FAILEDTOCREATEFILE          = 80010137h
CO_E_FAILEDTOCLOSEHANDLE         = 80010138h
CO_E_EXCEEDSYSACLLIMIT           = 80010139h
CO_E_ACESINWRONGORDER            = 8001013Ah
CO_E_INCOMPATIBLESTREAMVERSION   = 8001013Bh
CO_E_FAILEDTOOPENPROCESSTOKEN    = 8001013Ch
CO_E_DECODEFAILED                = 8001013Dh
CO_E_ACNOTINITIALIZED            = 8001013Fh
CO_E_CANCEL_DISABLED             = 80010140h
ERROR_AUDITING_DISABLED          = 0C0090001h
ERROR_ALL_SIDS_FILTERED          = 0C0090002h
ERROR_BIZRULES_NOT_ENABLED       = 0C0090003h
NTE_BAD_UID                      = 80090001h
NTE_BAD_HASH                     = 80090002h
NTE_BAD_KEY                      = 80090003h
NTE_BAD_LEN                      = 80090004h
NTE_BAD_DATA                     = 80090005h
NTE_BAD_SIGNATURE                = 80090006h
NTE_BAD_VER                      = 80090007h
NTE_BAD_ALGID                    = 80090008h
NTE_BAD_FLAGS                    = 80090009h
NTE_BAD_TYPE                     = 8009000Ah
NTE_BAD_KEY_STATE                = 8009000Bh
NTE_BAD_HASH_STATE               = 8009000Ch
NTE_NO_KEY                       = 8009000Dh
NTE_NO_MEMORY                    = 8009000Eh
NTE_EXISTS                       = 8009000Fh
NTE_PERM                         = 80090010h
NTE_NOT_FOUND                    = 80090011h
NTE_DOUBLE_ENCRYPT               = 80090012h
NTE_BAD_PROVIDER                 = 80090013h
NTE_BAD_PROV_TYPE                = 80090014h
NTE_BAD_PUBLIC_KEY               = 80090015h
NTE_BAD_KEYSET                   = 80090016h
NTE_PROV_TYPE_NOT_DEF            = 80090017h
NTE_PROV_TYPE_ENTRY_BAD          = 80090018h
NTE_KEYSET_NOT_DEF               = 80090019h
NTE_KEYSET_ENTRY_BAD             = 8009001Ah
NTE_PROV_TYPE_NO_MATCH           = 8009001Bh
NTE_SIGNATURE_FILE_BAD           = 8009001Ch
NTE_PROVIDER_DLL_FAIL            = 8009001Dh
NTE_PROV_DLL_NOT_FOUND           = 8009001Eh
NTE_BAD_KEYSET_PARAM             = 8009001Fh
NTE_FAIL                         = 80090020h
NTE_SYS_ERR                      = 80090021h
NTE_SILENT_CONTEXT               = 80090022h
NTE_TOKEN_KEYSET_STORAGE_FULL    = 80090023h
NTE_TEMPORARY_PROFILE            = 80090024h
NTE_FIXEDPARAMETER               = 80090025h
NTE_INVALID_HANDLE               = 80090026h
NTE_INVALID_PARAMETER            = 80090027h
NTE_BUFFER_TOO_SMALL             = 80090028h
NTE_NOT_SUPPORTED                = 80090029h
NTE_NO_MORE_ITEMS                = 8009002Ah
NTE_BUFFERS_OVERLAP              = 8009002Bh
NTE_DECRYPTION_FAILURE           = 8009002Ch
NTE_INTERNAL_ERROR               = 8009002Dh
NTE_UI_REQUIRED                  = 8009002Eh
NTE_HMAC_NOT_SUPPORTED           = 8009002Fh
SEC_E_INSUFFICIENT_MEMORY        = 80090300h
SEC_E_INVALID_HANDLE             = 80090301h
SEC_E_UNSUPPORTED_FUNCTION       = 80090302h
SEC_E_TARGET_UNKNOWN             = 80090303h
SEC_E_INTERNAL_ERROR             = 80090304h
SEC_E_SECPKG_NOT_FOUND           = 80090305h
SEC_E_NOT_OWNER                  = 80090306h
SEC_E_CANNOT_INSTALL             = 80090307h
SEC_E_INVALID_TOKEN              = 80090308h
SEC_E_CANNOT_PACK                = 80090309h
SEC_E_QOP_NOT_SUPPORTED          = 8009030Ah
SEC_E_NO_IMPERSONATION           = 8009030Bh
SEC_E_LOGON_DENIED               = 8009030Ch
SEC_E_UNKNOWN_CREDENTIALS        = 8009030Dh
SEC_E_NO_CREDENTIALS             = 8009030Eh
SEC_E_MESSAGE_ALTERED            = 8009030Fh
SEC_E_OUT_OF_SEQUENCE            = 80090310h
SEC_I_CONTINUE_NEEDED            = 00090312h
SEC_I_COMPLETE_NEEDED            = 00090313h
SEC_I_COMPLETE_AND_CONTINUE      = 00090314h
SEC_I_LOCAL_LOGON                = 00090315h
SEC_E_BAD_PKGID                  = 80090316h
SEC_E_CONTEXT_EXPIRED            = 80090317h
SEC_I_CONTEXT_EXPIRED            = 00090317h
SEC_E_INCOMPLETE_MESSAGE         = 80090318h
SEC_E_INCOMPLETE_CREDENTIALS     = 80090320h
SEC_E_BUFFER_TOO_SMALL           = 80090321h
SEC_I_INCOMPLETE_CREDENTIALS     = 00090320h
SEC_I_RENEGOTIATE                = 00090321h
SEC_E_WRONG_PRINCIPAL            = 80090322h
SEC_I_NO_LSA_CONTEXT             = 00090323h
SEC_E_TIME_SKEW                  = 80090324h
SEC_E_UNTRUSTED_ROOT             = 80090325h
SEC_E_ILLEGAL_MESSAGE            = 80090326h
SEC_E_CERT_UNKNOWN               = 80090327h
SEC_E_CERT_EXPIRED               = 80090328h
SEC_E_ENCRYPT_FAILURE            = 80090329h
SEC_E_DECRYPT_FAILURE            = 80090330h
SEC_E_ALGORITHM_MISMATCH         = 80090331h
SEC_E_SECURITY_QOS_FAILED        = 80090332h
SEC_E_NO_TGT_REPLY               = 80090334h
SEC_E_NO_IP_ADDRESSES            = 80090335h
SEC_E_WRONG_CREDENTIAL_HANDLE    = 80090336h
SEC_E_CRYPTO_SYSTEM_INVALID      = 80090337h
SEC_E_MAX_REFERRALS_EXCEEDED     = 80090338h
SEC_E_MUST_BE_KDC                = 80090339h
SEC_E_TOO_MANY_PRINCIPALS        = 8009033Bh
SEC_E_NO_PA_DATA                 = 8009033Ch
SEC_E_PKINIT_NAME_MISMATCH       = 8009033Dh
SEC_E_SMARTCARD_LOGON_REQUIRED   = 8009033Eh
SEC_E_SHUTDOWN_IN_PROGRESS       = 8009033Fh
SEC_E_KDC_INVALID_REQUEST        = 80090340h
SEC_E_KDC_UNABLE_TO_REFER        = 80090341h
SEC_E_KDC_UNKNOWN_ETYPE          = 80090342h
SEC_E_UNSUPPORTED_PREAUTH        = 80090343h
SEC_E_DELEGATION_REQUIRED        = 80090345h
SEC_E_BAD_BINDINGS               = 80090346h
SEC_E_MULTIPLE_ACCOUNTS          = 80090347h
SEC_E_NO_KERB_KEY                = 80090348h
SEC_E_CERT_WRONG_USAGE           = 80090349h
SEC_E_DOWNGRADE_DETECTED         = 80090350h
SEC_E_SMARTCARD_CERT_REVOKED     = 80090351h
SEC_E_ISSUING_CA_UNTRUSTED       = 80090352h
SEC_E_REVOCATION_OFFLINE_C       = 80090353h
SEC_E_PKINIT_CLIENT_FAILURE      = 80090354h
SEC_E_SMARTCARD_CERT_EXPIRED     = 80090355h
SEC_E_NO_S4U_PROT_SUPPORT        = 80090356h
SEC_E_REVOCATION_OFFLINE_KDC     = 80090358h
SEC_E_ISSUING_CA_UNTRUSTED_KDC   = 80090359h
SEC_E_KDC_CERT_EXPIRED           = 8009035Ah
SEC_E_KDC_CERT_REVOKED           = 8009035Bh
SEC_I_SIGNATURE_NEEDED           = 0009035Ch
SEC_E_INVALID_PARAMETER          = 8009035Dh
SEC_E_DELEGATION_POLICY          = 8009035Eh
SEC_E_POLICY_NLTM_ONLY           = 8009035Fh
SEC_I_NO_RENEGOTIATION           = 00090360h
SEC_E_NO_SPM                     = SEC_E_INTERNAL_ERROR
SEC_E_NOT_SUPPORTED              = SEC_E_UNSUPPORTED_FUNCTION
CRYPT_E_MSG_ERROR                = 80091001h
CRYPT_E_UNKNOWN_ALGO             = 80091002h
CRYPT_E_OID_FORMAT               = 80091003h
CRYPT_E_INVALID_MSG_TYPE         = 80091004h
CRYPT_E_UNEXPECTED_ENCODING      = 80091005h
CRYPT_E_AUTH_ATTR_MISSING        = 80091006h
CRYPT_E_HASH_VALUE               = 80091007h
CRYPT_E_INVALID_INDEX            = 80091008h
CRYPT_E_ALREADY_DECRYPTED        = 80091009h
CRYPT_E_NOT_DECRYPTED            = 8009100Ah
CRYPT_E_RECIPIENT_NOT_FOUND      = 8009100Bh
CRYPT_E_CONTROL_TYPE             = 8009100Ch
CRYPT_E_ISSUER_SERIALNUMBER      = 8009100Dh
CRYPT_E_SIGNER_NOT_FOUND         = 8009100Eh
CRYPT_E_ATTRIBUTES_MISSING       = 8009100Fh
CRYPT_E_STREAM_MSG_NOT_READY     = 80091010h
CRYPT_I_NEW_PROTECTION_REQUIRED  = 00091012h
CRYPT_E_BAD_LEN                  = 80092001h
CRYPT_E_BAD_ENCODE               = 80092002h
CRYPT_E_FILE_ERROR               = 80092003h
CRYPT_E_NOT_FOUND                = 80092004h
CRYPT_E_EXISTS                   = 80092005h
CRYPT_E_NO_PROVIDER              = 80092006h
CRYPT_E_SELF_SIGNED              = 80092007h
CRYPT_E_DELETED_PREV             = 80092008h
CRYPT_E_NO_MATCH                 = 80092009h
CRYPT_E_UNEXPECTED_MSG_TYPE      = 8009200Ah
CRYPT_E_NO_KEY_PROPERTY          = 8009200Bh
CRYPT_E_NO_DECRYPT_CERT          = 8009200Ch
CRYPT_E_BAD_MSG                  = 8009200Dh
CRYPT_E_NO_SIGNER                = 8009200Eh
CRYPT_E_PENDING_CLOSE            = 8009200Fh
CRYPT_E_REVOKED                  = 80092010h
CRYPT_E_NO_REVOCATION_DLL        = 80092011h
CRYPT_E_NO_REVOCATION_CHECK      = 80092012h
CRYPT_E_REVOCATION_OFFLINE       = 80092013h
CRYPT_E_INVALID_NUMERIC_STRING   = 80092020h
CRYPT_E_INVALID_IA5_STRING       = 80092022h
CRYPT_E_INVALID_X500_STRING      = 80092023h
CRYPT_E_NOT_CHAR_STRING          = 80092024h
CRYPT_E_FILERESIZED              = 80092025h
CRYPT_E_SECURITY_SETTINGS        = 80092026h
CRYPT_E_NO_VERIFY_USAGE_DLL      = 80092027h
CRYPT_E_NO_VERIFY_USAGE_CHECK    = 80092028h
CRYPT_E_VERIFY_USAGE_OFFLINE     = 80092029h
CRYPT_E_NOT_IN_CTL               = 8009202Ah
CRYPT_E_NO_TRUSTED_SIGNER        = 8009202Bh
CRYPT_E_MISSING_PUBKEY_PARA      = 8009202Ch
CRYPT_E_OSS_ERROR                = 80093000h
OSS_MORE_BUF                     = 80093001h
OSS_NEGATIVE_UINTEGER            = 80093002h
OSS_PDU_RANGE                    = 80093003h
OSS_MORE_INPUT                   = 80093004h
OSS_DATA_ERROR                   = 80093005h
OSS_BAD_ARG                      = 80093006h
OSS_BAD_VERSION                  = 80093007h
OSS_OUT_MEMORY                   = 80093008h
OSS_PDU_MISMATCH                 = 80093009h
OSS_LIMITED                      = 8009300Ah
OSS_BAD_PTR                      = 8009300Bh
OSS_BAD_TIME                     = 8009300Ch
OSS_INDEFINITE_NOT_SUPPORTED     = 8009300Dh
OSS_MEM_ERROR                    = 8009300Eh
OSS_BAD_TABLE                    = 8009300Fh
OSS_TOO_LONG                     = 80093010h
OSS_CONSTRAINT_VIOLATED          = 80093011h
OSS_FATAL_ERROR                  = 80093012h
OSS_ACCESS_SERIALIZATION_ERROR   = 80093013h
OSS_NULL_TBL                     = 80093014h
OSS_NULL_FCN                     = 80093015h
OSS_BAD_ENCRULES                 = 80093016h
OSS_UNAVAIL_ENCRULES             = 80093017h
OSS_CANT_OPEN_TRACE_WINDOW       = 80093018h
OSS_UNIMPLEMENTED                = 80093019h
OSS_OID_DLL_NOT_LINKED           = 8009301Ah
OSS_CANT_OPEN_TRACE_FILE         = 8009301Bh
OSS_TRACE_FILE_ALREADY_OPEN      = 8009301Ch
OSS_TABLE_MISMATCH               = 8009301Dh
OSS_TYPE_NOT_SUPPORTED           = 8009301Eh
OSS_REAL_DLL_NOT_LINKED          = 8009301Fh
OSS_REAL_CODE_NOT_LINKED         = 80093020h
OSS_OUT_OF_RANGE                 = 80093021h
OSS_COPIER_DLL_NOT_LINKED        = 80093022h
OSS_CONSTRAINT_DLL_NOT_LINKED    = 80093023h
OSS_COMPARATOR_DLL_NOT_LINKED    = 80093024h
OSS_COMPARATOR_CODE_NOT_LINKED   = 80093025h
OSS_MEM_MGR_DLL_NOT_LINKED       = 80093026h
OSS_PDV_DLL_NOT_LINKED           = 80093027h
OSS_PDV_CODE_NOT_LINKED          = 80093028h
OSS_API_DLL_NOT_LINKED           = 80093029h
OSS_BERDER_DLL_NOT_LINKED        = 8009302Ah
OSS_PER_DLL_NOT_LINKED           = 8009302Bh
OSS_OPEN_TYPE_ERROR              = 8009302Ch
OSS_MUTEX_NOT_CREATED            = 8009302Dh
OSS_CANT_CLOSE_TRACE_FILE        = 8009302Eh
CRYPT_E_ASN1_ERROR               = 80093100h
CRYPT_E_ASN1_INTERNAL            = 80093101h
CRYPT_E_ASN1_EOD                 = 80093102h
CRYPT_E_ASN1_CORRUPT             = 80093103h
CRYPT_E_ASN1_LARGE               = 80093104h
CRYPT_E_ASN1_CONSTRAINT          = 80093105h
CRYPT_E_ASN1_MEMORY              = 80093106h
CRYPT_E_ASN1_OVERFLOW            = 80093107h
CRYPT_E_ASN1_BADPDU              = 80093108h
CRYPT_E_ASN1_BADARGS             = 80093109h
CRYPT_E_ASN1_BADREAL             = 8009310Ah
CRYPT_E_ASN1_BADTAG              = 8009310Bh
CRYPT_E_ASN1_CHOICE              = 8009310Ch
CRYPT_E_ASN1_RULE                = 8009310Dh
CRYPT_E_ASN1_UTF8                = 8009310Eh
CRYPT_E_ASN1_PDU_TYPE            = 80093133h
CRYPT_E_ASN1_NYI                 = 80093134h
CRYPT_E_ASN1_EXTENDED            = 80093201h
CRYPT_E_ASN1_NOEOD               = 80093202h
CERTSRV_E_BAD_REQUESTSUBJECT     = 80094001h
CERTSRV_E_NO_REQUEST             = 80094002h
CERTSRV_E_BAD_REQUESTSTATUS      = 80094003h
CERTSRV_E_PROPERTY_EMPTY         = 80094004h
CERTSRV_E_SERVER_SUSPENDED       = 80094006h
CERTSRV_E_ENCODING_LENGTH        = 80094007h
CERTSRV_E_ROLECONFLICT           = 80094008h
CERTSRV_E_RESTRICTEDOFFICER      = 80094009h
CERTSRV_E_NO_VALID_KRA           = 8009400Bh
CERTSRV_E_NO_CAADMIN_DEFINED     = 8009400Dh
CERTSRV_E_NO_DB_SESSIONS         = 8009400Fh
CERTSRV_E_ALIGNMENT_FAULT        = 80094010h
CERTSRV_E_ENROLL_DENIED          = 80094011h
CERTSRV_E_TEMPLATE_DENIED        = 80094012h
CERTSRV_E_UNSUPPORTED_CERT_TYPE  = 80094800h
CERTSRV_E_NO_CERT_TYPE           = 80094801h
CERTSRV_E_TEMPLATE_CONFLICT      = 80094802h
CERTSRV_E_ARCHIVED_KEY_REQUIRED  = 80094804h
CERTSRV_E_SMIME_REQUIRED         = 80094805h
CERTSRV_E_BAD_RENEWAL_SUBJECT    = 80094806h
CERTSRV_E_BAD_TEMPLATE_VERSION   = 80094807h
CERTSRV_E_SIGNATURE_COUNT        = 8009480Ah
CERTSRV_E_SIGNATURE_REJECTED     = 8009480Bh
CERTSRV_E_SUBJECT_UPN_REQUIRED   = 8009480Dh
CERTSRV_E_SUBJECT_DNS_REQUIRED   = 8009480Fh
CERTSRV_E_KEY_LENGTH             = 80094811h
CERTSRV_E_UNKNOWN_CERT_TYPE      = 80094813h
CERTSRV_E_CERT_TYPE_OVERLAP      = 80094814h
CERTSRV_E_TOO_MANY_SIGNATURES    = 80094815h
XENROLL_E_KEY_NOT_EXPORTABLE     = 80095000h
XENROLL_E_CANNOT_ADD_ROOT_CERT   = 80095001h
TRUST_E_SYSTEM_ERROR             = 80096001h
TRUST_E_NO_SIGNER_CERT           = 80096002h
TRUST_E_COUNTER_SIGNER           = 80096003h
TRUST_E_CERT_SIGNATURE           = 80096004h
TRUST_E_TIME_STAMP               = 80096005h
TRUST_E_BAD_DIGEST               = 80096010h
TRUST_E_BASIC_CONSTRAINTS        = 80096019h
TRUST_E_FINANCIAL_CRITERIA       = 8009601Eh
MSSIPOTF_E_OUTOFMEMRANGE         = 80097001h
MSSIPOTF_E_CANTGETOBJECT         = 80097002h
MSSIPOTF_E_NOHEADTABLE           = 80097003h
MSSIPOTF_E_BAD_MAGICNUMBER       = 80097004h
MSSIPOTF_E_BAD_OFFSET_TABLE      = 80097005h
MSSIPOTF_E_TABLE_TAGORDER        = 80097006h
MSSIPOTF_E_TABLE_LONGWORD        = 80097007h
MSSIPOTF_E_TABLES_OVERLAP        = 80097009h
MSSIPOTF_E_TABLE_PADBYTES        = 8009700Ah
MSSIPOTF_E_FILETOOSMALL          = 8009700Bh
MSSIPOTF_E_TABLE_CHECKSUM        = 8009700Ch
MSSIPOTF_E_FILE_CHECKSUM         = 8009700Dh
MSSIPOTF_E_FAILED_POLICY         = 80097010h
MSSIPOTF_E_FAILED_HINTS_CHECK    = 80097011h
MSSIPOTF_E_NOT_OPENTYPE          = 80097012h
MSSIPOTF_E_FILE                  = 80097013h
MSSIPOTF_E_CRYPT                 = 80097014h
MSSIPOTF_E_BADVERSION            = 80097015h
MSSIPOTF_E_DSIG_STRUCTURE        = 80097016h
MSSIPOTF_E_PCONST_CHECK          = 80097017h
MSSIPOTF_E_STRUCTURE             = 80097018h
NTE_OP_OK                        = 0
TRUST_E_PROVIDER_UNKNOWN         = 800B0001h
TRUST_E_ACTION_UNKNOWN           = 800B0002h
TRUST_E_SUBJECT_FORM_UNKNOWN     = 800B0003h
TRUST_E_SUBJECT_NOT_TRUSTED      = 800B0004h
DIGSIG_E_ENCODE                  = 800B0005h
DIGSIG_E_DECODE                  = 800B0006h
DIGSIG_E_EXTENSIBILITY           = 800B0007h
DIGSIG_E_CRYPTO                  = 800B0008h
PERSIST_E_SIZEDEFINITE           = 800B0009h
PERSIST_E_SIZEINDEFINITE         = 800B000Ah
PERSIST_E_NOTSELFSIZING          = 800B000Bh
TRUST_E_NOSIGNATURE              = 800B0100h
CERT_E_EXPIRED                   = 800B0101h
CERT_E_VALIDITYPERIODNESTING     = 800B0102h
CERT_E_ROLE                      = 800B0103h
CERT_E_PATHLENCONST              = 800B0104h
CERT_E_CRITICAL                  = 800B0105h
CERT_E_PURPOSE                   = 800B0106h
CERT_E_ISSUERCHAINING            = 800B0107h
CERT_E_MALFORMED                 = 800B0108h
CERT_E_UNTRUSTEDROOT             = 800B0109h
CERT_E_CHAINING                  = 800B010Ah
TRUST_E_FAIL                     = 800B010Bh
CERT_E_REVOKED                   = 800B010Ch
CERT_E_UNTRUSTEDTESTROOT         = 800B010Dh
CERT_E_REVOCATION_FAILURE        = 800B010Eh
CERT_E_CN_NO_MATCH               = 800B010Fh
CERT_E_WRONG_USAGE               = 800B0110h
TRUST_E_EXPLICIT_DISTRUST        = 800B0111h
CERT_E_UNTRUSTEDCA               = 800B0112h
CERT_E_INVALID_POLICY            = 800B0113h
CERT_E_INVALID_NAME              = 800B0114h
SPAPI_E_EXPECTED_SECTION_NAME    = 800F0000h
SPAPI_E_BAD_SECTION_NAME_LINE    = 800F0001h
SPAPI_E_SECTION_NAME_TOO_LONG    = 800F0002h
SPAPI_E_GENERAL_SYNTAX           = 800F0003h
SPAPI_E_WRONG_INF_STYLE          = 800F0100h
SPAPI_E_SECTION_NOT_FOUND        = 800F0101h
SPAPI_E_LINE_NOT_FOUND           = 800F0102h
SPAPI_E_NO_BACKUP                = 800F0103h
SPAPI_E_NO_ASSOCIATED_CLASS      = 800F0200h
SPAPI_E_CLASS_MISMATCH           = 800F0201h
SPAPI_E_DUPLICATE_FOUND          = 800F0202h
SPAPI_E_NO_DRIVER_SELECTED       = 800F0203h
SPAPI_E_KEY_DOES_NOT_EXIST       = 800F0204h
SPAPI_E_INVALID_DEVINST_NAME     = 800F0205h
SPAPI_E_INVALID_CLASS            = 800F0206h
SPAPI_E_DEVINST_ALREADY_EXISTS   = 800F0207h
SPAPI_E_DEVINFO_NOT_REGISTERED   = 800F0208h
SPAPI_E_INVALID_REG_PROPERTY     = 800F0209h
SPAPI_E_NO_INF                   = 800F020Ah
SPAPI_E_NO_SUCH_DEVINST          = 800F020Bh
SPAPI_E_CANT_LOAD_CLASS_ICON     = 800F020Ch
SPAPI_E_INVALID_CLASS_INSTALLER  = 800F020Dh
SPAPI_E_DI_DO_DEFAULT            = 800F020Eh
SPAPI_E_DI_NOFILECOPY            = 800F020Fh
SPAPI_E_INVALID_HWPROFILE        = 800F0210h
SPAPI_E_NO_DEVICE_SELECTED       = 800F0211h
SPAPI_E_DEVINFO_LIST_LOCKED      = 800F0212h
SPAPI_E_DEVINFO_DATA_LOCKED      = 800F0213h
SPAPI_E_DI_BAD_PATH              = 800F0214h
SPAPI_E_NO_CLASSINSTALL_PARAMS   = 800F0215h
SPAPI_E_FILEQUEUE_LOCKED         = 800F0216h
SPAPI_E_BAD_SERVICE_INSTALLSECT  = 800F0217h
SPAPI_E_NO_CLASS_DRIVER_LIST     = 800F0218h
SPAPI_E_NO_ASSOCIATED_SERVICE    = 800F0219h
SPAPI_E_DEVICE_INTERFACE_ACTIVE  = 800F021Bh
SPAPI_E_NO_SUCH_INTERFACE_CLASS  = 800F021Eh
SPAPI_E_INVALID_MACHINENAME      = 800F0220h
SPAPI_E_REMOTE_COMM_FAILURE      = 800F0221h
SPAPI_E_MACHINE_UNAVAILABLE      = 800F0222h
SPAPI_E_NO_CONFIGMGR_SERVICES    = 800F0223h
SPAPI_E_INVALID_COINSTALLER      = 800F0227h
SPAPI_E_NO_COMPAT_DRIVERS        = 800F0228h
SPAPI_E_NO_DEVICE_ICON           = 800F0229h
SPAPI_E_INVALID_INF_LOGCONFIG    = 800F022Ah
SPAPI_E_DI_DONT_INSTALL          = 800F022Bh
SPAPI_E_INVALID_FILTER_DRIVER    = 800F022Ch
SPAPI_E_NON_WINDOWS_NT_DRIVER    = 800F022Dh
SPAPI_E_NON_WINDOWS_DRIVER       = 800F022Eh
SPAPI_E_NO_CATALOG_FOR_OEM_INF   = 800F022Fh
SPAPI_E_NOT_DISABLEABLE          = 800F0231h
SPAPI_E_CANT_REMOVE_DEVINST      = 800F0232h
SPAPI_E_INVALID_TARGET           = 800F0233h
SPAPI_E_DRIVER_NONNATIVE         = 800F0234h
SPAPI_E_IN_WOW64                 = 800F0235h
SPAPI_E_INCORRECTLY_COPIED_INF   = 800F0237h
SPAPI_E_SCE_DISABLED             = 800F0238h
SPAPI_E_UNKNOWN_EXCEPTION        = 800F0239h
SPAPI_E_PNP_REGISTRY_ERROR       = 800F023Ah
SPAPI_E_INF_IN_USE_BY_DEVICES    = 800F023Dh
SPAPI_E_DI_FUNCTION_OBSOLETE     = 800F023Eh
SPAPI_E_NO_AUTHENTICODE_CATALOG  = 800F023Fh
SPAPI_E_AUTHENTICODE_DISALLOWED  = 800F0240h
SPAPI_E_DRIVER_STORE_ADD_FAILED  = 800F0247h
SPAPI_E_DEVICE_INSTALL_BLOCKED   = 800F0248h
SPAPI_E_DRIVER_INSTALL_BLOCKED   = 800F0249h
SPAPI_E_WRONG_INF_TYPE           = 800F024Ah
SPAPI_E_ERROR_NOT_INSTALLED      = 800F1000h
SCARD_S_SUCCESS                  = NO_ERROR
SCARD_F_INTERNAL_ERROR           = 80100001h
SCARD_E_CANCELLED                = 80100002h
SCARD_E_INVALID_HANDLE           = 80100003h
SCARD_E_INVALID_PARAMETER        = 80100004h
SCARD_E_INVALID_TARGET           = 80100005h
SCARD_E_NO_MEMORY                = 80100006h
SCARD_F_WAITED_TOO_LONG          = 80100007h
SCARD_E_INSUFFICIENT_BUFFER      = 80100008h
SCARD_E_UNKNOWN_READER           = 80100009h
SCARD_E_TIMEOUT                  = 8010000Ah
SCARD_E_SHARING_VIOLATION        = 8010000Bh
SCARD_E_NO_SMARTCARD             = 8010000Ch
SCARD_E_UNKNOWN_CARD             = 8010000Dh
SCARD_E_CANT_DISPOSE             = 8010000Eh
SCARD_E_PROTO_MISMATCH           = 8010000Fh
SCARD_E_NOT_READY                = 80100010h
SCARD_E_INVALID_VALUE            = 80100011h
SCARD_E_SYSTEM_CANCELLED         = 80100012h
SCARD_F_COMM_ERROR               = 80100013h
SCARD_F_UNKNOWN_ERROR            = 80100014h
SCARD_E_INVALID_ATR              = 80100015h
SCARD_E_NOT_TRANSACTED           = 80100016h
SCARD_E_READER_UNAVAILABLE       = 80100017h
SCARD_P_SHUTDOWN                 = 80100018h
SCARD_E_PCI_TOO_SMALL            = 80100019h
SCARD_E_READER_UNSUPPORTED       = 8010001Ah
SCARD_E_DUPLICATE_READER         = 8010001Bh
SCARD_E_CARD_UNSUPPORTED         = 8010001Ch
SCARD_E_NO_SERVICE               = 8010001Dh
SCARD_E_SERVICE_STOPPED          = 8010001Eh
SCARD_E_UNEXPECTED               = 8010001Fh
SCARD_E_ICC_INSTALLATION         = 80100020h
SCARD_E_ICC_CREATEORDER          = 80100021h
SCARD_E_UNSUPPORTED_FEATURE      = 80100022h
SCARD_E_DIR_NOT_FOUND            = 80100023h
SCARD_E_FILE_NOT_FOUND           = 80100024h
SCARD_E_NO_DIR                   = 80100025h
SCARD_E_NO_FILE                  = 80100026h
SCARD_E_NO_ACCESS                = 80100027h
SCARD_E_WRITE_TOO_MANY           = 80100028h
SCARD_E_BAD_SEEK                 = 80100029h
SCARD_E_INVALID_CHV              = 8010002Ah
SCARD_E_UNKNOWN_RES_MNG          = 8010002Bh
SCARD_E_NO_SUCH_CERTIFICATE      = 8010002Ch
SCARD_E_CERTIFICATE_UNAVAILABLE  = 8010002Dh
SCARD_E_NO_READERS_AVAILABLE     = 8010002Eh
SCARD_E_COMM_DATA_LOST           = 8010002Fh
SCARD_E_NO_KEY_CONTAINER         = 80100030h
SCARD_E_SERVER_TOO_BUSY          = 80100031h
SCARD_W_UNSUPPORTED_CARD         = 80100065h
SCARD_W_UNRESPONSIVE_CARD        = 80100066h
SCARD_W_UNPOWERED_CARD           = 80100067h
SCARD_W_RESET_CARD               = 80100068h
SCARD_W_REMOVED_CARD             = 80100069h
SCARD_W_SECURITY_VIOLATION       = 8010006Ah
SCARD_W_WRONG_CHV                = 8010006Bh
SCARD_W_CHV_BLOCKED              = 8010006Ch
SCARD_W_EOF                      = 8010006Dh
SCARD_W_CANCELLED_BY_USER        = 8010006Eh
SCARD_W_CARD_NOT_AUTHENTICATED   = 8010006Fh
SCARD_W_CACHE_ITEM_NOT_FOUND     = 80100070h
SCARD_W_CACHE_ITEM_STALE         = 80100071h
SCARD_W_CACHE_ITEM_TOO_BIG       = 80100072h
COMADMIN_E_OBJECTERRORS          = 80110401h
COMADMIN_E_OBJECTINVALID         = 80110402h
COMADMIN_E_KEYMISSING            = 80110403h
COMADMIN_E_ALREADYINSTALLED      = 80110404h
COMADMIN_E_APP_FILE_WRITEFAIL    = 80110407h
COMADMIN_E_APP_FILE_READFAIL     = 80110408h
COMADMIN_E_APP_FILE_VERSION      = 80110409h
COMADMIN_E_BADPATH               = 8011040Ah
COMADMIN_E_APPLICATIONEXISTS     = 8011040Bh
COMADMIN_E_ROLEEXISTS            = 8011040Ch
COMADMIN_E_CANTCOPYFILE          = 8011040Dh
COMADMIN_E_NOUSER                = 8011040Fh
COMADMIN_E_INVALIDUSERIDS        = 80110410h
COMADMIN_E_NOREGISTRYCLSID       = 80110411h
COMADMIN_E_BADREGISTRYPROGID     = 80110412h
COMADMIN_E_AUTHENTICATIONLEVEL   = 80110413h
COMADMIN_E_USERPASSWDNOTVALID    = 80110414h
COMADMIN_E_CLSIDORIIDMISMATCH    = 80110418h
COMADMIN_E_REMOTEINTERFACE       = 80110419h
COMADMIN_E_DLLREGISTERSERVER     = 8011041Ah
COMADMIN_E_NOSERVERSHARE         = 8011041Bh
COMADMIN_E_DLLLOADFAILED         = 8011041Dh
COMADMIN_E_BADREGISTRYLIBID      = 8011041Eh
COMADMIN_E_APPDIRNOTFOUND        = 8011041Fh
COMADMIN_E_REGISTRARFAILED       = 80110423h
COMADMIN_E_COMPFILE_LOADDLLFAIL  = 80110425h
COMADMIN_E_COMPFILE_GETCLASSOBJ  = 80110426h
COMADMIN_E_COMPFILE_BADTLB       = 80110428h
COMADMIN_E_NOTCHANGEABLE         = 8011042Ah
COMADMIN_E_NOTDELETEABLE         = 8011042Bh
COMADMIN_E_SESSION               = 8011042Ch
COMADMIN_E_COMP_MOVE_LOCKED      = 8011042Dh
COMADMIN_E_COMP_MOVE_BAD_DEST    = 8011042Eh
COMADMIN_E_REGISTERTLB           = 80110430h
COMADMIN_E_SYSTEMAPP             = 80110433h
COMADMIN_E_COMPFILE_NOREGISTRAR  = 80110434h
COMADMIN_E_COREQCOMPINSTALLED    = 80110435h
COMADMIN_E_SERVICENOTINSTALLED   = 80110436h
COMADMIN_E_PROPERTYSAVEFAILED    = 80110437h
COMADMIN_E_OBJECTEXISTS          = 80110438h
COMADMIN_E_COMPONENTEXISTS       = 80110439h
COMADMIN_E_REGFILE_CORRUPT       = 8011043Bh
COMADMIN_E_PROPERTY_OVERFLOW     = 8011043Ch
COMADMIN_E_NOTINREGISTRY         = 8011043Eh
COMADMIN_E_OBJECTNOTPOOLABLE     = 8011043Fh
COMADMIN_E_APPLID_MATCHES_CLSID  = 80110446h
COMADMIN_E_ROLE_DOES_NOT_EXIST   = 80110447h
COMADMIN_E_CAN_NOT_START_APP     = 8011044Bh
COMADMIN_E_BASE_PARTITION_ONLY   = 80110450h
COMADMIN_E_START_APP_DISABLED    = 80110451h
COMADMIN_E_CAT_PARTITION_IN_USE  = 80110459h
COMADMIN_E_REGDB_NOTINITIALIZED  = 80110472h
COMADMIN_E_REGDB_NOTOPEN         = 80110473h
COMADMIN_E_REGDB_SYSTEMERR       = 80110474h
COMADMIN_E_REGDB_ALREADYRUNNING  = 80110475h
COMADMIN_E_MIG_SCHEMANOTFOUND    = 80110481h
COMADMIN_E_CAT_BITNESSMISMATCH   = 80110482h
COMADMIN_E_CAT_WRONGAPPBITNESS   = 80110484h
COMADMIN_E_CAT_SERVERFAULT       = 80110486h
COMQC_E_APPLICATION_NOT_QUEUED   = 80110600h
COMQC_E_NO_QUEUEABLE_INTERFACES  = 80110601h
COMQC_E_NO_IPERSISTSTREAM        = 80110603h
COMQC_E_BAD_MESSAGE              = 80110604h
COMQC_E_UNAUTHENTICATED          = 80110605h
COMQC_E_UNTRUSTED_ENQUEUER       = 80110606h
MSDTC_E_DUPLICATE_RESOURCE       = 80110701h
COMADMIN_E_APP_NOT_RUNNING       = 8011080Ah
COMADMIN_E_INVALID_PARTITION     = 8011080Bh
COMADMIN_E_USER_IN_SET           = 8011080Eh
COMADMIN_E_PROGIDINUSEBYCLSID    = 80110815h
COMADMIN_E_PARTITION_MSI_ONLY    = 80110819h
COMADMIN_E_COMP_MOVE_SOURCE      = 8011081Ch
COMADMIN_E_COMP_MOVE_DEST        = 8011081Dh
COMADMIN_E_COMP_MOVE_PRIVATE     = 8011081Eh
COMADMIN_E_PRIVATE_ACCESSDENIED  = 80110821h
COMADMIN_E_SAFERINVALID          = 80110822h
COMADMIN_E_PARTITIONS_DISABLED   = 80110824h
ERROR_FLT_IO_COMPLETE            = 001F0001h
ERROR_FLT_NO_HANDLER_DEFINED     = 801F0001h
ERROR_FLT_DISALLOW_FAST_IO       = 801F0004h
ERROR_FLT_INVALID_NAME_REQUEST   = 801F0005h
ERROR_FLT_NOT_INITIALIZED        = 801F0007h
ERROR_FLT_FILTER_NOT_READY       = 801F0008h
ERROR_FLT_INTERNAL_ERROR         = 801F000Ah
ERROR_FLT_DELETING_OBJECT        = 801F000Bh
ERROR_FLT_MUST_BE_NONPAGED_POOL  = 801F000Ch
ERROR_FLT_DUPLICATE_ENTRY        = 801F000Dh
ERROR_FLT_CBDQ_DISABLED          = 801F000Eh
ERROR_FLT_DO_NOT_ATTACH          = 801F000Fh
ERROR_FLT_DO_NOT_DETACH          = 801F0010h
ERROR_FLT_FILTER_NOT_FOUND       = 801F0013h
ERROR_FLT_VOLUME_NOT_FOUND       = 801F0014h
ERROR_FLT_INSTANCE_NOT_FOUND     = 801F0015h
ERROR_FLT_NAME_CACHE_MISS        = 801F0018h
ERROR_FLT_NO_DEVICE_OBJECT       = 801F0019h
ERROR_FLT_ALREADY_ENLISTED       = 801F001Bh
ERROR_FLT_NO_WAITER_FOR_REPLY    = 801F0020h
DWM_E_COMPOSITIONDISABLED        = 80263001h
DWM_E_REMOTING_NOT_SUPPORTED     = 80263002h
DWM_E_NOT_QUEUING_PRESENTS       = 80263004h
ERROR_MONITOR_NO_DESCRIPTOR      = 80261001h
ERROR_GRAPHICS_PRESENT_OCCLUDED  = 0C0262006h
ERROR_GRAPHICS_PRESENT_DENIED    = 0C0262007h
ERROR_GRAPHICS_DRIVER_MISMATCH   = 0C0262009h
ERROR_GRAPHICS_NO_VIDEO_MEMORY   = 0C0262100h
ERROR_GRAPHICS_CANT_LOCK_MEMORY  = 0C0262101h
ERROR_GRAPHICS_ALLOCATION_BUSY   = 0C0262102h
ERROR_GRAPHICS_TRY_AGAIN_LATER   = 0C0262104h
ERROR_GRAPHICS_TRY_AGAIN_NOW     = 0C0262105h
ERROR_GRAPHICS_INVALID_VIDPN     = 0C0262303h
ERROR_GRAPHICS_MODE_NOT_PINNED   = 00262307h
ERROR_GRAPHICS_STALE_MODESET     = 0C0262320h
ERROR_GRAPHICS_NO_VIDPNMGR       = 0C0262335h
ERROR_GRAPHICS_NO_ACTIVE_VIDPN   = 0C0262336h
ERROR_GRAPHICS_INVALID_STRIDE    = 0C026233Ch
ERROR_GRAPHICS_DATASET_IS_EMPTY  = 0026234Bh
ERROR_GRAPHICS_START_DEFERRED    = 4026243Ah
ERROR_GRAPHICS_PVP_HFS_FAILED    = 0C0262511h
ERROR_GRAPHICS_OPM_INVALID_SRM   = 0C0262512h
ERROR_GRAPHICS_INVALID_POINTER   = 0C02625E4h
ERROR_GRAPHICS_INTERNAL_ERROR    = 0C02625E7h
TPM_E_ERROR_MASK                 = 80280000h
TPM_E_AUTHFAIL                   = 80280001h
TPM_E_BADINDEX                   = 80280002h
TPM_E_BAD_PARAMETER              = 80280003h
TPM_E_AUDITFAILURE               = 80280004h
TPM_E_CLEAR_DISABLED             = 80280005h
TPM_E_DEACTIVATED                = 80280006h
TPM_E_DISABLED                   = 80280007h
TPM_E_DISABLED_CMD               = 80280008h
TPM_E_FAIL                       = 80280009h
TPM_E_BAD_ORDINAL                = 8028000Ah
TPM_E_INSTALL_DISABLED           = 8028000Bh
TPM_E_INVALID_KEYHANDLE          = 8028000Ch
TPM_E_KEYNOTFOUND                = 8028000Dh
TPM_E_INAPPROPRIATE_ENC          = 8028000Eh
TPM_E_MIGRATEFAIL                = 8028000Fh
TPM_E_INVALID_PCR_INFO           = 80280010h
TPM_E_NOSPACE                    = 80280011h
TPM_E_NOSRK                      = 80280012h
TPM_E_NOTSEALED_BLOB             = 80280013h
TPM_E_OWNER_SET                  = 80280014h
TPM_E_RESOURCES                  = 80280015h
TPM_E_SHORTRANDOM                = 80280016h
TPM_E_SIZE                       = 80280017h
TPM_E_WRONGPCRVAL                = 80280018h
TPM_E_BAD_PARAM_SIZE             = 80280019h
TPM_E_SHA_THREAD                 = 8028001Ah
TPM_E_SHA_ERROR                  = 8028001Bh
TPM_E_FAILEDSELFTEST             = 8028001Ch
TPM_E_AUTH2FAIL                  = 8028001Dh
TPM_E_BADTAG                     = 8028001Eh
TPM_E_IOERROR                    = 8028001Fh
TPM_E_ENCRYPT_ERROR              = 80280020h
TPM_E_DECRYPT_ERROR              = 80280021h
TPM_E_INVALID_AUTHHANDLE         = 80280022h
TPM_E_NO_ENDORSEMENT             = 80280023h
TPM_E_INVALID_KEYUSAGE           = 80280024h
TPM_E_WRONG_ENTITYTYPE           = 80280025h
TPM_E_INVALID_POSTINIT           = 80280026h
TPM_E_INAPPROPRIATE_SIG          = 80280027h
TPM_E_BAD_KEY_PROPERTY           = 80280028h
TPM_E_BAD_MIGRATION              = 80280029h
TPM_E_BAD_SCHEME                 = 8028002Ah
TPM_E_BAD_DATASIZE               = 8028002Bh
TPM_E_BAD_MODE                   = 8028002Ch
TPM_E_BAD_PRESENCE               = 8028002Dh
TPM_E_BAD_VERSION                = 8028002Eh
TPM_E_NO_WRAP_TRANSPORT          = 8028002Fh
TPM_E_AUDITFAIL_UNSUCCESSFUL     = 80280030h
TPM_E_AUDITFAIL_SUCCESSFUL       = 80280031h
TPM_E_NOTRESETABLE               = 80280032h
TPM_E_NOTLOCAL                   = 80280033h
TPM_E_BAD_TYPE                   = 80280034h
TPM_E_INVALID_RESOURCE           = 80280035h
TPM_E_NOTFIPS                    = 80280036h
TPM_E_INVALID_FAMILY             = 80280037h
TPM_E_NO_NV_PERMISSION           = 80280038h
TPM_E_REQUIRES_SIGN              = 80280039h
TPM_E_KEY_NOTSUPPORTED           = 8028003Ah
TPM_E_AUTH_CONFLICT              = 8028003Bh
TPM_E_AREA_LOCKED                = 8028003Ch
TPM_E_BAD_LOCALITY               = 8028003Dh
TPM_E_READ_ONLY                  = 8028003Eh
TPM_E_PER_NOWRITE                = 8028003Fh
TPM_E_FAMILYCOUNT                = 80280040h
TPM_E_WRITE_LOCKED               = 80280041h
TPM_E_BAD_ATTRIBUTES             = 80280042h
TPM_E_INVALID_STRUCTURE          = 80280043h
TPM_E_KEY_OWNER_CONTROL          = 80280044h
TPM_E_BAD_COUNTER                = 80280045h
TPM_E_NOT_FULLWRITE              = 80280046h
TPM_E_CONTEXT_GAP                = 80280047h
TPM_E_MAXNVWRITES                = 80280048h
TPM_E_NOOPERATOR                 = 80280049h
TPM_E_RESOURCEMISSING            = 8028004Ah
TPM_E_DELEGATE_LOCK              = 8028004Bh
TPM_E_DELEGATE_FAMILY            = 8028004Ch
TPM_E_DELEGATE_ADMIN             = 8028004Dh
TPM_E_TRANSPORT_NOTEXCLUSIVE     = 8028004Eh
TPM_E_OWNER_CONTROL              = 8028004Fh
TPM_E_DAA_RESOURCES              = 80280050h
TPM_E_DAA_INPUT_DATA0            = 80280051h
TPM_E_DAA_INPUT_DATA1            = 80280052h
TPM_E_DAA_ISSUER_SETTINGS        = 80280053h
TPM_E_DAA_TPM_SETTINGS           = 80280054h
TPM_E_DAA_STAGE                  = 80280055h
TPM_E_DAA_ISSUER_VALIDITY        = 80280056h
TPM_E_DAA_WRONG_W                = 80280057h
TPM_E_BAD_HANDLE                 = 80280058h
TPM_E_BAD_DELEGATE               = 80280059h
TPM_E_BADCONTEXT                 = 8028005Ah
TPM_E_TOOMANYCONTEXTS            = 8028005Bh
TPM_E_MA_TICKET_SIGNATURE        = 8028005Ch
TPM_E_MA_DESTINATION             = 8028005Dh
TPM_E_MA_SOURCE                  = 8028005Eh
TPM_E_MA_AUTHORITY               = 8028005Fh
TPM_E_PERMANENTEK                = 80280061h
TPM_E_BAD_SIGNATURE              = 80280062h
TPM_E_NOCONTEXTSPACE             = 80280063h
TPM_E_COMMAND_BLOCKED            = 80280400h
TPM_E_INVALID_HANDLE             = 80280401h
TPM_E_DUPLICATE_VHANDLE          = 80280402h
TPM_E_EMBEDDED_COMMAND_BLOCKED   = 80280403h
TPM_E_RETRY                      = 80280800h
TPM_E_NEEDS_SELFTEST             = 80280801h
TPM_E_DOING_SELFTEST             = 80280802h
TPM_E_DEFEND_LOCK_RUNNING        = 80280803h
TBS_E_INTERNAL_ERROR             = 80284001h
TBS_E_BAD_PARAMETER              = 80284002h
TBS_E_INVALID_OUTPUT_POINTER     = 80284003h
TBS_E_INVALID_CONTEXT            = 80284004h
TBS_E_INSUFFICIENT_BUFFER        = 80284005h
TBS_E_IOERROR                    = 80284006h
TBS_E_INVALID_CONTEXT_PARAM      = 80284007h
TBS_E_SERVICE_NOT_RUNNING        = 80284008h
TBS_E_TOO_MANY_TBS_CONTEXTS      = 80284009h
TBS_E_TOO_MANY_RESOURCES         = 8028400Ah
TBS_E_SERVICE_START_PENDING      = 8028400Bh
TBS_E_PPI_NOT_SUPPORTED          = 8028400Ch
TBS_E_COMMAND_CANCELED           = 8028400Dh
TBS_E_BUFFER_TOO_LARGE           = 8028400Eh
TBS_E_TPM_NOT_FOUND              = 8028400Fh
TBS_E_SERVICE_DISABLED           = 80284010h
TPMAPI_E_INVALID_STATE           = 80290100h
TPMAPI_E_NOT_ENOUGH_DATA         = 80290101h
TPMAPI_E_TOO_MUCH_DATA           = 80290102h
TPMAPI_E_INVALID_OUTPUT_POINTER  = 80290103h
TPMAPI_E_INVALID_PARAMETER       = 80290104h
TPMAPI_E_OUT_OF_MEMORY           = 80290105h
TPMAPI_E_BUFFER_TOO_SMALL        = 80290106h
TPMAPI_E_INTERNAL_ERROR          = 80290107h
TPMAPI_E_ACCESS_DENIED           = 80290108h
TPMAPI_E_AUTHORIZATION_FAILED    = 80290109h
TPMAPI_E_INVALID_CONTEXT_HANDLE  = 8029010Ah
TPMAPI_E_TPM_COMMAND_ERROR       = 8029010Ch
TPMAPI_E_MESSAGE_TOO_LARGE       = 8029010Dh
TPMAPI_E_INVALID_ENCODING        = 8029010Eh
TPMAPI_E_INVALID_KEY_SIZE        = 8029010Fh
TPMAPI_E_ENCRYPTION_FAILED       = 80290110h
TPMAPI_E_INVALID_KEY_PARAMS      = 80290111h
TPMAPI_E_INVALID_PCR_INDEX       = 80290113h
TPMAPI_E_INVALID_DELEGATE_BLOB   = 80290114h
TPMAPI_E_INVALID_CONTEXT_PARAMS  = 80290115h
TPMAPI_E_INVALID_KEY_BLOB        = 80290116h
TPMAPI_E_INVALID_PCR_DATA        = 80290117h
TPMAPI_E_INVALID_OWNER_AUTH      = 80290118h
TPMAPI_E_FIPS_RNG_CHECK_FAILED   = 80290119h
TBSIMP_E_BUFFER_TOO_SMALL        = 80290200h
TBSIMP_E_CLEANUP_FAILED          = 80290201h
TBSIMP_E_INVALID_CONTEXT_HANDLE  = 80290202h
TBSIMP_E_INVALID_CONTEXT_PARAM   = 80290203h
TBSIMP_E_TPM_ERROR               = 80290204h
TBSIMP_E_HASH_BAD_KEY            = 80290205h
TBSIMP_E_DUPLICATE_VHANDLE       = 80290206h
TBSIMP_E_INVALID_OUTPUT_POINTER  = 80290207h
TBSIMP_E_INVALID_PARAMETER       = 80290208h
TBSIMP_E_RPC_INIT_FAILED         = 80290209h
TBSIMP_E_SCHEDULER_NOT_RUNNING   = 8029020Ah
TBSIMP_E_COMMAND_CANCELED        = 8029020Bh
TBSIMP_E_OUT_OF_MEMORY           = 8029020Ch
TBSIMP_E_LIST_NO_MORE_ITEMS      = 8029020Dh
TBSIMP_E_LIST_NOT_FOUND          = 8029020Eh
TBSIMP_E_NOT_ENOUGH_SPACE        = 8029020Fh
TBSIMP_E_COMMAND_FAILED          = 80290211h
TBSIMP_E_UNKNOWN_ORDINAL         = 80290212h
TBSIMP_E_RESOURCE_EXPIRED        = 80290213h
TBSIMP_E_INVALID_RESOURCE        = 80290214h
TBSIMP_E_NOTHING_TO_UNLOAD       = 80290215h
TBSIMP_E_HASH_TABLE_FULL         = 80290216h
TBSIMP_E_TOO_MANY_TBS_CONTEXTS   = 80290217h
TBSIMP_E_TOO_MANY_RESOURCES      = 80290218h
TBSIMP_E_PPI_NOT_SUPPORTED       = 80290219h
TBSIMP_E_TPM_INCOMPATIBLE        = 8029021Ah
TPM_E_PPI_ACPI_FAILURE           = 80290300h
TPM_E_PPI_USER_ABORT             = 80290301h
TPM_E_PPI_BIOS_FAILURE           = 80290302h
TPM_E_PPI_NOT_SUPPORTED          = 80290303h
PLA_E_DCS_NOT_FOUND              = 80300002h
PLA_E_DCS_IN_USE                 = 803000AAh
PLA_E_TOO_MANY_FOLDERS           = 80300045h
PLA_E_NO_MIN_DISK                = 80300070h
PLA_E_DCS_ALREADY_EXISTS         = 803000B7h
PLA_S_PROPERTY_IGNORED           = 00300100h
PLA_E_PROPERTY_CONFLICT          = 80300101h
PLA_E_DCS_SINGLETON_REQUIRED     = 80300102h
PLA_E_CREDENTIALS_REQUIRED       = 80300103h
PLA_E_DCS_NOT_RUNNING            = 80300104h
PLA_E_CONFLICT_INCL_EXCL_API     = 80300105h
PLA_E_NETWORK_EXE_NOT_VALID      = 80300106h
PLA_E_EXE_ALREADY_CONFIGURED     = 80300107h
PLA_E_EXE_PATH_NOT_VALID         = 80300108h
PLA_E_DC_ALREADY_EXISTS          = 80300109h
PLA_E_DCS_START_WAIT_TIMEOUT     = 8030010Ah
PLA_E_DC_START_WAIT_TIMEOUT      = 8030010Bh
PLA_E_REPORT_WAIT_TIMEOUT        = 8030010Ch
PLA_E_NO_DUPLICATES              = 8030010Dh
PLA_E_EXE_FULL_PATH_REQUIRED     = 8030010Eh
PLA_E_INVALID_SESSION_NAME       = 8030010Fh
PLA_E_PLA_CHANNEL_NOT_ENABLED    = 80300110h
PLA_E_RULES_MANAGER_FAILED       = 80300112h
PLA_E_CABAPI_FAILURE             = 80300113h
FVE_E_LOCKED_VOLUME              = 80310000h
FVE_E_NOT_ENCRYPTED              = 80310001h
FVE_E_NO_TPM_BIOS                = 80310002h
FVE_E_NO_MBR_METRIC              = 80310003h
FVE_E_NO_BOOTSECTOR_METRIC       = 80310004h
FVE_E_NO_BOOTMGR_METRIC          = 80310005h
FVE_E_WRONG_BOOTMGR              = 80310006h
FVE_E_SECURE_KEY_REQUIRED        = 80310007h
FVE_E_NOT_ACTIVATED              = 80310008h
FVE_E_ACTION_NOT_ALLOWED         = 80310009h
FVE_E_AD_SCHEMA_NOT_INSTALLED    = 8031000Ah
FVE_E_AD_INVALID_DATATYPE        = 8031000Bh
FVE_E_AD_INVALID_DATASIZE        = 8031000Ch
FVE_E_AD_NO_VALUES               = 8031000Dh
FVE_E_AD_ATTR_NOT_SET            = 8031000Eh
FVE_E_AD_GUID_NOT_FOUND          = 8031000Fh
FVE_E_BAD_INFORMATION            = 80310010h
FVE_E_TOO_SMALL                  = 80310011h
FVE_E_SYSTEM_VOLUME              = 80310012h
FVE_E_FAILED_WRONG_FS            = 80310013h
FVE_E_FAILED_BAD_FS              = 80310014h
FVE_E_NOT_SUPPORTED              = 80310015h
FVE_E_BAD_DATA                   = 80310016h
FVE_E_VOLUME_NOT_BOUND           = 80310017h
FVE_E_TPM_NOT_OWNED              = 80310018h
FVE_E_NOT_DATA_VOLUME            = 80310019h
FVE_E_AD_INSUFFICIENT_BUFFER     = 8031001Ah
FVE_E_CONV_READ                  = 8031001Bh
FVE_E_CONV_WRITE                 = 8031001Ch
FVE_E_KEY_REQUIRED               = 8031001Dh
FVE_E_CLUSTERING_NOT_SUPPORTED   = 8031001Eh
FVE_E_VOLUME_BOUND_ALREADY       = 8031001Fh
FVE_E_OS_NOT_PROTECTED           = 80310020h
FVE_E_PROTECTION_DISABLED        = 80310021h
FVE_E_RECOVERY_KEY_REQUIRED      = 80310022h
FVE_E_FOREIGN_VOLUME             = 80310023h
FVE_E_OVERLAPPED_UPDATE          = 80310024h
FVE_E_TPM_SRK_AUTH_NOT_ZERO      = 80310025h
FVE_E_FAILED_SECTOR_SIZE         = 80310026h
FVE_E_FAILED_AUTHENTICATION      = 80310027h
FVE_E_NOT_OS_VOLUME              = 80310028h
FVE_E_AUTOUNLOCK_ENABLED         = 80310029h
FVE_E_WRONG_BOOTSECTOR           = 8031002Ah
FVE_E_WRONG_SYSTEM_FS            = 8031002Bh
FVE_E_POLICY_PASSWORD_REQUIRED   = 8031002Ch
FVE_E_CANNOT_SET_FVEK_ENCRYPTED  = 8031002Dh
FVE_E_CANNOT_ENCRYPT_NO_KEY      = 8031002Eh
FVE_E_BOOTABLE_CDDVD             = 80310030h
FVE_E_PROTECTOR_EXISTS           = 80310031h
FVE_E_RELATIVE_PATH              = 80310032h
FVE_E_PROTECTOR_NOT_FOUND        = 80310033h
FVE_E_INVALID_KEY_FORMAT         = 80310034h
FVE_E_INVALID_PASSWORD_FORMAT    = 80310035h
FVE_E_FIPS_RNG_CHECK_FAILED      = 80310036h
FVE_E_NOT_DECRYPTED              = 80310039h
FVE_E_INVALID_PROTECTOR_TYPE     = 8031003Ah
FVE_E_NO_PROTECTORS_TO_TEST      = 8031003Bh
FVE_E_KEYFILE_NOT_FOUND          = 8031003Ch
FVE_E_KEYFILE_INVALID            = 8031003Dh
FVE_E_KEYFILE_NO_VMK             = 8031003Eh
FVE_E_TPM_DISABLED               = 8031003Fh
FVE_E_NOT_ALLOWED_IN_SAFE_MODE   = 80310040h
FVE_E_TPM_INVALID_PCR            = 80310041h
FVE_E_TPM_NO_VMK                 = 80310042h
FVE_E_PIN_INVALID                = 80310043h
FVE_E_AUTH_INVALID_APPLICATION   = 80310044h
FVE_E_AUTH_INVALID_CONFIG        = 80310045h
FVE_E_FS_NOT_EXTENDED            = 80310047h
FVE_E_NO_LICENSE                 = 80310049h
FVE_E_NOT_ON_STACK               = 8031004Ah
FVE_E_FS_MOUNTED                 = 8031004Bh
FVE_E_TOKEN_NOT_IMPERSONATED     = 8031004Ch
FVE_E_DRY_RUN_FAILED             = 8031004Dh
FVE_E_REBOOT_REQUIRED            = 8031004Eh
FVE_E_DEBUGGER_ENABLED           = 8031004Fh
FVE_E_RAW_ACCESS                 = 80310050h
FVE_E_RAW_BLOCKED                = 80310051h
FVE_E_NOT_ALLOWED_IN_VERSION     = 80310053h
FWP_E_CALLOUT_NOT_FOUND          = 80320001h
FWP_E_CONDITION_NOT_FOUND        = 80320002h
FWP_E_FILTER_NOT_FOUND           = 80320003h
FWP_E_LAYER_NOT_FOUND            = 80320004h
FWP_E_PROVIDER_NOT_FOUND         = 80320005h
FWP_E_SUBLAYER_NOT_FOUND         = 80320007h
FWP_E_NOT_FOUND                  = 80320008h
FWP_E_ALREADY_EXISTS             = 80320009h
FWP_E_IN_USE                     = 8032000Ah
FWP_E_WRONG_SESSION              = 8032000Ch
FWP_E_NO_TXN_IN_PROGRESS         = 8032000Dh
FWP_E_TXN_IN_PROGRESS            = 8032000Eh
FWP_E_TXN_ABORTED                = 8032000Fh
FWP_E_SESSION_ABORTED            = 80320010h
FWP_E_INCOMPATIBLE_TXN           = 80320011h
FWP_E_TIMEOUT                    = 80320012h
FWP_E_NET_EVENTS_DISABLED        = 80320013h
FWP_E_INCOMPATIBLE_LAYER         = 80320014h
FWP_E_KM_CLIENTS_ONLY            = 80320015h
FWP_E_LIFETIME_MISMATCH          = 80320016h
FWP_E_BUILTIN_OBJECT             = 80320017h
FWP_E_TOO_MANY_CALLOUTS          = 80320018h
FWP_E_NOTIFICATION_DROPPED       = 80320019h
FWP_E_TRAFFIC_MISMATCH           = 8032001Ah
FWP_E_INCOMPATIBLE_SA_STATE      = 8032001Bh
FWP_E_NULL_POINTER               = 8032001Ch
FWP_E_INVALID_ENUMERATOR         = 8032001Dh
FWP_E_INVALID_FLAGS              = 8032001Eh
FWP_E_INVALID_NET_MASK           = 8032001Fh
FWP_E_INVALID_RANGE              = 80320020h
FWP_E_INVALID_INTERVAL           = 80320021h
FWP_E_ZERO_LENGTH_ARRAY          = 80320022h
FWP_E_NULL_DISPLAY_NAME          = 80320023h
FWP_E_INVALID_ACTION_TYPE        = 80320024h
FWP_E_INVALID_WEIGHT             = 80320025h
FWP_E_MATCH_TYPE_MISMATCH        = 80320026h
FWP_E_TYPE_MISMATCH              = 80320027h
FWP_E_OUT_OF_BOUNDS              = 80320028h
FWP_E_RESERVED                   = 80320029h
FWP_E_DUPLICATE_CONDITION        = 8032002Ah
FWP_E_DUPLICATE_KEYMOD           = 8032002Bh
FWP_E_INCOMPATIBLE_AUTH_METHOD   = 80320030h
FWP_E_INCOMPATIBLE_DH_GROUP      = 80320031h
FWP_E_EM_NOT_SUPPORTED           = 80320032h
FWP_E_NEVER_MATCH                = 80320033h
FWP_E_PROVIDER_CONTEXT_MISMATCH  = 80320034h
FWP_E_INVALID_PARAMETER          = 80320035h
FWP_E_TOO_MANY_SUBLAYERS         = 80320036h
FWP_E_INVALID_AUTH_TRANSFORM     = 80320038h
FWP_E_INVALID_CIPHER_TRANSFORM   = 80320039h
ERROR_NDIS_INTERFACE_CLOSING     = 80340002h
ERROR_NDIS_BAD_VERSION           = 80340004h
ERROR_NDIS_BAD_CHARACTERISTICS   = 80340005h
ERROR_NDIS_ADAPTER_NOT_FOUND     = 80340006h
ERROR_NDIS_OPEN_FAILED           = 80340007h
ERROR_NDIS_DEVICE_FAILED         = 80340008h
ERROR_NDIS_MULTICAST_FULL        = 80340009h
ERROR_NDIS_MULTICAST_EXISTS      = 8034000Ah
ERROR_NDIS_MULTICAST_NOT_FOUND   = 8034000Bh
ERROR_NDIS_REQUEST_ABORTED       = 8034000Ch
ERROR_NDIS_RESET_IN_PROGRESS     = 8034000Dh
ERROR_NDIS_NOT_SUPPORTED         = 803400BBh
ERROR_NDIS_INVALID_PACKET        = 8034000Fh
ERROR_NDIS_ADAPTER_NOT_READY     = 80340011h
ERROR_NDIS_INVALID_LENGTH        = 80340014h
ERROR_NDIS_INVALID_DATA          = 80340015h
ERROR_NDIS_BUFFER_TOO_SHORT      = 80340016h
ERROR_NDIS_INVALID_OID           = 80340017h
ERROR_NDIS_ADAPTER_REMOVED       = 80340018h
ERROR_NDIS_UNSUPPORTED_MEDIA     = 80340019h
ERROR_NDIS_GROUP_ADDRESS_IN_USE  = 8034001Ah
ERROR_NDIS_FILE_NOT_FOUND        = 8034001Bh
ERROR_NDIS_ERROR_READING_FILE    = 8034001Ch
ERROR_NDIS_ALREADY_MAPPED        = 8034001Dh
ERROR_NDIS_RESOURCE_CONFLICT     = 8034001Eh
ERROR_NDIS_MEDIA_DISCONNECTED    = 8034001Fh
ERROR_NDIS_INVALID_ADDRESS       = 80340022h
ERROR_NDIS_INVALID_DEVICE_REQUEST = 80340010h
ERROR_NDIS_PAUSED                = 8034002Ah
ERROR_NDIS_INTERFACE_NOT_FOUND   = 8034002Bh
ERROR_NDIS_UNSUPPORTED_REVISION  = 8034002Ch
ERROR_NDIS_INVALID_PORT          = 8034002Dh
ERROR_NDIS_INVALID_PORT_STATE    = 8034002Eh
ERROR_NDIS_LOW_POWER_STATE       = 8034002Fh
ERROR_NDIS_DOT11_AUTO_CONFIG_ENABLED = 80342000h
ERROR_NDIS_DOT11_MEDIA_IN_USE    = 80342001h
ERROR_NDIS_DOT11_POWER_STATE_INVALID = 80342002h
ERROR_NDIS_INDICATION_REQUIRED   = 00340001h

;;;; end winerror

;;;; wincrypt

ALG_CLASS_ANY                    = 0
ALG_TYPE_ANY                     = 0
ALG_SID_ANY                      = 0
ALG_SID_RSA_ANY                  = 0
ALG_SID_RSA_PKCS                 = 1
ALG_SID_RSA_MSATWORK             = 2
ALG_SID_RSA_ENTRUST              = 3
ALG_SID_RSA_PGP                  = 4
ALG_SID_DSS_ANY                  = 0
ALG_SID_DSS_PKCS                 = 1
ALG_SID_DSS_DMS                  = 2
ALG_SID_DES                      = 1
ALG_SID_3DES                     = 3
ALG_SID_DESX                     = 4
ALG_SID_IDEA                     = 5
ALG_SID_CAST                     = 6
ALG_SID_SAFERSK64                = 7
ALG_SID_SAFERSK128               = 8
ALG_SID_3DES_112                 = 9
ALG_SID_CYLINK_MEK               = 12
ALG_SID_RC5                      = 13
ALG_SID_AES_128                  = 14
ALG_SID_AES_192                  = 15
ALG_SID_AES_256                  = 16
ALG_SID_AES                      = 17
ALG_SID_SKIPJACK                 = 10
ALG_SID_TEK                      = 11
CRYPT_MODE_CBCI                  = 6
CRYPT_MODE_CFBP                  = 7
CRYPT_MODE_OFBP                  = 8
CRYPT_MODE_CBCOFM                = 9
CRYPT_MODE_CBCOFMI               = 10
ALG_SID_RC2                      = 2
ALG_SID_RC4                      = 1
ALG_SID_SEAL                     = 2
ALG_SID_DH_SANDF                 = 1
ALG_SID_DH_EPHEM                 = 2
ALG_SID_AGREED_KEY_ANY           = 3
ALG_SID_KEA                      = 4
ALG_SID_MD2                      = 1
ALG_SID_MD4                      = 2
ALG_SID_MD5                      = 3
ALG_SID_SHA                      = 4
ALG_SID_SHA1                     = 4
ALG_SID_MAC                      = 5
ALG_SID_RIPEMD                   = 6
ALG_SID_RIPEMD160                = 7
ALG_SID_SSL3SHAMD5               = 8
ALG_SID_HMAC                     = 9
ALG_SID_TLS1PRF                  = 10
ALG_SID_HASH_REPLACE_OWF         = 11
ALG_SID_SHA_256                  = 12
ALG_SID_SHA_384                  = 13
ALG_SID_SHA_512                  = 14
ALG_SID_SSL3_MASTER              = 1
ALG_SID_SCHANNEL_MASTER_HASH     = 2
ALG_SID_SCHANNEL_MAC_KEY         = 3
ALG_SID_PCT1_MASTER              = 4
ALG_SID_SSL2_MASTER              = 5
ALG_SID_TLS1_MASTER              = 6
ALG_SID_SCHANNEL_ENC_KEY         = 7
ALG_SID_EXAMPLE                  = 80
ALG_CLASS_SIGNATURE              = 1 shl 13
ALG_CLASS_MSG_ENCRYPT            = 2 shl 13
ALG_CLASS_DATA_ENCRYPT           = 3 shl 13
ALG_CLASS_HASH                   = 4 shl 13
ALG_CLASS_KEY_EXCHANGE           = 5 shl 13
ALG_TYPE_DSS                     = 1 shl 9
ALG_TYPE_RSA                     = 2 shl 9
ALG_TYPE_BLOCK                   = 3 shl 9
ALG_TYPE_STREAM                  = 4 shl 9
ALG_TYPE_DH                      = 5 shl 9
ALG_TYPE_SECURECHANNEL           = 6 shl 9
CALG_MD2                         = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_MD2)
CALG_MD4                         = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_MD4)
CALG_MD5                         = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_MD5)
CALG_SHA                         = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_SHA)
CALG_SHA1                        = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_SHA1)
CALG_MAC                         = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_MAC)
CALG_RSA_SIGN                    = (ALG_CLASS_SIGNATURE or ALG_TYPE_RSA or ALG_SID_RSA_ANY)
CALG_DSS_SIGN                    = (ALG_CLASS_SIGNATURE or ALG_TYPE_DSS or ALG_SID_DSS_ANY)
CALG_NO_SIGN                     = (ALG_CLASS_SIGNATURE or ALG_TYPE_ANY or ALG_SID_ANY)
CALG_RSA_KEYX                    = (ALG_CLASS_KEY_EXCHANGE or ALG_TYPE_RSA or ALG_SID_RSA_ANY)
CALG_DES                         = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_DES)
CALG_3DES_112                    = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_3DES_112)
CALG_3DES                        = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_3DES)
CALG_DESX                        = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_DESX)
CALG_RC2                         = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_RC2)
CALG_RC4                         = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_STREAM or ALG_SID_RC4)
CALG_SEAL                        = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_STREAM or ALG_SID_SEAL)
CALG_DH_SF                       = (ALG_CLASS_KEY_EXCHANGE or ALG_TYPE_DH or ALG_SID_DH_SANDF)
CALG_DH_EPHEM                    = (ALG_CLASS_KEY_EXCHANGE or ALG_TYPE_DH or ALG_SID_DH_EPHEM)
CALG_AGREEDKEY_ANY               = (ALG_CLASS_KEY_EXCHANGE or ALG_TYPE_DH or ALG_SID_AGREED_KEY_ANY)
CALG_KEA_KEYX                    = (ALG_CLASS_KEY_EXCHANGE or ALG_TYPE_DH or ALG_SID_KEA)
CALG_HUGHES_MD5                  = (ALG_CLASS_KEY_EXCHANGE or ALG_TYPE_ANY or ALG_SID_MD5)
CALG_SKIPJACK                    = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_SKIPJACK)
CALG_TEK                         = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_TEK)
CALG_CYLINK_MEK                  = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_CYLINK_MEK)
CALG_SSL3_SHAMD5                 = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_SSL3SHAMD5)
CALG_SSL3_MASTER                 = (ALG_CLASS_MSG_ENCRYPT or ALG_TYPE_SECURECHANNEL or ALG_SID_SSL3_MASTER)
CALG_SCHANNEL_MASTER_HASH        = (ALG_CLASS_MSG_ENCRYPT or ALG_TYPE_SECURECHANNEL or ALG_SID_SCHANNEL_MASTER_HASH)
CALG_SCHANNEL_MAC_KEY            = (ALG_CLASS_MSG_ENCRYPT or ALG_TYPE_SECURECHANNEL or ALG_SID_SCHANNEL_MAC_KEY)
CALG_SCHANNEL_ENC_KEY            = (ALG_CLASS_MSG_ENCRYPT or ALG_TYPE_SECURECHANNEL or ALG_SID_SCHANNEL_ENC_KEY)
CALG_PCT1_MASTER                 = (ALG_CLASS_MSG_ENCRYPT or ALG_TYPE_SECURECHANNEL or ALG_SID_PCT1_MASTER)
CALG_SSL2_MASTER                 = (ALG_CLASS_MSG_ENCRYPT or ALG_TYPE_SECURECHANNEL or ALG_SID_SSL2_MASTER)
CALG_TLS1_MASTER                 = (ALG_CLASS_MSG_ENCRYPT or ALG_TYPE_SECURECHANNEL or ALG_SID_TLS1_MASTER)
CALG_RC5                         = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_RC5)
CALG_HMAC                        = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_HMAC)
CALG_TLS1PRF                     = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_TLS1PRF)
CALG_HASH_REPLACE_OWF            = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_HASH_REPLACE_OWF)
CALG_AES_128                     = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_AES_128)
CALG_AES_192                     = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_AES_192)
CALG_AES_256                     = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_AES_256)
CALG_AES                         = (ALG_CLASS_DATA_ENCRYPT or ALG_TYPE_BLOCK or ALG_SID_AES)
CALG_SHA_256                     = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_SHA_256)
CALG_SHA_384                     = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_SHA_384)
CALG_SHA_512                     = (ALG_CLASS_HASH or ALG_TYPE_ANY or ALG_SID_SHA_512)
CRYPT_VERIFYCONTEXT              = 0F0000000h
CRYPT_NEWKEYSET                  = 00000008h
CRYPT_DELETEKEYSET               = 00000010h
CRYPT_MACHINE_KEYSET             = 00000020h
CRYPT_SILENT                     = 00000040h
CRYPT_EXPORTABLE                 = 00000001h
CRYPT_USER_PROTECTED             = 00000002h
CRYPT_CREATE_SALT                = 00000004h
CRYPT_UPDATE_KEY                 = 00000008h
CRYPT_NO_SALT                    = 00000010h
CRYPT_PREGEN                     = 00000040h
CRYPT_RECIPIENT                  = 00000010h
CRYPT_INITIATOR                  = 00000040h
CRYPT_ONLINE                     = 00000080h
CRYPT_SF                         = 00000100h
CRYPT_CREATE_IV                  = 00000200h
CRYPT_KEK                        = 00000400h
CRYPT_DATA_KEY                   = 00000800h
CRYPT_VOLATILE                   = 00001000h
CRYPT_SGCKEY                     = 00002000h
CRYPT_ARCHIVABLE                 = 00004000h
RSA1024BIT_KEY                   = 04000000h
CRYPT_SERVER                     = 00000400h
KEY_LENGTH_MASK                  = 0FFFF0000h
CRYPT_Y_ONLY                     = 00000001h
CRYPT_SSL2_FALLBACK              = 00000002h
CRYPT_DESTROYKEY                 = 00000004h
CRYPT_OAEP                       = 00000040h
CRYPT_BLOB_VER3                  = 00000080h
CRYPT_IPSEC_HMAC_KEY             = 00000100h
CRYPT_DECRYPT_RSA_NO_PADDING_CHECK = 00000020h
CRYPT_SECRETDIGEST               = 00000001h
CRYPT_OWF_REPL_LM_HASH           = 00000001h
CRYPT_LITTLE_ENDIAN              = 00000001h
CRYPT_NOHASHOID                  = 00000001h
CRYPT_TYPE2_FORMAT               = 00000002h
CRYPT_X931_FORMAT                = 00000004h
CRYPT_MACHINE_DEFAULT            = 00000001h
CRYPT_USER_DEFAULT               = 00000002h
CRYPT_DELETE_DEFAULT             = 00000004h
SIMPLEBLOB                       = 1h
PUBLICKEYBLOB                    = 6h
PRIVATEKEYBLOB                   = 7h
PLAINTEXTKEYBLOB                 = 8h
OPAQUEKEYBLOB                    = 9h
PUBLICKEYBLOBEX                  = 0Ah
SYMMETRICWRAPKEYBLOB             = 0Bh
AT_KEYEXCHANGE                   = 1
AT_SIGNATURE                     = 2
CRYPT_USERDATA                   = 1
KP_IV                            = 1
KP_SALT                          = 2
KP_PADDING                       = 3
KP_MODE                          = 4
KP_MODE_BITS                     = 5
KP_PERMISSIONS                   = 6
KP_ALGID                         = 7
KP_BLOCKLEN                      = 8
KP_KEYLEN                        = 9
KP_SALT_EX                       = 10
KP_P                             = 11
KP_G                             = 12
KP_Q                             = 13
KP_X                             = 14
KP_Y                             = 15
KP_RA                            = 16
KP_RB                            = 17
KP_INFO                          = 18
KP_EFFECTIVE_KEYLEN              = 19
KP_SCHANNEL_ALG                  = 20
KP_CLIENT_RANDOM                 = 21
KP_SERVER_RANDOM                 = 22
KP_RP                            = 23
KP_PRECOMP_MD5                   = 24
KP_PRECOMP_SHA                   = 25
KP_CERTIFICATE                   = 26
KP_CLEAR_KEY                     = 27
KP_PUB_EX_LEN                    = 28
KP_PUB_EX_VAL                    = 29
KP_KEYVAL                        = 30
KP_ADMIN_PIN                     = 31
KP_KEYEXCHANGE_PIN               = 32
KP_SIGNATURE_PIN                 = 33
KP_PREHASH                       = 34
KP_ROUNDS                        = 35
KP_OAEP_PARAMS                   = 36
KP_CMS_KEY_INFO                  = 37
KP_CMS_DH_KEY_INFO               = 38
KP_PUB_PARAMS                    = 39
KP_VERIFY_PARAMS                 = 40
KP_HIGHEST_VERSION               = 41
KP_GET_USE_COUNT                 = 42
PKCS5_PADDING                    = 1
RANDOM_PADDING                   = 2
ZERO_PADDING                     = 3
CRYPT_MODE_CBC                   = 1
CRYPT_MODE_ECB                   = 2
CRYPT_MODE_OFB                   = 3
CRYPT_MODE_CFB                   = 4
CRYPT_MODE_CTS                   = 5
CRYPT_ENCRYPT                    = 0001h
CRYPT_DECRYPT                    = 0002h
CRYPT_EXPORT                     = 0004h
CRYPT_READ                       = 0008h
CRYPT_WRITE                      = 0010h
CRYPT_MAC                        = 0020h
CRYPT_EXPORT_KEY                 = 0040h
CRYPT_IMPORT_KEY                 = 0080h
CRYPT_ARCHIVE                    = 0100h
HP_ALGID                         = 0001h
HP_HASHVAL                       = 0002h
HP_HASHSIZE                      = 0004h
HP_HMAC_INFO                     = 0005h
HP_TLS1PRF_LABEL                 = 0006h
HP_TLS1PRF_SEED                  = 0007h
CRYPT_FAILED                     = FALSE
CRYPT_SUCCEED                    = TRUE
PP_ENUMALGS                      = 1
PP_ENUMCONTAINERS                = 2
PP_IMPTYPE                       = 3
PP_NAME                          = 4
PP_VERSION                       = 5
PP_CONTAINER                     = 6
PP_CHANGE_PASSWORD               = 7
PP_KEYSET_SEC_DESCR              = 8
PP_CERTCHAIN                     = 9
PP_KEY_TYPE_SUBTYPE              = 10
PP_PROVTYPE                      = 16
PP_KEYSTORAGE                    = 17
PP_APPLI_CERT                    = 18
PP_SYM_KEYSIZE                   = 19
PP_SESSION_KEYSIZE               = 20
PP_UI_PROMPT                     = 21
PP_ENUMALGS_EX                   = 22
PP_ENUMMANDROOTS                 = 25
PP_ENUMELECTROOTS                = 26
PP_KEYSET_TYPE                   = 27
PP_ADMIN_PIN                     = 31
PP_KEYEXCHANGE_PIN               = 32
PP_SIGNATURE_PIN                 = 33
PP_SIG_KEYSIZE_INC               = 34
PP_KEYX_KEYSIZE_INC              = 35
PP_UNIQUE_CONTAINER              = 36
PP_SGC_INFO                      = 37
PP_USE_HARDWARE_RNG              = 38
PP_KEYSPEC                       = 39
PP_ENUMEX_SIGNING_PROT           = 40
PP_CRYPT_COUNT_KEY_USE           = 41
CRYPT_FIRST                      = 1
CRYPT_NEXT                       = 2
CRYPT_SGC_ENUM                   = 4
CRYPT_IMPL_HARDWARE              = 1
CRYPT_IMPL_SOFTWARE              = 2
CRYPT_IMPL_MIXED                 = 3
CRYPT_IMPL_UNKNOWN               = 4
CRYPT_IMPL_REMOVABLE             = 8
CRYPT_SEC_DESCR                  = 00000001h
CRYPT_PSTORE                     = 00000002h
CRYPT_UI_PROMPT                  = 00000004h
CRYPT_FLAG_PCT1                  = 0001h
CRYPT_FLAG_SSL2                  = 0002h
CRYPT_FLAG_SSL3                  = 0004h
CRYPT_FLAG_TLS1                  = 0008h
CRYPT_FLAG_IPSEC                 = 0010h
CRYPT_FLAG_SIGNING               = 0020h
CRYPT_SGC                        = 0001h
CRYPT_FASTSGC                    = 0002h
PP_CLIENT_HWND                   = 1
PP_CONTEXT_INFO                  = 11
PP_KEYEXCHANGE_KEYSIZE           = 12
PP_SIGNATURE_KEYSIZE             = 13
PP_KEYEXCHANGE_ALG               = 14
PP_SIGNATURE_ALG                 = 15
PP_DELETEKEY                     = 24
PROV_RSA_FULL                    = 1
PROV_RSA_SIG                     = 2
PROV_DSS                         = 3
PROV_FORTEZZA                    = 4
PROV_MS_EXCHANGE                 = 5
PROV_SSL                         = 6
PROV_RSA_SCHANNEL                = 12
PROV_DSS_DH                      = 13
PROV_EC_ECDSA_SIG                = 14
PROV_EC_ECNRA_SIG                = 15
PROV_EC_ECDSA_FULL               = 16
PROV_EC_ECNRA_FULL               = 17
PROV_DH_SCHANNEL                 = 18
PROV_SPYRUS_LYNKS                = 20
PROV_RNG                         = 21
PROV_INTEL_SEC                   = 22
PROV_REPLACE_OWF                 = 23
PROV_RSA_AES                     = 24
MAXUIDLEN                        = 64
dwFORCE_KEY_PROTECTION_DISABLED  = 0h
dwFORCE_KEY_PROTECTION_USER_SELECT = 1h
dwFORCE_KEY_PROTECTION_HIGH      = 2h
CUR_BLOB_VERSION                 = 2
SCHANNEL_MAC_KEY                 = 00000000h
SCHANNEL_ENC_KEY                 = 00000001h
INTERNATIONAL_USAGE              = 00000001h
CERT_RDN_ANY_TYPE                = 0
CERT_RDN_ENCODED_BLOB            = 1
CERT_RDN_OCTET_STRING            = 2
CERT_RDN_NUMERIC_STRING          = 3
CERT_RDN_PRINTABLE_STRING        = 4
CERT_RDN_TELETEX_STRING          = 5
CERT_RDN_T61_STRING              = 5
CERT_RDN_VIDEOTEX_STRING         = 6
CERT_RDN_IA5_STRING              = 7
CERT_RDN_GRAPHIC_STRING          = 8
CERT_RDN_VISIBLE_STRING          = 9
CERT_RDN_ISO646_STRING           = 9
CERT_RDN_GENERAL_STRING          = 10
CERT_RDN_UNIVERSAL_STRING        = 11
CERT_RDN_INT4_STRING             = 11
CERT_RDN_BMP_STRING              = 12
CERT_RDN_UNICODE_STRING          = 12
CERT_RDN_UTF8_STRING             = 13
CERT_RDN_TYPE_MASK               = 000000FFh
CERT_RDN_FLAGS_MASK              = 0FF000000h
CERT_RDN_ENABLE_T61_UNICODE_FLAG = 80000000h
CERT_RDN_ENABLE_UTF8_UNICODE_FLAG = 20000000h
CERT_RDN_DISABLE_CHECK_TYPE_FLAG = 40000000h
CERT_RDN_DISABLE_IE4_UTF8_FLAG   = 01000000h
CERT_RSA_PUBLIC_KEY_OBJID        equ szOID_RSA_RSA
CERT_DEFAULT_OID_PUBLIC_KEY_SIGN equ szOID_RSA_RSA
CERT_DEFAULT_OID_PUBLIC_KEY_XCHG equ szOID_RSA_RSA
CERT_V1                          = 0
CERT_V2                          = 1
CERT_V3                          = 2
CERT_INFO_VERSION_FLAG           = 1
CERT_INFO_SERIAL_NUMBER_FLAG     = 2
CERT_INFO_SIGNATURE_ALGORITHM_FLAG = 3
CERT_INFO_ISSUER_FLAG            = 4
CERT_INFO_NOT_BEFORE_FLAG        = 5
CERT_INFO_NOT_AFTER_FLAG         = 6
CERT_INFO_SUBJECT_FLAG           = 7
CERT_INFO_SUBJECT_PUBLIC_KEY_INFO_FLAG = 8
CERT_INFO_ISSUER_UNIQUE_ID_FLAG  = 9
CERT_INFO_SUBJECT_UNIQUE_ID_FLAG = 10
CERT_INFO_EXTENSION_FLAG         = 11
CRL_V1                           = 0
CRL_V2                           = 1
CERT_REQUEST_V1                  = 0
CERT_KEYGEN_REQUEST_V1           = 0
CTL_V1                           = 0
CERT_ENCODING_TYPE_MASK          = 0000FFFFh
CMSG_ENCODING_TYPE_MASK          = 0FFFF0000h
CRYPT_ASN_ENCODING               = 00000001h
CRYPT_NDR_ENCODING               = 00000002h
X509_ASN_ENCODING                = 00000001h
X509_NDR_ENCODING                = 00000002h
PKCS_7_ASN_ENCODING              = 00010000h
PKCS_7_NDR_ENCODING              = 00020000h
CRYPT_FORMAT_STR_MULTI_LINE      = 0001h
CRYPT_FORMAT_STR_NO_HEX          = 0010h
CRYPT_FORMAT_SIMPLE              = 0001h
CRYPT_FORMAT_X509                = 0002h
CRYPT_FORMAT_OID                 = 0004h
CRYPT_FORMAT_RDN_SEMICOLON       = 0100h
CRYPT_FORMAT_RDN_CRLF            = 0200h
CRYPT_FORMAT_RDN_UNQUOTE         = 0400h
CRYPT_FORMAT_RDN_REVERSE         = 0800h
CRYPT_FORMAT_COMMA               = 1000h
CRYPT_FORMAT_SEMICOLON           = CRYPT_FORMAT_RDN_SEMICOLON
CRYPT_FORMAT_CRLF                = CRYPT_FORMAT_RDN_CRLF
CRYPT_ENCODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG = 8h
CRYPT_ENCODE_ALLOC_FLAG          = 8000h
CRYPT_SORTED_CTL_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG = 10000h
CRYPT_DECODE_NOCOPY_FLAG         = 1h
CRYPT_DECODE_TO_BE_SIGNED_FLAG   = 2h
CRYPT_DECODE_SHARE_OID_STRING_FLAG = 4h
CRYPT_DECODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG = 8h
CRYPT_DECODE_ALLOC_FLAG          = 8000h
CRYPT_ENCODE_DECODE_NONE         = 0
X509_CERT                        = 1
X509_CERT_TO_BE_SIGNED           = 2
X509_CERT_CRL_TO_BE_SIGNED       = 3
X509_CERT_REQUEST_TO_BE_SIGNED   = 4
X509_EXTENSIONS                  = 5
X509_NAME_VALUE                  = 6
X509_NAME                        = 7
X509_PUBLIC_KEY_INFO             = 8
X509_AUTHORITY_KEY_ID            = 9
X509_KEY_ATTRIBUTES              = 10
X509_KEY_USAGE_RESTRICTION       = 11
X509_ALTERNATE_NAME              = 12
X509_BASIC_CONSTRAINTS           = 13
X509_KEY_USAGE                   = 14
X509_BASIC_CONSTRAINTS2          = 15
X509_CERT_POLICIES               = 16
PKCS_UTC_TIME                    = 17
PKCS_TIME_REQUEST                = 18
RSA_CSP_PUBLICKEYBLOB            = 19
X509_UNICODE_NAME                = 20
X509_KEYGEN_REQUEST_TO_BE_SIGNED = 21
PKCS_ATTRIBUTE                   = 22
PKCS_CONTENT_INFO_SEQUENCE_OF_ANY = 23
X509_UNICODE_NAME_VALUE          = 24
X509_ANY_STRING                  = X509_NAME_VALUE
X509_UNICODE_ANY_STRING          = X509_UNICODE_NAME_VALUE
X509_OCTET_STRING                = 25
X509_BITS                        = 26
X509_INTEGER                     = 27
X509_MULTI_BYTE_INTEGER          = 28
X509_ENUMERATED                  = 29
X509_CHOICE_OF_TIME              = 30
X509_AUTHORITY_KEY_ID2           = 31
X509_AUTHORITY_INFO_ACCESS       = 32
X509_CRL_REASON_CODE             = X509_ENUMERATED
PKCS_CONTENT_INFO                = 33
X509_SEQUENCE_OF_ANY             = 34
X509_CRL_DIST_POINTS             = 35
X509_ENHANCED_KEY_USAGE          = 36
PKCS_CTL                         = 37
X509_MULTI_BYTE_UINT             = 38
X509_DSS_PUBLICKEY               = X509_MULTI_BYTE_UINT
X509_DSS_PARAMETERS              = 39
X509_DSS_SIGNATURE               = 40
PKCS_RC2_CBC_PARAMETERS          = 41
PKCS_SMIME_CAPABILITIES          = 42
PKCS_RSA_PRIVATE_KEY             = 43
PKCS_PRIVATE_KEY_INFO            = 44
PKCS_ENCRYPTED_PRIVATE_KEY_INFO  = 45
X509_PKIX_POLICY_QUALIFIER_USERNOTICE = 46
X509_DH_PUBLICKEY                = X509_MULTI_BYTE_UINT
X509_DH_PARAMETERS               = 47
PKCS_ATTRIBUTES                  = 48
PKCS_SORTED_CTL                  = 49
X942_DH_PARAMETERS               = 50
X509_BITS_WITHOUT_TRAILING_ZEROES = 51
X942_OTHER_INFO                  = 52
X509_CERT_PAIR                   = 53
X509_ISSUING_DIST_POINT          = 54
X509_NAME_CONSTRAINTS            = 55
X509_POLICY_MAPPINGS             = 56
X509_POLICY_CONSTRAINTS          = 57
X509_CROSS_CERT_DIST_POINTS      = 58
CMC_DATA                         = 59
CMC_RESPONSE                     = 60
CMC_STATUS                       = 61
CMC_ADD_EXTENSIONS               = 62
CMC_ADD_ATTRIBUTES               = 63
X509_CERTIFICATE_TEMPLATE        = 64
PKCS7_SIGNER_INFO                = 500
CMS_SIGNER_INFO                  = 501
CERT_UNICODE_RDN_ERR_INDEX_MASK  = 3FFh
CERT_UNICODE_RDN_ERR_INDEX_SHIFT = 22
CERT_UNICODE_ATTR_ERR_INDEX_MASK = 003Fh
CERT_UNICODE_ATTR_ERR_INDEX_SHIFT = 16
CERT_UNICODE_VALUE_ERR_INDEX_MASK = 0000FFFFh
CERT_UNICODE_VALUE_ERR_INDEX_SHIFT = 0
CERT_DIGITAL_SIGNATURE_KEY_USAGE = 80h
CERT_NON_REPUDIATION_KEY_USAGE   = 40h
CERT_KEY_ENCIPHERMENT_KEY_USAGE  = 20h
CERT_DATA_ENCIPHERMENT_KEY_USAGE = 10h
CERT_KEY_AGREEMENT_KEY_USAGE     = 08h
CERT_KEY_CERT_SIGN_KEY_USAGE     = 04h
CERT_OFFLINE_CRL_SIGN_KEY_USAGE  = 02h
CERT_CRL_SIGN_KEY_USAGE          = 02h
CERT_ENCIPHER_ONLY_KEY_USAGE     = 01h
CERT_DECIPHER_ONLY_KEY_USAGE     = 80h
CERT_ALT_NAME_OTHER_NAME         = 1
CERT_ALT_NAME_RFC822_NAME        = 2
CERT_ALT_NAME_DNS_NAME           = 3
CERT_ALT_NAME_X400_ADDRESS       = 4
CERT_ALT_NAME_DIRECTORY_NAME     = 5
CERT_ALT_NAME_EDI_PARTY_NAME     = 6
CERT_ALT_NAME_URL                = 7
CERT_ALT_NAME_IP_ADDRESS         = 8
CERT_ALT_NAME_REGISTERED_ID      = 9
CERT_ALT_NAME_ENTRY_ERR_INDEX_MASK = 0FFh
CERT_ALT_NAME_ENTRY_ERR_INDEX_SHIFT = 16
CERT_ALT_NAME_VALUE_ERR_INDEX_MASK = 0000FFFFh
CERT_ALT_NAME_VALUE_ERR_INDEX_SHIFT = 0
CERT_CA_SUBJECT_FLAG             = 80h
CERT_END_ENTITY_SUBJECT_FLAG     = 40h
CRL_REASON_UNSPECIFIED           = 0
CRL_REASON_KEY_COMPROMISE        = 1
CRL_REASON_CA_COMPROMISE         = 2
CRL_REASON_AFFILIATION_CHANGED   = 3
CRL_REASON_SUPERSEDED            = 4
CRL_REASON_CESSATION_OF_OPERATION = 5
CRL_REASON_CERTIFICATE_HOLD      = 6
CRL_REASON_REMOVE_FROM_CRL       = 8
CRL_DIST_POINT_NO_NAME           = 0
CRL_DIST_POINT_FULL_NAME         = 1
CRL_DIST_POINT_ISSUER_RDN_NAME   = 2
CRL_REASON_UNUSED_FLAG           = 80h
CRL_REASON_KEY_COMPROMISE_FLAG   = 40h
CRL_REASON_CA_COMPROMISE_FLAG    = 20h
CRL_REASON_AFFILIATION_CHANGED_FLAG = 10h
CRL_REASON_SUPERSEDED_FLAG       = 08h
CRL_REASON_CESSATION_OF_OPERATION_FLAG = 04h
CRL_REASON_CERTIFICATE_HOLD_FLAG = 02h
CRL_DIST_POINT_ERR_INDEX_MASK    = 7Fh
CRL_DIST_POINT_ERR_INDEX_SHIFT   = 24
CRL_DIST_POINT_ERR_CRL_ISSUER_BIT = 80000000h
CROSS_CERT_DIST_POINT_ERR_INDEX_MASK = 0FFh
CROSS_CERT_DIST_POINT_ERR_INDEX_SHIFT = 24
CERT_EXCLUDED_SUBTREE_BIT        = 80000000h
SORTED_CTL_EXT_FLAGS_OFFSET      = 0
SORTED_CTL_EXT_COUNT_OFFSET      = 4
SORTED_CTL_EXT_MAX_COLLISION_OFFSET = 8
SORTED_CTL_EXT_HASH_BUCKET_OFFSET = 12
SORTED_CTL_EXT_HASHED_SUBJECT_IDENTIFIER_FLAG = 1h
CERT_DSS_R_LEN                   = 20
CERT_DSS_S_LEN                   = 20
CERT_DSS_SIGNATURE_LEN           = (CERT_DSS_R_LEN + CERT_DSS_S_LEN)
CRYPT_X942_COUNTER_BYTE_LENGTH   = 4
CRYPT_X942_KEY_LENGTH_BYTE_LENGTH = 4
CRYPT_X942_PUB_INFO_BYTE_LENGTH  = (512/8)
CRYPT_RC2_40BIT_VERSION          = 160
CRYPT_RC2_56BIT_VERSION          = 52
CRYPT_RC2_64BIT_VERSION          = 120
CRYPT_RC2_128BIT_VERSION         = 58
NETSCAPE_SSL_CLIENT_AUTH_CERT_TYPE = 80h
NETSCAPE_SSL_SERVER_AUTH_CERT_TYPE = 40h
NETSCAPE_SMIME_CERT_TYPE         = 20h
NETSCAPE_SIGN_CERT_TYPE          = 10h
NETSCAPE_SSL_CA_CERT_TYPE        = 04h
NETSCAPE_SMIME_CA_CERT_TYPE      = 02h
NETSCAPE_SIGN_CA_CERT_TYPE       = 01h
CMC_TAGGED_CERT_REQUEST_CHOICE   = 1
CMC_OTHER_INFO_NO_CHOICE         = 0
CMC_OTHER_INFO_FAIL_CHOICE       = 1
CMC_OTHER_INFO_PEND_CHOICE       = 2
CMC_STATUS_SUCCESS               = 0
CMC_STATUS_FAILED                = 2
CMC_STATUS_PENDING               = 3
CMC_STATUS_NO_SUPPORT            = 4
CMC_STATUS_CONFIRM_REQUIRED      = 5
CMC_FAIL_BAD_ALG                 = 0
CMC_FAIL_BAD_MESSAGE_CHECK       = 1
CMC_FAIL_BAD_REQUEST             = 2
CMC_FAIL_BAD_TIME                = 3
CMC_FAIL_BAD_CERT_ID             = 4
CMC_FAIL_UNSUPORTED_EXT          = 5
CMC_FAIL_MUST_ARCHIVE_KEYS       = 6
CMC_FAIL_BAD_IDENTITY            = 7
CMC_FAIL_POP_REQUIRED            = 8
CMC_FAIL_POP_FAILED              = 9
CMC_FAIL_NO_KEY_REUSE            = 10
CMC_FAIL_INTERNAL_CA_ERROR       = 11
CMC_FAIL_TRY_LATER               = 12
CRYPT_INSTALL_OID_FUNC_BEFORE_FLAG = 1
CRYPT_GET_INSTALLED_OID_FUNC_FLAG = 1h
CRYPT_REGISTER_FIRST_INDEX       = 0
CRYPT_REGISTER_LAST_INDEX        = 0FFFFFFFFh
CRYPT_MATCH_ANY_ENCODING_TYPE    = 0FFFFFFFFh
CRYPT_HASH_ALG_OID_GROUP_ID      = 1
CRYPT_ENCRYPT_ALG_OID_GROUP_ID   = 2
CRYPT_PUBKEY_ALG_OID_GROUP_ID    = 3
CRYPT_SIGN_ALG_OID_GROUP_ID      = 4
CRYPT_RDN_ATTR_OID_GROUP_ID      = 5
CRYPT_EXT_OR_ATTR_OID_GROUP_ID   = 6
CRYPT_ENHKEY_USAGE_OID_GROUP_ID  = 7
CRYPT_POLICY_OID_GROUP_ID        = 8
CRYPT_TEMPLATE_OID_GROUP_ID      = 9
CRYPT_LAST_OID_GROUP_ID          = 9
CRYPT_FIRST_ALG_OID_GROUP_ID     = CRYPT_HASH_ALG_OID_GROUP_ID
CRYPT_LAST_ALG_OID_GROUP_ID      = CRYPT_SIGN_ALG_OID_GROUP_ID
CRYPT_OID_INHIBIT_SIGNATURE_FORMAT_FLAG = 1h
CRYPT_OID_USE_PUBKEY_PARA_FOR_PKCS7_FLAG = 2h
CRYPT_OID_NO_NULL_ALGORITHM_PARA_FLAG = 4h
CRYPT_OID_INFO_OID_KEY           = 1
CRYPT_OID_INFO_NAME_KEY          = 2
CRYPT_OID_INFO_ALGID_KEY         = 3
CRYPT_OID_INFO_SIGN_KEY          = 4
CRYPT_INSTALL_OID_INFO_BEFORE_FLAG = 1
CRYPT_LOCALIZED_NAME_ENCODING_TYPE = 0
CMSG_DATA                        = 1
CMSG_SIGNED                      = 2
CMSG_ENVELOPED                   = 3
CMSG_SIGNED_AND_ENVELOPED        = 4
CMSG_HASHED                      = 5
CMSG_ENCRYPTED                   = 6
CERT_ID_ISSUER_SERIAL_NUMBER     = 1
CERT_ID_KEY_IDENTIFIER           = 2
CERT_ID_SHA1_HASH                = 3
CMSG_KEY_AGREE_EPHEMERAL_KEY_CHOICE = 1
CMSG_KEY_AGREE_STATIC_KEY_CHOICE = 2
CMSG_MAIL_LIST_HANDLE_KEY_CHOICE = 1
CMSG_KEY_TRANS_RECIPIENT         = 1
CMSG_KEY_AGREE_RECIPIENT         = 2
CMSG_MAIL_LIST_RECIPIENT         = 3
CMSG_SP3_COMPATIBLE_ENCRYPT_FLAG = 80000000h
CMSG_RC4_NO_SALT_FLAG            = 40000000h
CMSG_INDEFINITE_LENGTH           = 0FFFFFFFFh
CMSG_BARE_CONTENT_FLAG           = 00000001h
CMSG_LENGTH_ONLY_FLAG            = 00000002h
CMSG_DETACHED_FLAG               = 00000004h
CMSG_AUTHENTICATED_ATTRIBUTES_FLAG = 00000008h
CMSG_CONTENTS_OCTETS_FLAG        = 00000010h
CMSG_MAX_LENGTH_FLAG             = 00000020h
CMSG_CMS_ENCAPSULATED_CONTENT_FLAG = 00000040h
CMSG_CRYPT_RELEASE_CONTEXT_FLAG  = 00008000h
CMSG_TYPE_PARAM                  = 1
CMSG_CONTENT_PARAM               = 2
CMSG_BARE_CONTENT_PARAM          = 3
CMSG_INNER_CONTENT_TYPE_PARAM    = 4
CMSG_SIGNER_COUNT_PARAM          = 5
CMSG_SIGNER_INFO_PARAM           = 6
CMSG_SIGNER_CERT_INFO_PARAM      = 7
CMSG_SIGNER_HASH_ALGORITHM_PARAM = 8
CMSG_SIGNER_AUTH_ATTR_PARAM      = 9
CMSG_SIGNER_UNAUTH_ATTR_PARAM    = 10
CMSG_CERT_COUNT_PARAM            = 11
CMSG_CERT_PARAM                  = 12
CMSG_CRL_COUNT_PARAM             = 13
CMSG_CRL_PARAM                   = 14
CMSG_ENVELOPE_ALGORITHM_PARAM    = 15
CMSG_RECIPIENT_COUNT_PARAM       = 17
CMSG_RECIPIENT_INDEX_PARAM       = 18
CMSG_RECIPIENT_INFO_PARAM        = 19
CMSG_HASH_ALGORITHM_PARAM        = 20
CMSG_HASH_DATA_PARAM             = 21
CMSG_COMPUTED_HASH_PARAM         = 22
CMSG_ENCRYPT_PARAM               = 26
CMSG_ENCRYPTED_DIGEST            = 27
CMSG_ENCODED_SIGNER              = 28
CMSG_ENCODED_MESSAGE             = 29
CMSG_VERSION_PARAM               = 30
CMSG_ATTR_CERT_COUNT_PARAM       = 31
CMSG_ATTR_CERT_PARAM             = 32
CMSG_CMS_RECIPIENT_COUNT_PARAM   = 33
CMSG_CMS_RECIPIENT_INDEX_PARAM   = 34
CMSG_CMS_RECIPIENT_ENCRYPTED_KEY_INDEX_PARAM = 35
CMSG_CMS_RECIPIENT_INFO_PARAM    = 36
CMSG_UNPROTECTED_ATTR_PARAM      = 37
CMSG_SIGNER_CERT_ID_PARAM        = 38
CMSG_CMS_SIGNER_INFO_PARAM       = 39
CMSG_SIGNED_DATA_V1              = 1
CMSG_SIGNED_DATA_V3              = 3
CMSG_SIGNED_DATA_PKCS_1_5_VERSION = CMSG_SIGNED_DATA_V1
CMSG_SIGNED_DATA_CMS_VERSION     = CMSG_SIGNED_DATA_V3
CMSG_SIGNER_INFO_V1              = 1
CMSG_SIGNER_INFO_V3              = 3
CMSG_SIGNER_INFO_PKCS_1_5_VERSION = CMSG_SIGNER_INFO_V1
CMSG_SIGNER_INFO_CMS_VERSION     = CMSG_SIGNER_INFO_V3
CMSG_HASHED_DATA_V0              = 0
CMSG_HASHED_DATA_V2              = 2
CMSG_HASHED_DATA_PKCS_1_5_VERSION = CMSG_HASHED_DATA_V0
CMSG_HASHED_DATA_CMS_VERSION     = CMSG_HASHED_DATA_V2
CMSG_ENVELOPED_DATA_V0           = 0
CMSG_ENVELOPED_DATA_V2           = 2
CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION = CMSG_ENVELOPED_DATA_V0
CMSG_ENVELOPED_DATA_CMS_VERSION  = CMSG_ENVELOPED_DATA_V2
CMSG_KEY_AGREE_ORIGINATOR_CERT   = 1
CMSG_KEY_AGREE_ORIGINATOR_PUBLIC_KEY = 2
CMSG_ENVELOPED_RECIPIENT_V0      = 0
CMSG_ENVELOPED_RECIPIENT_V2      = 2
CMSG_ENVELOPED_RECIPIENT_V3      = 3
CMSG_ENVELOPED_RECIPIENT_V4      = 4
CMSG_KEY_TRANS_PKCS_1_5_VERSION  = CMSG_ENVELOPED_RECIPIENT_V0
CMSG_KEY_TRANS_CMS_VERSION       = CMSG_ENVELOPED_RECIPIENT_V2
CMSG_KEY_AGREE_VERSION           = CMSG_ENVELOPED_RECIPIENT_V3
CMSG_MAIL_LIST_VERSION           = CMSG_ENVELOPED_RECIPIENT_V4
CMSG_CTRL_VERIFY_SIGNATURE       = 1
CMSG_CTRL_DECRYPT                = 2
CMSG_CTRL_VERIFY_HASH            = 5
CMSG_CTRL_ADD_SIGNER             = 6
CMSG_CTRL_DEL_SIGNER             = 7
CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR = 8
CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR = 9
CMSG_CTRL_ADD_CERT               = 10
CMSG_CTRL_DEL_CERT               = 11
CMSG_CTRL_ADD_CRL                = 12
CMSG_CTRL_DEL_CRL                = 13
CMSG_CTRL_ADD_ATTR_CERT          = 14
CMSG_CTRL_DEL_ATTR_CERT          = 15
CMSG_CTRL_KEY_TRANS_DECRYPT      = 16
CMSG_CTRL_KEY_AGREE_DECRYPT      = 17
CMSG_CTRL_MAIL_LIST_DECRYPT      = 18
CMSG_CTRL_VERIFY_SIGNATURE_EX    = 19
CMSG_CTRL_ADD_CMS_SIGNER_INFO    = 20
CMSG_VERIFY_SIGNER_PUBKEY        = 1
CMSG_VERIFY_SIGNER_CERT          = 2
CMSG_VERIFY_SIGNER_CHAIN         = 3
CMSG_VERIFY_SIGNER_NULL          = 4
CMSG_DEFAULT_INSTALLABLE_FUNC_OID = 1
CMSG_CONTENT_ENCRYPT_PAD_ENCODED_LEN_FLAG = 00000001h
CMSG_CONTENT_ENCRYPT_FREE_PARA_FLAG = 00000001h
CMSG_CONTENT_ENCRYPT_RELEASE_CONTEXT_FLAG = 00008000h
CMSG_KEY_TRANS_ENCRYPT_FREE_PARA_FLAG = 00000001h
CMSG_KEY_AGREE_ENCRYPT_FREE_PARA_FLAG = 00000001h
CMSG_KEY_AGREE_ENCRYPT_FREE_MATERIAL_FLAG = 00000002h
CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_ALG_FLAG = 00000004h
CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_PARA_FLAG = 00000008h
CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_BITS_FLAG = 00000010h
CMSG_MAIL_LIST_ENCRYPT_FREE_PARA_FLAG = 00000001h
CERT_KEY_PROV_HANDLE_PROP_ID     = 1
CERT_KEY_PROV_INFO_PROP_ID       = 2
CERT_SHA1_HASH_PROP_ID           = 3
CERT_MD5_HASH_PROP_ID            = 4
CERT_HASH_PROP_ID                = CERT_SHA1_HASH_PROP_ID
CERT_KEY_CONTEXT_PROP_ID         = 5
CERT_KEY_SPEC_PROP_ID            = 6
CERT_IE30_RESERVED_PROP_ID       = 7
CERT_PUBKEY_HASH_RESERVED_PROP_ID = 8
CERT_ENHKEY_USAGE_PROP_ID        = 9
CERT_CTL_USAGE_PROP_ID           = CERT_ENHKEY_USAGE_PROP_ID
CERT_NEXT_UPDATE_LOCATION_PROP_ID = 10
CERT_FRIENDLY_NAME_PROP_ID       = 11
CERT_PVK_FILE_PROP_ID            = 12
CERT_DESCRIPTION_PROP_ID         = 13
CERT_ACCESS_STATE_PROP_ID        = 14
CERT_SIGNATURE_HASH_PROP_ID      = 15
CERT_SMART_CARD_DATA_PROP_ID     = 16
CERT_EFS_PROP_ID                 = 17
CERT_FORTEZZA_DATA_PROP_ID       = 18
CERT_ARCHIVED_PROP_ID            = 19
CERT_KEY_IDENTIFIER_PROP_ID      = 20
CERT_AUTO_ENROLL_PROP_ID         = 21
CERT_PUBKEY_ALG_PARA_PROP_ID     = 22
CERT_CROSS_CERT_DIST_POINTS_PROP_ID = 23
CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID = 24
CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID = 25
CERT_ENROLLMENT_PROP_ID          = 26
CERT_DATE_STAMP_PROP_ID          = 27
CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID = 28
CERT_SUBJECT_NAME_MD5_HASH_PROP_ID = 29
CERT_EXTENDED_ERROR_INFO_PROP_ID = 30
CERT_RENEWAL_PROP_ID             = 64
CERT_ARCHIVED_KEY_HASH_PROP_ID   = 65
CERT_AUTO_ENROLL_RETRY_PROP_ID   = 66
CERT_AIA_URL_RETRIEVED_PROP_ID   = 67
CERT_FIRST_RESERVED_PROP_ID      = 68
CERT_LAST_RESERVED_PROP_ID       = 00007FFFh
CERT_FIRST_USER_PROP_ID          = 00008000h
CERT_LAST_USER_PROP_ID           = 0000FFFFh
CERT_ACCESS_STATE_WRITE_PERSIST_FLAG = 1h
CERT_ACCESS_STATE_SYSTEM_STORE_FLAG = 2h
CERT_ACCESS_STATE_LM_SYSTEM_STORE_FLAG = 4h
CERT_SET_KEY_PROV_HANDLE_PROP_ID = 00000001h
CERT_SET_KEY_CONTEXT_PROP_ID     = 00000001h
CERT_STORE_PROV_MSG              = 1
CERT_STORE_PROV_MEMORY           = 2
CERT_STORE_PROV_FILE             = 3
CERT_STORE_PROV_REG              = 4
CERT_STORE_PROV_PKCS7            = 5
CERT_STORE_PROV_SERIALIZED       = 6
CERT_STORE_PROV_FILENAME_A       = 7
CERT_STORE_PROV_FILENAME_W       = 8
CERT_STORE_PROV_FILENAME         = CERT_STORE_PROV_FILENAME_W
CERT_STORE_PROV_SYSTEM_A         = 9
CERT_STORE_PROV_SYSTEM_W         = 10
CERT_STORE_PROV_SYSTEM           = CERT_STORE_PROV_SYSTEM_W
CERT_STORE_PROV_COLLECTION       = 11
CERT_STORE_PROV_SYSTEM_REGISTRY_A = 12
CERT_STORE_PROV_SYSTEM_REGISTRY_W = 13
CERT_STORE_PROV_SYSTEM_REGISTRY  = CERT_STORE_PROV_SYSTEM_REGISTRY_W
CERT_STORE_PROV_PHYSICAL_W       = 14
CERT_STORE_PROV_PHYSICAL         = CERT_STORE_PROV_PHYSICAL_W
CERT_STORE_PROV_SMART_CARD_W     = 15
CERT_STORE_PROV_SMART_CARD       = CERT_STORE_PROV_SMART_CARD_W
CERT_STORE_PROV_LDAP_W           = 16
CERT_STORE_PROV_LDAP             = CERT_STORE_PROV_LDAP_W
CERT_STORE_SIGNATURE_FLAG        = 00000001h
CERT_STORE_TIME_VALIDITY_FLAG    = 00000002h
CERT_STORE_REVOCATION_FLAG       = 00000004h
CERT_STORE_NO_CRL_FLAG           = 00010000h
CERT_STORE_NO_ISSUER_FLAG        = 00020000h
CERT_STORE_BASE_CRL_FLAG         = 00000100h
CERT_STORE_DELTA_CRL_FLAG        = 00000200h
CERT_STORE_NO_CRYPT_RELEASE_FLAG = 00000001h
CERT_STORE_SET_LOCALIZED_NAME_FLAG = 00000002h
CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG = 00000004h
CERT_STORE_DELETE_FLAG           = 00000010h
CERT_STORE_UNSAFE_PHYSICAL_FLAG  = 00000020h
CERT_STORE_SHARE_STORE_FLAG      = 00000040h
CERT_STORE_SHARE_CONTEXT_FLAG    = 00000080h
CERT_STORE_MANIFOLD_FLAG         = 00000100h
CERT_STORE_ENUM_ARCHIVED_FLAG    = 00000200h
CERT_STORE_UPDATE_KEYID_FLAG     = 00000400h
CERT_STORE_BACKUP_RESTORE_FLAG   = 00000800h
CERT_STORE_READONLY_FLAG         = 00008000h
CERT_STORE_OPEN_EXISTING_FLAG    = 00004000h
CERT_STORE_CREATE_NEW_FLAG       = 00002000h
CERT_STORE_MAXIMUM_ALLOWED_FLAG  = 00001000h
CERT_SYSTEM_STORE_MASK           = 0FFFF0000h
CERT_SYSTEM_STORE_RELOCATE_FLAG  = 80000000h
CERT_SYSTEM_STORE_UNPROTECTED_FLAG = 40000000h
CERT_SYSTEM_STORE_LOCATION_MASK  = 00FF0000h
CERT_SYSTEM_STORE_LOCATION_SHIFT = 16
CERT_SYSTEM_STORE_CURRENT_USER_ID = 1
CERT_SYSTEM_STORE_LOCAL_MACHINE_ID = 2
CERT_SYSTEM_STORE_CURRENT_SERVICE_ID = 4
CERT_SYSTEM_STORE_SERVICES_ID    = 5
CERT_SYSTEM_STORE_USERS_ID       = 6
CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID = 7
CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID = 8
CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID = 9
CERT_PROT_ROOT_DISABLE_CURRENT_USER_FLAG = 1h
CERT_PROT_ROOT_INHIBIT_ADD_AT_INIT_FLAG = 2h
CERT_PROT_ROOT_INHIBIT_PURGE_LM_FLAG = 4h
CERT_PROT_ROOT_DISABLE_LM_AUTH_FLAG = 8h
CERT_PROT_ROOT_ONLY_LM_GPT_FLAG  = 8h
CERT_PROT_ROOT_DISABLE_NT_AUTH_REQUIRED_FLAG = 10h
CERT_PROT_ROOT_DISABLE_NOT_DEFINED_NAME_CONSTRAINT_FLAG = 20h
CERT_TRUST_PUB_ALLOW_TRUST_MASK  = 00000003h
CERT_TRUST_PUB_ALLOW_END_USER_TRUST = 00000000h
CERT_TRUST_PUB_ALLOW_MACHINE_ADMIN_TRUST = 00000001h
CERT_TRUST_PUB_ALLOW_ENTERPRISE_ADMIN_TRUST = 00000002h
CERT_TRUST_PUB_CHECK_PUBLISHER_REV_FLAG = 00000100h
CERT_TRUST_PUB_CHECK_TIMESTAMP_REV_FLAG = 00000200h
CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_UNTRUSTED_ROOT_LOGGING_FLAG = 1h
CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_PARTIAL_CHAIN_LOGGING_FLAG = 2h
CERT_REGISTRY_STORE_REMOTE_FLAG  = 10000h
CERT_REGISTRY_STORE_SERIALIZED_FLAG = 20000h
CERT_REGISTRY_STORE_CLIENT_GPT_FLAG = 80000000h
CERT_REGISTRY_STORE_LM_GPT_FLAG  = 01000000h
CERT_REGISTRY_STORE_ROAMING_FLAG = 40000h
CERT_REGISTRY_STORE_MY_IE_DIRTY_FLAG = 80000h
CERT_FILE_STORE_COMMIT_ENABLE_FLAG = 10000h
CERT_LDAP_STORE_SIGN_FLAG        = 10000h
CERT_LDAP_STORE_AREC_EXCLUSIVE_FLAG = 20000h
CERT_LDAP_STORE_OPENED_FLAG      = 40000h
CERT_LDAP_STORE_UNBIND_FLAG      = 80000h
CERT_STORE_PROV_EXTERNAL_FLAG    = 1h
CERT_STORE_PROV_DELETED_FLAG     = 2h
CERT_STORE_PROV_NO_PERSIST_FLAG  = 4h
CERT_STORE_PROV_SYSTEM_STORE_FLAG = 8h
CERT_STORE_PROV_LM_SYSTEM_STORE_FLAG = 10h
CERT_STORE_PROV_CLOSE_FUNC       = 0
CERT_STORE_PROV_READ_CERT_FUNC   = 1
CERT_STORE_PROV_WRITE_CERT_FUNC  = 2
CERT_STORE_PROV_DELETE_CERT_FUNC = 3
CERT_STORE_PROV_SET_CERT_PROPERTY_FUNC = 4
CERT_STORE_PROV_READ_CRL_FUNC    = 5
CERT_STORE_PROV_WRITE_CRL_FUNC   = 6
CERT_STORE_PROV_DELETE_CRL_FUNC  = 7
CERT_STORE_PROV_SET_CRL_PROPERTY_FUNC = 8
CERT_STORE_PROV_READ_CTL_FUNC    = 9
CERT_STORE_PROV_WRITE_CTL_FUNC   = 10
CERT_STORE_PROV_DELETE_CTL_FUNC  = 11
CERT_STORE_PROV_SET_CTL_PROPERTY_FUNC = 12
CERT_STORE_PROV_CONTROL_FUNC     = 13
CERT_STORE_PROV_FIND_CERT_FUNC   = 14
CERT_STORE_PROV_FREE_FIND_CERT_FUNC = 15
CERT_STORE_PROV_GET_CERT_PROPERTY_FUNC = 16
CERT_STORE_PROV_FIND_CRL_FUNC    = 17
CERT_STORE_PROV_FREE_FIND_CRL_FUNC = 18
CERT_STORE_PROV_GET_CRL_PROPERTY_FUNC = 19
CERT_STORE_PROV_FIND_CTL_FUNC    = 20
CERT_STORE_PROV_FREE_FIND_CTL_FUNC = 21
CERT_STORE_PROV_GET_CTL_PROPERTY_FUNC = 22
CERT_STORE_PROV_WRITE_ADD_FLAG   = 1h
CERT_STORE_SAVE_AS_STORE         = 1
CERT_STORE_SAVE_AS_PKCS7         = 2
CERT_STORE_SAVE_TO_FILE          = 1
CERT_STORE_SAVE_TO_MEMORY        = 2
CERT_STORE_SAVE_TO_FILENAME_A    = 3
CERT_STORE_SAVE_TO_FILENAME_W    = 4
CERT_STORE_SAVE_TO_FILENAME      = CERT_STORE_SAVE_TO_FILENAME_W
CERT_CLOSE_STORE_FORCE_FLAG      = 00000001h
CERT_CLOSE_STORE_CHECK_FLAG      = 00000002h
CERT_COMPARE_MASK                = 0FFFFh
CERT_COMPARE_SHIFT               = 16
CERT_COMPARE_ANY                 = 0
CERT_COMPARE_SHA1_HASH           = 1
CERT_COMPARE_NAME                = 2
CERT_COMPARE_ATTR                = 3
CERT_COMPARE_MD5_HASH            = 4
CERT_COMPARE_PROPERTY            = 5
CERT_COMPARE_PUBLIC_KEY          = 6
CERT_COMPARE_HASH                = CERT_COMPARE_SHA1_HASH
CERT_COMPARE_NAME_STR_A          = 7
CERT_COMPARE_NAME_STR_W          = 8
CERT_COMPARE_KEY_SPEC            = 9
CERT_COMPARE_ENHKEY_USAGE        = 10
CERT_COMPARE_CTL_USAGE           = CERT_COMPARE_ENHKEY_USAGE
CERT_COMPARE_SUBJECT_CERT        = 11
CERT_COMPARE_ISSUER_OF           = 12
CERT_COMPARE_EXISTING            = 13
CERT_COMPARE_SIGNATURE_HASH      = 14
CERT_COMPARE_KEY_IDENTIFIER      = 15
CERT_COMPARE_CERT_ID             = 16
CERT_COMPARE_CROSS_CERT_DIST_POINTS = 17
CERT_COMPARE_PUBKEY_MD5_HASH     = 18
CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG = 1h
CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG = 2h
CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG = 4h
CERT_FIND_NO_ENHKEY_USAGE_FLAG   = 8h
CERT_FIND_OR_ENHKEY_USAGE_FLAG   = 10h
CERT_FIND_VALID_ENHKEY_USAGE_FLAG = 20h
CERT_FIND_OPTIONAL_CTL_USAGE_FLAG = CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG
CERT_FIND_NO_CTL_USAGE_FLAG      = CERT_FIND_NO_ENHKEY_USAGE_FLAG
CERT_FIND_OR_CTL_USAGE_FLAG      = CERT_FIND_OR_ENHKEY_USAGE_FLAG
CERT_FIND_VALID_CTL_USAGE_FLAG   = CERT_FIND_VALID_ENHKEY_USAGE_FLAG
CERT_SET_PROPERTY_IGNORE_PERSIST_ERROR_FLAG = 80000000h
CERT_SET_PROPERTY_INHIBIT_PERSIST_FLAG = 40000000h
CTL_ENTRY_FROM_PROP_CHAIN_FLAG   = 1h
CRL_FIND_ANY                     = 0
CRL_FIND_ISSUED_BY               = 1
CRL_FIND_EXISTING                = 2
CRL_FIND_ISSUED_FOR              = 3
CRL_FIND_ISSUED_BY_AKI_FLAG      = 1h
CRL_FIND_ISSUED_BY_SIGNATURE_FLAG = 2h
CRL_FIND_ISSUED_BY_DELTA_FLAG    = 4h
CRL_FIND_ISSUED_BY_BASE_FLAG     = 8h
CERT_STORE_ADD_NEW               = 1
CERT_STORE_ADD_USE_EXISTING      = 2
CERT_STORE_ADD_REPLACE_EXISTING  = 3
CERT_STORE_ADD_ALWAYS            = 4
CERT_STORE_ADD_REPLACE_EXISTING_INHERIT_PROPERTIES = 5
CERT_STORE_ADD_NEWER             = 6
CERT_STORE_ADD_NEWER_INHERIT_PROPERTIES = 7
CERT_STORE_CERTIFICATE_CONTEXT   = 1
CERT_STORE_CRL_CONTEXT           = 2
CERT_STORE_CTL_CONTEXT           = 3
CERT_STORE_ALL_CONTEXT_FLAG      = 0
CTL_ANY_SUBJECT_TYPE             = 1
CTL_CERT_SUBJECT_TYPE            = 2
CTL_FIND_ANY                     = 0
CTL_FIND_SHA1_HASH               = 1
CTL_FIND_MD5_HASH                = 2
CTL_FIND_USAGE                   = 3
CTL_FIND_SUBJECT                 = 4
CTL_FIND_EXISTING                = 5
CTL_FIND_NO_LIST_ID_CBDATA       = 0FFFFFFFFh
CTL_FIND_NO_SIGNER_PTR           = -1
CTL_FIND_SAME_USAGE_FLAG         = 1h
CERT_STORE_CTRL_RESYNC           = 1
CERT_STORE_CTRL_NOTIFY_CHANGE    = 2
CERT_STORE_CTRL_COMMIT           = 3
CERT_STORE_CTRL_AUTO_RESYNC      = 4
CERT_STORE_CTRL_CANCEL_NOTIFY    = 5
CERT_STORE_CTRL_INHIBIT_DUPLICATE_HANDLE_FLAG = 1h
CERT_STORE_CTRL_COMMIT_FORCE_FLAG = 1h
CERT_STORE_CTRL_COMMIT_CLEAR_FLAG = 2h
CERT_STORE_LOCALIZED_NAME_PROP_ID = 1000h
CERT_CREATE_CONTEXT_NOCOPY_FLAG  = 1h
CERT_CREATE_CONTEXT_SORTED_FLAG  = 2h
CERT_CREATE_CONTEXT_NO_HCRYPTMSG_FLAG = 4h
CERT_CREATE_CONTEXT_NO_ENTRY_FLAG = 8h
CERT_PHYSICAL_STORE_ADD_ENABLE_FLAG = 1h
CERT_PHYSICAL_STORE_OPEN_DISABLE_FLAG = 2h
CERT_PHYSICAL_STORE_REMOTE_OPEN_DISABLE_FLAG = 4h
CERT_PHYSICAL_STORE_INSERT_COMPUTER_NAME_ENABLE_FLAG = 8h
CERT_PHYSICAL_STORE_PREDEFINED_ENUM_FLAG = 1h
CMSG_TRUSTED_SIGNER_FLAG         = 1h
CMSG_SIGNER_ONLY_FLAG            = 2h
CMSG_USE_SIGNER_INDEX_FLAG       = 4h
CMSG_CMS_ENCAPSULATED_CTL_FLAG   = 00008000h
CMSG_ENCODE_SORTED_CTL_FLAG      = 1h
CMSG_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG = 2h
CERT_VERIFY_INHIBIT_CTL_UPDATE_FLAG = 1h
CERT_VERIFY_TRUSTED_SIGNERS_FLAG = 2h
CERT_VERIFY_NO_TIME_CHECK_FLAG   = 4h
CERT_VERIFY_ALLOW_MORE_USAGE_FLAG = 8h
CERT_VERIFY_UPDATED_CTL_FLAG     = 1h
CERT_CONTEXT_REVOCATION_TYPE     = 1
CERT_VERIFY_REV_CHAIN_FLAG       = 00000001h
CERT_VERIFY_CACHE_ONLY_BASED_REVOCATION = 00000002h
CERT_VERIFY_REV_ACCUMULATIVE_TIMEOUT_FLAG = 00000004h
CERT_UNICODE_IS_RDN_ATTRS_FLAG   = 1h
CERT_CASE_INSENSITIVE_IS_RDN_ATTRS_FLAG = 2h
CRYPT_VERIFY_CERT_SIGN_SUBJECT_BLOB = 1
CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT = 2
CRYPT_VERIFY_CERT_SIGN_SUBJECT_CRL = 3
CRYPT_VERIFY_CERT_SIGN_ISSUER_PUBKEY = 1
CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT = 2
CRYPT_VERIFY_CERT_SIGN_ISSUER_CHAIN = 3
CRYPT_VERIFY_CERT_SIGN_ISSUER_NULL = 4
CRYPT_DEFAULT_CONTEXT_AUTO_RELEASE_FLAG = 00000001h
CRYPT_DEFAULT_CONTEXT_PROCESS_FLAG = 00000002h
CRYPT_DEFAULT_CONTEXT_CERT_SIGN_OID = 1
CRYPT_DEFAULT_CONTEXT_MULTI_CERT_SIGN_OID = 2
CRYPT_ACQUIRE_CACHE_FLAG         = 00000001h
CRYPT_ACQUIRE_USE_PROV_INFO_FLAG = 00000002h
CRYPT_ACQUIRE_COMPARE_KEY_FLAG   = 00000004h
CRYPT_ACQUIRE_SILENT_FLAG        = 00000040h
CRYPT_FIND_USER_KEYSET_FLAG      = 00000001h
CRYPT_FIND_MACHINE_KEYSET_FLAG   = 00000002h
CRYPT_FIND_SILENT_KEYSET_FLAG    = 00000040h
CRYPT_DELETE_KEYSET              = 0001h
CERT_SIMPLE_NAME_STR             = 1
CERT_OID_NAME_STR                = 2
CERT_X500_NAME_STR               = 3
CERT_NAME_STR_SEMICOLON_FLAG     = 40000000h
CERT_NAME_STR_NO_PLUS_FLAG       = 20000000h
CERT_NAME_STR_NO_QUOTING_FLAG    = 10000000h
CERT_NAME_STR_CRLF_FLAG          = 08000000h
CERT_NAME_STR_COMMA_FLAG         = 04000000h
CERT_NAME_STR_REVERSE_FLAG       = 02000000h
CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG = 00010000h
CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG = 00020000h
CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG = 00040000h
CERT_NAME_EMAIL_TYPE             = 1
CERT_NAME_RDN_TYPE               = 2
CERT_NAME_ATTR_TYPE              = 3
CERT_NAME_SIMPLE_DISPLAY_TYPE    = 4
CERT_NAME_FRIENDLY_DISPLAY_TYPE  = 5
CERT_NAME_DNS_TYPE               = 6
CERT_NAME_URL_TYPE               = 7
CERT_NAME_UPN_TYPE               = 8
CERT_NAME_ISSUER_FLAG            = 1h
CERT_NAME_DISABLE_IE4_UTF8_FLAG  = 00010000h
CRYPT_MESSAGE_BARE_CONTENT_OUT_FLAG = 00000001h
CRYPT_MESSAGE_ENCAPSULATED_CONTENT_OUT_FLAG = 00000002h
CRYPT_MESSAGE_KEYID_SIGNER_FLAG  = 00000004h
CRYPT_MESSAGE_SILENT_KEYSET_FLAG = 00000040h
CRYPT_MESSAGE_KEYID_RECIPIENT_FLAG = 4h
CERT_QUERY_OBJECT_FILE           = 00000001h
CERT_QUERY_OBJECT_BLOB           = 00000002h
CERT_QUERY_CONTENT_CERT          = 1
CERT_QUERY_CONTENT_CTL           = 2
CERT_QUERY_CONTENT_CRL           = 3
CERT_QUERY_CONTENT_SERIALIZED_STORE = 4
CERT_QUERY_CONTENT_SERIALIZED_CERT = 5
CERT_QUERY_CONTENT_SERIALIZED_CTL = 6
CERT_QUERY_CONTENT_SERIALIZED_CRL = 7
CERT_QUERY_CONTENT_PKCS7_SIGNED  = 8
CERT_QUERY_CONTENT_PKCS7_UNSIGNED = 9
CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED = 10
CERT_QUERY_CONTENT_PKCS10        = 11
CERT_QUERY_CONTENT_PFX           = 12
CERT_QUERY_CONTENT_CERT_PAIR     = 13
CERT_QUERY_FORMAT_BINARY         = 1
CERT_QUERY_FORMAT_BASE64_ENCODED = 2
CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED = 3
CREDENTIAL_OID_PASSWORD_CREDENTIALS_A = 1
CREDENTIAL_OID_PASSWORD_CREDENTIALS_W = 2
CONTEXT_OID_CERTIFICATE          = 1
CONTEXT_OID_CRL                  = 2
CONTEXT_OID_CTL                  = 3
CONTEXT_OID_PKCS7                = 4
CONTEXT_OID_CAPI2_ANY            = 5
CRYPT_RETRIEVE_MULTIPLE_OBJECTS  = 00000001h
CRYPT_CACHE_ONLY_RETRIEVAL       = 00000002h
CRYPT_WIRE_ONLY_RETRIEVAL        = 00000004h
CRYPT_DONT_CACHE_RESULT          = 00000008h
CRYPT_ASYNC_RETRIEVAL            = 00000010h
CRYPT_STICKY_CACHE_RETRIEVAL     = 00001000h
CRYPT_LDAP_SCOPE_BASE_ONLY_RETRIEVAL = 00002000h
CRYPT_OFFLINE_CHECK_RETRIEVAL    = 00004000h
CRYPT_LDAP_INSERT_ENTRY_ATTRIBUTE = 00008000h
CRYPT_LDAP_SIGN_RETRIEVAL        = 00010000h
CRYPT_NO_AUTH_RETRIEVAL          = 00020000h
CRYPT_LDAP_AREC_EXCLUSIVE_RETRIEVAL = 00040000h
CRYPT_AIA_RETRIEVAL              = 00080000h
CRYPT_VERIFY_CONTEXT_SIGNATURE   = 00000020h
CRYPT_VERIFY_DATA_HASH           = 00000040h
CRYPT_KEEP_TIME_VALID            = 00000080h
CRYPT_DONT_VERIFY_SIGNATURE      = 00000100h
CRYPT_DONT_CHECK_TIME_VALIDITY   = 00000200h
CRYPT_CHECK_FRESHNESS_TIME_VALIDITY = 00000400h
CRYPT_ACCUMULATIVE_TIMEOUT       = 00000800h
CRYPT_PARAM_ASYNC_RETRIEVAL_COMPLETION = 1
CRYPT_PARAM_CANCEL_ASYNC_RETRIEVAL = 2
CRYPT_GET_URL_FROM_PROPERTY      = 00000001h
CRYPT_GET_URL_FROM_EXTENSION     = 00000002h
CRYPT_GET_URL_FROM_UNAUTH_ATTRIBUTE = 00000004h
CRYPT_GET_URL_FROM_AUTH_ATTRIBUTE = 00000008h
URL_OID_CERTIFICATE_ISSUER       = 1
URL_OID_CERTIFICATE_CRL_DIST_POINT = 2
URL_OID_CTL_ISSUER               = 3
URL_OID_CTL_NEXT_UPDATE          = 4
URL_OID_CRL_ISSUER               = 5
URL_OID_CERTIFICATE_FRESHEST_CRL = 6
URL_OID_CRL_FRESHEST_CRL         = 7
URL_OID_CROSS_CERT_DIST_POINT    = 8
TIME_VALID_OID_GET_CTL           = 1
TIME_VALID_OID_GET_CRL           = 2
TIME_VALID_OID_GET_CRL_FROM_CERT = 3
TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CERT = 4
TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CRL = 5
TIME_VALID_OID_FLUSH_CTL         = 1
TIME_VALID_OID_FLUSH_CRL         = 2
TIME_VALID_OID_FLUSH_CRL_FROM_CERT = 3
TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CERT = 4
TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CRL = 5
CRYPTPROTECT_PROMPT_ON_UNPROTECT = 1h
CRYPTPROTECT_PROMPT_ON_PROTECT   = 2h
CRYPTPROTECT_PROMPT_RESERVED     = 04h
CRYPTPROTECT_PROMPT_STRONG       = 08h
CRYPTPROTECT_PROMPT_REQUIRE_STRONG = 10h
CRYPTPROTECT_UI_FORBIDDEN        = 1h
CRYPTPROTECT_LOCAL_MACHINE       = 4h
CRYPTPROTECT_CRED_SYNC           = 8h
CRYPTPROTECT_AUDIT               = 10h
CRYPTPROTECT_NO_RECOVERY         = 20h
CRYPTPROTECT_VERIFY_PROTECTION   = 40h
CRYPTPROTECT_CRED_REGENERATE     = 80h
CRYPTPROTECT_FIRST_RESERVED_FLAGVAL = 0FFFFFFFh
CRYPTPROTECT_LAST_RESERVED_FLAGVAL = 0FFFFFFFFh
CRYPTPROTECTMEMORY_BLOCK_SIZE    = 16
CRYPTPROTECTMEMORY_SAME_PROCESS  = 00h
CRYPTPROTECTMEMORY_CROSS_PROCESS = 01h
CRYPTPROTECTMEMORY_SAME_LOGON    = 02h
CERT_CREATE_SELFSIGN_NO_SIGN     = 1
CERT_CREATE_SELFSIGN_NO_KEY_INFO = 2
CRYPT_KEYID_MACHINE_FLAG         = 00000020h
CRYPT_KEYID_ALLOC_FLAG           = 00008000h
CRYPT_KEYID_DELETE_FLAG          = 00000010h
CRYPT_KEYID_SET_NEW_FLAG         = 00002000h
CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_DEFAULT = 5
CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_DEFAULT = 10
CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_DEFAULT = 100000
CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_DEFAULT = 10
HCCE_CURRENT_USER                = 0
HCCE_LOCAL_MACHINE               = 1
CERT_CHAIN_CACHE_END_CERT        = 00000001h
CERT_CHAIN_THREAD_STORE_SYNC     = 00000002h
CERT_CHAIN_CACHE_ONLY_URL_RETRIEVAL = 00000004h
CERT_CHAIN_USE_LOCAL_MACHINE_STORE = 00000008h
CERT_CHAIN_ENABLE_CACHE_AUTO_UPDATE = 00000010h
CERT_CHAIN_ENABLE_SHARE_STORE    = 00000020h
CERT_TRUST_NO_ERROR              = 00000000h
CERT_TRUST_IS_NOT_TIME_VALID     = 00000001h
CERT_TRUST_IS_NOT_TIME_NESTED    = 00000002h
CERT_TRUST_IS_REVOKED            = 00000004h
CERT_TRUST_IS_NOT_SIGNATURE_VALID = 00000008h
CERT_TRUST_IS_NOT_VALID_FOR_USAGE = 00000010h
CERT_TRUST_IS_UNTRUSTED_ROOT     = 00000020h
CERT_TRUST_REVOCATION_STATUS_UNKNOWN = 00000040h
CERT_TRUST_IS_CYCLIC             = 00000080h
CERT_TRUST_INVALID_EXTENSION     = 00000100h
CERT_TRUST_INVALID_POLICY_CONSTRAINTS = 00000200h
CERT_TRUST_INVALID_BASIC_CONSTRAINTS = 00000400h
CERT_TRUST_INVALID_NAME_CONSTRAINTS = 00000800h
CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT = 00001000h
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT = 00002000h
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT = 00004000h
CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT = 00008000h
CERT_TRUST_IS_OFFLINE_REVOCATION = 01000000h
CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY = 02000000h
CERT_TRUST_IS_PARTIAL_CHAIN      = 00010000h
CERT_TRUST_CTL_IS_NOT_TIME_VALID = 00020000h
CERT_TRUST_CTL_IS_NOT_SIGNATURE_VALID = 00040000h
CERT_TRUST_CTL_IS_NOT_VALID_FOR_USAGE = 00080000h
CERT_TRUST_HAS_EXACT_MATCH_ISSUER = 00000001h
CERT_TRUST_HAS_KEY_MATCH_ISSUER  = 00000002h
CERT_TRUST_HAS_NAME_MATCH_ISSUER = 00000004h
CERT_TRUST_IS_SELF_SIGNED        = 00000008h
CERT_TRUST_HAS_PREFERRED_ISSUER  = 00000100h
CERT_TRUST_HAS_ISSUANCE_CHAIN_POLICY = 00000200h
CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS = 00000400h
CERT_TRUST_IS_COMPLEX_CHAIN      = 00010000h
USAGE_MATCH_TYPE_AND             = 00000000h
USAGE_MATCH_TYPE_OR              = 00000001h
CERT_CHAIN_REVOCATION_CHECK_END_CERT = 10000000h
CERT_CHAIN_REVOCATION_CHECK_CHAIN = 20000000h
CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT = 40000000h
CERT_CHAIN_REVOCATION_CHECK_CACHE_ONLY = 80000000h
CERT_CHAIN_REVOCATION_ACCUMULATIVE_TIMEOUT = 08000000h
CERT_CHAIN_DISABLE_PASS1_QUALITY_FILTERING = 00000040h
CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS = 00000080h
CERT_CHAIN_DISABLE_AUTH_ROOT_AUTO_UPDATE = 00000100h
CERT_CHAIN_TIMESTAMP_TIME        = 00000200h
REVOCATION_OID_CRL_REVOCATION    = 1
CERT_CHAIN_FIND_BY_ISSUER        = 1
CERT_CHAIN_FIND_BY_ISSUER_COMPARE_KEY_FLAG = 0001h
CERT_CHAIN_FIND_BY_ISSUER_COMPLEX_CHAIN_FLAG = 0002h
CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_URL_FLAG = 0004h
CERT_CHAIN_FIND_BY_ISSUER_LOCAL_MACHINE_FLAG = 0008h
CERT_CHAIN_FIND_BY_ISSUER_NO_KEY_FLAG = 4000h
CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_FLAG = 8000h
CERT_CHAIN_POLICY_IGNORE_NOT_TIME_VALID_FLAG = 00000001h
CERT_CHAIN_POLICY_IGNORE_CTL_NOT_TIME_VALID_FLAG = 00000002h
CERT_CHAIN_POLICY_IGNORE_NOT_TIME_NESTED_FLAG = 00000004h
CERT_CHAIN_POLICY_IGNORE_INVALID_BASIC_CONSTRAINTS_FLAG = 00000008h
CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG = 00000010h
CERT_CHAIN_POLICY_IGNORE_WRONG_USAGE_FLAG = 00000020h
CERT_CHAIN_POLICY_IGNORE_INVALID_NAME_FLAG = 00000040h
CERT_CHAIN_POLICY_IGNORE_INVALID_POLICY_FLAG = 00000080h
CERT_CHAIN_POLICY_IGNORE_END_REV_UNKNOWN_FLAG = 00000100h
CERT_CHAIN_POLICY_IGNORE_CTL_SIGNER_REV_UNKNOWN_FLAG = 00000200h
CERT_CHAIN_POLICY_IGNORE_CA_REV_UNKNOWN_FLAG = 00000400h
CERT_CHAIN_POLICY_IGNORE_ROOT_REV_UNKNOWN_FLAG = 00000800h
CERT_CHAIN_POLICY_ALLOW_TESTROOT_FLAG = 00008000h
CERT_CHAIN_POLICY_TRUST_TESTROOT_FLAG = 00004000h
CERT_CHAIN_POLICY_BASE           = 1
CERT_CHAIN_POLICY_AUTHENTICODE   = 2
CERT_CHAIN_POLICY_AUTHENTICODE_TS = 3
CERT_CHAIN_POLICY_SSL            = 4
CERT_CHAIN_POLICY_BASIC_CONSTRAINTS = 5
CERT_CHAIN_POLICY_NT_AUTH        = 6
CERT_CHAIN_POLICY_MICROSOFT_ROOT = 7
BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_CA_FLAG = 80000000h
BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_END_ENTITY_FLAG = 40000000h
MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG = 00010000h
CRYPT_STRING_BASE64HEADER        = 00000000h
CRYPT_STRING_BASE64              = 00000001h
CRYPT_STRING_BINARY              = 00000002h
CRYPT_STRING_BASE64REQUESTHEADER = 00000003h
CRYPT_STRING_HEX                 = 00000004h
CRYPT_STRING_HEXASCII            = 00000005h
CRYPT_STRING_BASE64_ANY          = 00000006h
CRYPT_STRING_ANY                 = 00000007h
CRYPT_STRING_HEX_ANY             = 00000008h
CRYPT_STRING_BASE64X509CRLHEADER = 00000009h
CRYPT_STRING_HEXADDR             = 0000000ah
CRYPT_STRING_HEXASCIIADDR        = 0000000bh
CRYPT_STRING_NOCR                = 80000000h
CRYPT_USER_KEYSET                = 00001000h
PKCS12_IMPORT_RESERVED_MASK      = 0ffff0000h
REPORT_NO_PRIVATE_KEY            = 0001h
REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY = 0002h
EXPORT_PRIVATE_KEYS              = 0004h
PKCS12_EXPORT_RESERVED_MASK      = 0ffff0000h

;;;; end wincrypt

;;;; odbcsql

;------------------------------------------------------------------------------------------
;                                   ODBCInst.h
;------------------------------------------------------------------------------------------
ODBC_ADD_DSN = 1
ODBC_CONFIG_DSN = 2
ODBC_REMOVE_DSN = 3
ODBC_ADD_SYS_DSN = 4
ODBC_CONFIG_SYS_DSN = 5
ODBC_REMOVE_SYS_DSN = 6
ODBC_REMOVE_DEFAULT_DSN = 7
ODBC_INSTALL_INQUIRY    = 1
ODBC_INSTALL_COMPLETE   = 2
ODBC_INSTALL_DRIVER = 1
ODBC_REMOVE_DRIVER  = 2
ODBC_CONFIG_DRIVER  = 3
ODBC_CONFIG_DRIVER_MAX = 100
ODBC_BOTH_DSN   = 0
ODBC_USER_DSN   = 1
ODBC_SYSTEM_DSN = 2
ODBC_ERROR_GENERAL_ERR = 1
ODBC_ERROR_INVALID_BUFF_LEN = 2
ODBC_ERROR_INVALID_HWND = 3
ODBC_ERROR_INVALID_STR = 4
ODBC_ERROR_INVALID_REQUEST_TYPE = 5
ODBC_ERROR_COMPONENT_NOT_FOUND = 6
ODBC_ERROR_INVALID_NAME = 7
ODBC_ERROR_INVALID_KEYWORD_VALUE = 8
ODBC_ERROR_INVALID_DSN = 9
ODBC_ERROR_INVALID_INF = 10
ODBC_ERROR_REQUEST_FAILED = 11
ODBC_ERROR_INVALID_PATH = 12
ODBC_ERROR_LOAD_LIB_FAILED = 13
ODBC_ERROR_INVALID_PARAM_SEQUENCE = 14
ODBC_ERROR_INVALID_LOG_FILE = 15
ODBC_ERROR_USER_CANCELED = 16
ODBC_ERROR_USAGE_UPDATE_FAILED = 17
ODBC_ERROR_CREATE_DSN_FAILED = 18
ODBC_ERROR_WRITING_SYSINFO_FAILED = 19
ODBC_ERROR_REMOVE_DSN_FAILED = 20
ODBC_ERROR_OUT_OF_MEM = 21
ODBC_ERROR_OUTPUT_STRING_TRUNCATED = 22
;---------------------------------------------------------------------------------------------------------------
;                           sql.h
;---------------------------------------------------------------------------------------------------------------
SQL_NULL_DATA = (-1)
SQL_DATA_AT_EXEC = (-2)
SQL_SUCCESS = 0
SQL_SUCCESS_WITH_INFO = 1
SQL_NO_DATA = 100
SQL_ERROR = (-1)
SQL_INVALID_HANDLE = (-2)
SQL_STILL_EXECUTING = 2
SQL_NEED_DATA = 99
SQL_NTS = (-3)
SQL_NTSL = (-3)
SQL_MAX_MESSAGE_LENGTH = 512
SQL_DATE_LEN = 10
SQL_TIME_LEN = 8
SQL_TIMESTAMP_LEN = 19
SQL_HANDLE_ENV = 1
SQL_HANDLE_DBC = 2
SQL_HANDLE_STMT = 3
SQL_HANDLE_DESC = 4
SQL_ATTR_OUTPUT_NTS = 10001
SQL_ATTR_AUTO_IPD = 10001
SQL_ATTR_METADATA_ID = 10014
SQL_ATTR_APP_ROW_DESC = 10010
SQL_ATTR_APP_PARAM_DESC = 10011
SQL_ATTR_IMP_ROW_DESC = 10012
SQL_ATTR_IMP_PARAM_DESC = 10013
SQL_ATTR_CURSOR_SCROLLABLE = (-1)
SQL_ATTR_CURSOR_SENSITIVITY = (-2)
SQL_NONSCROLLABLE   = 0
SQL_SCROLLABLE  = 1
SQL_DESC_COUNT = 1001
SQL_DESC_TYPE = 1002
SQL_DESC_LENGTH = 1003
SQL_DESC_OCTET_LENGTH_PTR = 1004
SQL_DESC_PRECISION = 1005
SQL_DESC_SCALE = 1006
SQL_DESC_DATETIME_INTERVAL_CODE = 1007
SQL_DESC_NULLABLE = 1008
SQL_DESC_INDICATOR_PTR = 1009
SQL_DESC_DATA_PTR = 1010
SQL_DESC_NAME = 1011
SQL_DESC_UNNAMED = 1012
SQL_DESC_OCTET_LENGTH = 1013
SQL_DESC_ALLOC_TYPE = 1099
SQL_DIAG_RETURNCODE = 1
SQL_DIAG_NUMBER = 2
SQL_DIAG_ROW_COUNT = 3
SQL_DIAG_SQLSTATE = 4
SQL_DIAG_NATIVE = 5
SQL_DIAG_MESSAGE_TEXT = 6
SQL_DIAG_DYNAMIC_FUNCTION = 7
SQL_DIAG_CLASS_ORIGIN = 8
SQL_DIAG_SUBCLASS_ORIGIN = 9
SQL_DIAG_CONNECTION_NAME = 10
SQL_DIAG_SERVER_NAME = 11
SQL_DIAG_DYNAMIC_FUNCTION_CODE = 12
SQL_DIAG_ALTER_DOMAIN   = 3
SQL_DIAG_ALTER_TABLE = 4
SQL_DIAG_CALL   = 7
SQL_DIAG_CREATE_ASSERTION   = 6
SQL_DIAG_CREATE_CHARACTER_SET   = 8
SQL_DIAG_CREATE_COLLATION   = 10
SQL_DIAG_CREATE_DOMAIN  = 23
SQL_DIAG_CREATE_INDEX = (-1)
SQL_DIAG_CREATE_SCHEMA  = 64
SQL_DIAG_CREATE_TABLE = 77
SQL_DIAG_CREATE_TRANSLATION = 79
SQL_DIAG_CREATE_VIEW = 84
SQL_DIAG_DELETE_WHERE = 19
SQL_DIAG_DROP_ASSERTION = 24
SQL_DIAG_DROP_CHARACTER_SET = 25
SQL_DIAG_DROP_COLLATION = 26
SQL_DIAG_DROP_DOMAIN    = 27
SQL_DIAG_DROP_INDEX = (-2)
SQL_DIAG_DROP_SCHEMA    = 31
SQL_DIAG_DROP_TABLE = 32
SQL_DIAG_DROP_TRANSLATION = 33
SQL_DIAG_DROP_VIEW = 36
SQL_DIAG_DYNAMIC_DELETE_CURSOR = 38
SQL_DIAG_DYNAMIC_UPDATE_CURSOR = 81
SQL_DIAG_GRANT = 48
SQL_DIAG_INSERT = 50
SQL_DIAG_REVOKE = 59
SQL_DIAG_SELECT_CURSOR = 85
SQL_DIAG_UNKNOWN_STATEMENT = 0
SQL_DIAG_UPDATE_WHERE = 82
SQL_UNKNOWN_TYPE    = 0
SQL_CHAR = 1
SQL_NUMERIC = 2
SQL_DECIMAL = 3
SQL_INTEGER = 4
SQL_SMALLINT = 5
SQL_FLOAT = 6
SQL_REAL = 7
SQL_DOUBLE = 8
SQL_DATETIME = 9
SQL_VARCHAR = 12
SQL_TYPE_DATE = 91
SQL_TYPE_TIME = 92
SQL_TYPE_TIMESTAMP = 93
SQL_UNSPECIFIED = 0
SQL_INSENSITIVE = 1
SQL_SENSITIVE = 2
SQL_ALL_TYPES = 0
SQL_DEFAULT = 99
SQL_ARD_TYPE = (-99)
SQL_CODE_DATE = 1
SQL_CODE_TIME = 2
SQL_CODE_TIMESTAMP = 3
SQL_FALSE = 0
SQL_TRUE = 1
SQL_NO_NULLS = 0
SQL_NULLABLE = 1
SQL_NULLABLE_UNKNOWN = 2
SQL_PRED_NONE = 0
SQL_PRED_CHAR = 1
SQL_PRED_BASIC = 2
SQL_NAMED = 0
SQL_UNNAMED = 1
SQL_DESC_ALLOC_AUTO = 1
SQL_DESC_ALLOC_USER = 2
SQL_CLOSE = 0
SQL_DROP = 1
SQL_UNBIND = 2
SQL_RESET_PARAMS = 3
SQL_FETCH_NEXT = 1
SQL_FETCH_FIRST = 2
SQL_FETCH_LAST = 3
SQL_FETCH_PRIOR = 4
SQL_FETCH_ABSOLUTE = 5
SQL_FETCH_RELATIVE = 6
SQL_COMMIT = 0
SQL_ROLLBACK = 1
SQL_NULL_HENV = 0
SQL_NULL_HDBC = 0
SQL_NULL_HSTMT = 0
SQL_NULL_HDESC = 0
SQL_NULL_HANDLE = 0
SQL_SCOPE_CURROW = 0
SQL_SCOPE_TRANSACTION = 1
SQL_SCOPE_SESSION = 2
SQL_PC_UNKNOWN = 0
SQL_PC_NON_PSEUDO = 1
SQL_PC_PSEUDO = 2
SQL_ROW_IDENTIFIER = 1
SQL_INDEX_UNIQUE = 0
SQL_INDEX_ALL = 1
SQL_INDEX_CLUSTERED = 1
SQL_INDEX_HASHED = 2
SQL_INDEX_OTHER = 3
SQL_API_SQLALLOCCONNECT = 1
SQL_API_SQLALLOCENV = 2
SQL_API_SQLALLOCHANDLE = 1001
SQL_API_SQLALLOCSTMT = 3
SQL_API_SQLBINDCOL = 4
SQL_API_SQLBINDPARAM = 1002
SQL_API_SQLCANCEL = 5
SQL_API_SQLCLOSECURSOR = 1003
SQL_API_SQLCOLATTRIBUTE = 6
SQL_API_SQLCOLUMNS = 40
SQL_API_SQLCONNECT = 7
SQL_API_SQLCOPYDESC = 1004
SQL_API_SQLDATASOURCES = 57
SQL_API_SQLDESCRIBECOL = 8
SQL_API_SQLDISCONNECT = 9
SQL_API_SQLENDTRAN = 1005
SQL_API_SQLERROR = 10
SQL_API_SQLEXECDIRECT = 11
SQL_API_SQLEXECUTE = 12
SQL_API_SQLFETCH = 13
SQL_API_SQLFETCHSCROLL = 1021
SQL_API_SQLFREECONNECT = 14
SQL_API_SQLFREEENV = 15
SQL_API_SQLFREEHANDLE = 1006
SQL_API_SQLFREESTMT = 16
SQL_API_SQLGETCONNECTATTR = 1007
SQL_API_SQLGETCONNECTOPTION = 42
SQL_API_SQLGETCURSORNAME = 17
SQL_API_SQLGETDATA = 43
SQL_API_SQLGETDESCFIELD = 1008
SQL_API_SQLGETDESCREC = 1009
SQL_API_SQLGETDIAGFIELD = 1010
SQL_API_SQLGETDIAGREC = 1011
SQL_API_SQLGETENVATTR = 1012
SQL_API_SQLGETFUNCTIONS = 44
SQL_API_SQLGETINFO = 45
SQL_API_SQLGETSTMTATTR = 1014
SQL_API_SQLGETSTMTOPTION = 46
SQL_API_SQLGETTYPEINFO = 47
SQL_API_SQLNUMRESULTCOLS = 18
SQL_API_SQLPARAMDATA = 48
SQL_API_SQLPREPARE = 19
SQL_API_SQLPUTDATA = 49
SQL_API_SQLROWCOUNT = 20
SQL_API_SQLSETCONNECTATTR = 1016
SQL_API_SQLSETCONNECTOPTION = 50
SQL_API_SQLSETCURSORNAME = 21
SQL_API_SQLSETDESCFIELD = 1017
SQL_API_SQLSETDESCREC = 1018
SQL_API_SQLSETENVATTR = 1019
SQL_API_SQLSETPARAM = 22
SQL_API_SQLSETSTMTATTR = 1020
SQL_API_SQLSETSTMTOPTION = 51
SQL_API_SQLSPECIALCOLUMNS = 52
SQL_API_SQLSTATISTICS = 53
SQL_API_SQLTABLES = 54
SQL_API_SQLTRANSACT = 23
SQL_MAX_DRIVER_CONNECTIONS = 0
SQL_MAXIMUM_DRIVER_CONNECTIONS  = SQL_MAX_DRIVER_CONNECTIONS
SQL_MAX_CONCURRENT_ACTIVITIES = 1
SQL_MAXIMUM_CONCURRENT_ACTIVITIES   = SQL_MAX_CONCURRENT_ACTIVITIES
SQL_DATA_SOURCE_NAME = 2
SQL_FETCH_DIRECTION = 8
SQL_SERVER_NAME = 13
SQL_SEARCH_PATTERN_ESCAPE = 14
SQL_DBMS_NAME = 17
SQL_DBMS_VER = 18
SQL_ACCESSIBLE_TABLES = 19
SQL_ACCESSIBLE_PROCEDURES = 20
SQL_CURSOR_COMMIT_BEHAVIOR = 23
SQL_DATA_SOURCE_READ_ONLY = 25
SQL_DEFAULT_TXN_ISOLATION = 26
SQL_IDENTIFIER_CASE = 28
SQL_IDENTIFIER_QUOTE_CHAR = 29
SQL_MAX_COLUMN_NAME_LEN = 30
SQL_MAXIMUM_COLUMN_NAME_LENGTH  = SQL_MAX_COLUMN_NAME_LEN
SQL_MAX_CURSOR_NAME_LEN = 31
SQL_MAXIMUM_CURSOR_NAME_LENGTH  = SQL_MAX_CURSOR_NAME_LEN
SQL_MAX_SCHEMA_NAME_LEN = 32
SQL_MAXIMUM_SCHEMA_NAME_LENGTH  = SQL_MAX_SCHEMA_NAME_LEN
SQL_MAX_CATALOG_NAME_LEN = 34
SQL_MAXIMUM_CATALOG_NAME_LENGTH = SQL_MAX_CATALOG_NAME_LEN
SQL_MAX_TABLE_NAME_LEN = 35
SQL_SCROLL_CONCURRENCY = 43
SQL_TXN_CAPABLE = 46
SQL_TRANSACTION_CAPABLE = SQL_TXN_CAPABLE
SQL_USER_NAME = 47
SQL_TXN_ISOLATION_OPTION = 72
SQL_TRANSACTION_ISOLATION_OPTION    = SQL_TXN_ISOLATION_OPTION
SQL_INTEGRITY = 73
SQL_GETDATA_EXTENSIONS = 81
SQL_NULL_COLLATION = 85
SQL_ALTER_TABLE = 86
SQL_ORDER_BY_COLUMNS_IN_SELECT = 90
SQL_SPECIAL_CHARACTERS = 94
SQL_MAX_COLUMNS_IN_GROUP_BY = 97
SQL_MAXIMUM_COLUMNS_IN_GROUP_BY = SQL_MAX_COLUMNS_IN_GROUP_BY
SQL_MAX_COLUMNS_IN_INDEX = 98
SQL_MAXIMUM_COLUMNS_IN_INDEX    = SQL_MAX_COLUMNS_IN_INDEX
SQL_MAX_COLUMNS_IN_ORDER_BY = 99
SQL_MAXIMUM_COLUMNS_IN_ORDER_BY = SQL_MAX_COLUMNS_IN_ORDER_BY
SQL_MAX_COLUMNS_IN_SELECT = 100
SQL_MAXIMUM_COLUMNS_IN_SELECT   = SQL_MAX_COLUMNS_IN_SELECT
SQL_MAX_COLUMNS_IN_TABLE = 101
SQL_MAX_INDEX_SIZE = 102
SQL_MAXIMUM_INDEX_SIZE  = SQL_MAX_INDEX_SIZE
SQL_MAX_ROW_SIZE = 104
SQL_MAXIMUM_ROW_SIZE    = SQL_MAX_ROW_SIZE
SQL_MAX_STATEMENT_LEN = 105
SQL_MAXIMUM_STATEMENT_LENGTH    = SQL_MAX_STATEMENT_LEN
SQL_MAX_TABLES_IN_SELECT = 106
SQL_MAXIMUM_TABLES_IN_SELECT    = SQL_MAX_TABLES_IN_SELECT
SQL_MAX_USER_NAME_LEN = 107
SQL_MAXIMUM_USER_NAME_LENGTH    = SQL_MAX_USER_NAME_LEN
SQL_OJ_CAPABILITIES = 115
SQL_OUTER_JOIN_CAPABILITIES = SQL_OJ_CAPABILITIES
SQL_XOPEN_CLI_YEAR = 10000
SQL_CURSOR_SENSITIVITY = 10001
SQL_DESCRIBE_PARAMETER = 10002
SQL_CATALOG_NAME = 10003
SQL_COLLATION_SEQ = 10004
SQL_MAX_IDENTIFIER_LEN = 10005
SQL_MAXIMUM_IDENTIFIER_LENGTH   = SQL_MAX_IDENTIFIER_LEN
SQL_AT_ADD_COLUMN = 1
SQL_AT_DROP_COLUMN = 2
SQL_AT_ADD_CONSTRAINT = 8
SQL_AT_COLUMN_SINGLE    = 20h
SQL_AT_ADD_COLUMN_DEFAULT   = 40h
SQL_AT_ADD_COLUMN_COLLATION = 80h
SQL_AT_SET_COLUMN_DEFAULT   = 100h
SQL_AT_DROP_COLUMN_DEFAULT  = 200h
SQL_AT_DROP_COLUMN_CASCADE  = 400h
SQL_AT_DROP_COLUMN_RESTRICT = 800h
SQL_AT_ADD_TABLE_CONSTRAINT = 1000h
SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE    = 2000h
SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT   = 4000h
SQL_AT_CONSTRAINT_NAME_DEFINITION   = 8000h
SQL_AT_CONSTRAINT_INITIALLY_DEFERRED    = 10000h
SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE   = 20000h
SQL_AT_CONSTRAINT_DEFERRABLE    = 40000h
SQL_AT_CONSTRAINT_NON_DEFERRABLE    = 80000h
SQL_AM_NONE = 0
SQL_AM_CONNECTION = 1
SQL_AM_STATEMENT = 2
SQL_CB_DELETE = 0
SQL_CB_CLOSE = 1
SQL_CB_PRESERVE = 2
SQL_FD_FETCH_NEXT = 1
SQL_FD_FETCH_FIRST = 2
SQL_FD_FETCH_LAST = 4
SQL_FD_FETCH_PRIOR = 8
SQL_FD_FETCH_ABSOLUTE = 10h
SQL_FD_FETCH_RELATIVE = 20h
SQL_GD_ANY_COLUMN = 1
SQL_GD_ANY_ORDER = 2
SQL_IC_UPPER = 1
SQL_IC_LOWER = 2
SQL_IC_SENSITIVE = 3
SQL_IC_MIXED = 4
SQL_OJ_LEFT = 1
SQL_OJ_RIGHT = 2
SQL_OJ_FULL = 4
SQL_OJ_NESTED = 8
SQL_OJ_NOT_ORDERED = 10h
SQL_OJ_INNER = 20h
SQL_OJ_ALL_COMPARISON_OPS = 40h
SQL_SCCO_READ_ONLY = 1
SQL_SCCO_LOCK = 2
SQL_SCCO_OPT_ROWVER = 4
SQL_SCCO_OPT_VALUES = 8
SQL_TC_NONE = 0
SQL_TC_DML = 1
SQL_TC_ALL = 2
SQL_TC_DDL_COMMIT = 3
SQL_TC_DDL_IGNORE = 4
SQL_TXN_READ_UNCOMMITTED = 1
SQL_TRANSACTION_READ_UNCOMMITTED    = SQL_TXN_READ_UNCOMMITTED
SQL_TXN_READ_COMMITTED = 2
SQL_TRANSACTION_READ_COMMITTED  = SQL_TXN_READ_COMMITTED
SQL_TXN_REPEATABLE_READ = 4
SQL_TRANSACTION_REPEATABLE_READ = SQL_TXN_REPEATABLE_READ
SQL_TXN_SERIALIZABLE = 8
SQL_TRANSACTION_SERIALIZABLE    = SQL_TXN_SERIALIZABLE
SQL_NC_HIGH = 0
SQL_NC_LOW = 1

;------------------------------------------------------------------------------------------------------------
;                   sqlext.h
;-------------------------------------------------------------------------------------------------------------

SQL_SPEC_MAJOR = 3
SQL_SPEC_MINOR  = 51
SQL_SPEC_STRING equ "03.51";A
SQL_SQLSTATE_SIZE   = 5
SQL_MAX_DSN_LENGTH  = 32
SQL_MAX_OPTION_STRING_LENGTH = 256
SQL_NO_DATA_FOUND   = SQL_NO_DATA
SQL_HANDLE_SENV = 5
SQL_ATTR_ODBC_VERSION   = 200
SQL_ATTR_CONNECTION_POOLING = 201
SQL_ATTR_CP_MATCH   = 202
SQL_CP_OFF  = 0
SQL_CP_ONE_PER_DRIVER   = 1
SQL_CP_ONE_PER_HENV = 2
SQL_CP_DEFAULT  = SQL_CP_OFF
SQL_CP_STRICT_MATCH = 0
SQL_CP_RELAXED_MATCH    = 1
SQL_CP_MATCH_DEFAULT    = SQL_CP_STRICT_MATCH
SQL_OV_ODBC2    = 2
SQL_OV_ODBC3 = 3
SQL_ACCESS_MODE = 101
SQL_AUTOCOMMIT = 102
SQL_LOGIN_TIMEOUT = 103
SQL_OPT_TRACE = 104
SQL_OPT_TRACEFILE = 105
SQL_TRANSLATE_DLL = 106
SQL_TRANSLATE_OPTION = 107
SQL_TXN_ISOLATION = 108
SQL_CURRENT_QUALIFIER = 109
SQL_ODBC_CURSORS = 110
SQL_QUIET_MODE = 111
SQL_PACKET_SIZE = 112
SQL_ATTR_ACCESS_MODE    = SQL_ACCESS_MODE
SQL_ATTR_AUTOCOMMIT = SQL_AUTOCOMMIT
SQL_ATTR_CONNECTION_TIMEOUT = 113
SQL_ATTR_CURRENT_CATALOG    = SQL_CURRENT_QUALIFIER
SQL_ATTR_DISCONNECT_BEHAVIOR    = 114
SQL_ATTR_ENLIST_IN_DTC  = 1207
SQL_ATTR_ENLIST_IN_XA   = 1208
SQL_ATTR_LOGIN_TIMEOUT  = SQL_LOGIN_TIMEOUT
SQL_ATTR_ODBC_CURSORS   = SQL_ODBC_CURSORS
SQL_ATTR_PACKET_SIZE    = SQL_PACKET_SIZE
SQL_ATTR_QUIET_MODE = SQL_QUIET_MODE
SQL_ATTR_TRACE  = SQL_OPT_TRACE
SQL_ATTR_TRACEFILE  = SQL_OPT_TRACEFILE
SQL_ATTR_TRANSLATE_LIB  = SQL_TRANSLATE_DLL
SQL_ATTR_TRANSLATE_OPTION   = SQL_TRANSLATE_OPTION
SQL_ATTR_TXN_ISOLATION  = SQL_TXN_ISOLATION
SQL_ATTR_CONNECTION_DEAD    = 1209
SQL_ATTR_ANSI_APP   = 115
SQL_MODE_READ_WRITE = 0
SQL_MODE_READ_ONLY = 1
SQL_MODE_DEFAULT = SQL_MODE_READ_WRITE
SQL_AUTOCOMMIT_OFF = 0
SQL_AUTOCOMMIT_ON = 1
SQL_AUTOCOMMIT_DEFAULT = SQL_AUTOCOMMIT_ON
SQL_LOGIN_TIMEOUT_DEFAULT = 15
SQL_OPT_TRACE_OFF = 0
SQL_OPT_TRACE_ON = 1
SQL_OPT_TRACE_DEFAULT = SQL_OPT_TRACE_OFF
SQL_OPT_TRACE_FILE_DEFAULT equ "\SQL.LOG";A
SQL_CUR_USE_IF_NEEDED = 0
SQL_CUR_USE_ODBC = 1
SQL_CUR_USE_DRIVER = 2
SQL_CUR_DEFAULT = SQL_CUR_USE_DRIVER
SQL_DB_RETURN_TO_POOL   = 0
SQL_DB_DISCONNECT   = 1
SQL_DB_DEFAULT  = SQL_DB_RETURN_TO_POOL
SQL_DTC_DONE    = 0
SQL_CD_TRUE = 1
SQL_CD_FALSE    = 0
SQL_AA_TRUE = 1
SQL_AA_FALSE    = 0
SQL_QUERY_TIMEOUT   = 0
SQL_MAX_ROWS    = 1
SQL_NOSCAN  = 2
SQL_MAX_LENGTH  = 3
SQL_ASYNC_ENABLE    = 4
SQL_BIND_TYPE   = 5
SQL_CURSOR_TYPE = 6
SQL_CONCURRENCY = 7
SQL_KEYSET_SIZE = 8
SQL_ROWSET_SIZE = 9
SQL_SIMULATE_CURSOR = 10
SQL_RETRIEVE_DATA   = 11
SQL_USE_BOOKMARKS   = 12
SQL_GET_BOOKMARK    = 13
SQL_ROW_NUMBER  = 14
SQL_ATTR_ASYNC_ENABLE   = 4
SQL_ATTR_CONCURRENCY    = SQL_CONCURRENCY
SQL_ATTR_CURSOR_TYPE    = SQL_CURSOR_TYPE
SQL_ATTR_ENABLE_AUTO_IPD    = 15
SQL_ATTR_FETCH_BOOKMARK_PTR = 16
SQL_ATTR_KEYSET_SIZE    = SQL_KEYSET_SIZE
SQL_ATTR_MAX_LENGTH = SQL_MAX_LENGTH
SQL_ATTR_MAX_ROWS   = SQL_MAX_ROWS
SQL_ATTR_NOSCAN = SQL_NOSCAN
SQL_ATTR_PARAM_BIND_OFFSET_PTR  = 17
SQL_ATTR_PARAM_BIND_TYPE    = 18
SQL_ATTR_PARAM_OPERATION_PTR    = 19
SQL_ATTR_PARAM_STATUS_PTR   = 20
SQL_ATTR_PARAMS_PROCESSED_PTR   = 21
SQL_ATTR_PARAMSET_SIZE  = 22
SQL_ATTR_QUERY_TIMEOUT  = SQL_QUERY_TIMEOUT
SQL_ATTR_RETRIEVE_DATA  = SQL_RETRIEVE_DATA
SQL_ATTR_ROW_BIND_OFFSET_PTR    = 23
SQL_ATTR_ROW_BIND_TYPE  = SQL_BIND_TYPE
SQL_ATTR_ROW_NUMBER = SQL_ROW_NUMBER
SQL_ATTR_ROW_OPERATION_PTR  = 24
SQL_ATTR_ROW_STATUS_PTR = 25
SQL_ATTR_ROWS_FETCHED_PTR   = 26
SQL_ATTR_ROW_ARRAY_SIZE = 27
SQL_ATTR_SIMULATE_CURSOR    = SQL_SIMULATE_CURSOR
SQL_ATTR_USE_BOOKMARKS  = SQL_USE_BOOKMARKS
SQL_COL_PRED_CHAR   = SQL_LIKE_ONLY
SQL_COL_PRED_BASIC  = SQL_ALL_EXCEPT_LIKE
SQL_IS_POINTER  = (-4)
SQL_IS_UINTEGER = (-5)
SQL_IS_INTEGER  = (-6)
SQL_IS_USMALLINT    = (-7)
SQL_IS_SMALLINT = (-8)
SQL_PARAM_BIND_BY_COLUMN    = 0
SQL_PARAM_BIND_TYPE_DEFAULT = SQL_PARAM_BIND_BY_COLUMN
SQL_QUERY_TIMEOUT_DEFAULT = 0
SQL_MAX_ROWS_DEFAULT = 0
SQL_NOSCAN_OFF = 0
SQL_NOSCAN_ON = 1
SQL_NOSCAN_DEFAULT = SQL_NOSCAN_OFF
SQL_MAX_LENGTH_DEFAULT = 0
SQL_ASYNC_ENABLE_OFF    = 0
SQL_ASYNC_ENABLE_ON = 1
SQL_ASYNC_ENABLE_DEFAULT = SQL_ASYNC_ENABLE_OFF
SQL_BIND_BY_COLUMN = 0
SQL_BIND_TYPE_DEFAULT = SQL_BIND_BY_COLUMN
SQL_CONCUR_READ_ONLY = 1
SQL_CONCUR_LOCK = 2
SQL_CONCUR_ROWVER = 3
SQL_CONCUR_VALUES = 4
SQL_CONCUR_DEFAULT = SQL_CONCUR_READ_ONLY
SQL_CURSOR_FORWARD_ONLY = 0
SQL_CURSOR_KEYSET_DRIVEN = 1
SQL_CURSOR_DYNAMIC = 2
SQL_CURSOR_STATIC = 3
SQL_CURSOR_TYPE_DEFAULT = SQL_CURSOR_FORWARD_ONLY
SQL_ROWSET_SIZE_DEFAULT = 1
SQL_KEYSET_SIZE_DEFAULT = 0
SQL_SC_NON_UNIQUE = 0
SQL_SC_TRY_UNIQUE = 1
SQL_SC_UNIQUE = 2
SQL_RD_OFF = 0
SQL_RD_ON = 1
SQL_RD_DEFAULT = SQL_RD_ON
SQL_UB_OFF = 0
SQL_UB_ON   = 01
SQL_UB_DEFAULT = SQL_UB_OFF
SQL_UB_FIXED    = SQL_UB_ON
SQL_UB_VARIABLE = 2
SQL_DESC_ARRAY_SIZE = 20
SQL_DESC_ARRAY_STATUS_PTR   = 21
SQL_DESC_AUTO_UNIQUE_VALUE  = SQL_COLUMN_AUTO_INCREMENT
SQL_DESC_BASE_COLUMN_NAME   = 22
SQL_DESC_BASE_TABLE_NAME    = 23
SQL_DESC_BIND_OFFSET_PTR    = 24
SQL_DESC_BIND_TYPE  = 25
SQL_DESC_CASE_SENSITIVE = SQL_COLUMN_CASE_SENSITIVE
SQL_DESC_CATALOG_NAME   = SQL_COLUMN_QUALIFIER_NAME
SQL_DESC_CONCISE_TYPE   = SQL_COLUMN_TYPE
SQL_DESC_DATETIME_INTERVAL_PRECISION    = 26
SQL_DESC_DISPLAY_SIZE   = SQL_COLUMN_DISPLAY_SIZE
SQL_DESC_FIXED_PREC_SCALE   = SQL_COLUMN_MONEY
SQL_DESC_LABEL  = SQL_COLUMN_LABEL
SQL_DESC_LITERAL_PREFIX = 27
SQL_DESC_LITERAL_SUFFIX = 28
SQL_DESC_LOCAL_TYPE_NAME    = 29
SQL_DESC_MAXIMUM_SCALE  = 30
SQL_DESC_MINIMUM_SCALE  = 31
SQL_DESC_NUM_PREC_RADIX = 32
SQL_DESC_PARAMETER_TYPE = 33
SQL_DESC_ROWS_PROCESSED_PTR = 34
SQL_DESC_ROWVER = 35
SQL_DESC_SCHEMA_NAME    = SQL_COLUMN_OWNER_NAME
SQL_DESC_SEARCHABLE = SQL_COLUMN_SEARCHABLE
SQL_DESC_TYPE_NAME  = SQL_COLUMN_TYPE_NAME
SQL_DESC_TABLE_NAME = SQL_COLUMN_TABLE_NAME
SQL_DESC_UNSIGNED   = SQL_COLUMN_UNSIGNED
SQL_DESC_UPDATABLE  = SQL_COLUMN_UPDATABLE
SQL_DIAG_CURSOR_ROW_COUNT   = (-1249)
SQL_DIAG_ROW_NUMBER = (-1248)
SQL_DIAG_COLUMN_NUMBER  = (-1247)
SQL_DATE = 9
SQL_INTERVAL    = 10
SQL_TIME = 10
SQL_TIMESTAMP = 11
SQL_LONGVARCHAR = (-1)
SQL_BINARY = (-2)
SQL_VARBINARY = (-3)
SQL_LONGVARBINARY = (-4)
SQL_BIGINT = (-5)
SQL_TINYINT = (-6)
SQL_BIT = (-7)
SQL_GUID    = (-11)
SQL_CODE_YEAR   = 1
SQL_CODE_MONTH  = 2
SQL_CODE_DAY    = 3
SQL_CODE_HOUR   = 4
SQL_CODE_MINUTE = 5
SQL_CODE_SECOND = 6
SQL_CODE_YEAR_TO_MONTH  = 7
SQL_CODE_DAY_TO_HOUR    = 8
SQL_CODE_DAY_TO_MINUTE  = 9
SQL_CODE_DAY_TO_SECOND  = 10
SQL_CODE_HOUR_TO_MINUTE = 11
SQL_CODE_HOUR_TO_SECOND = 12
SQL_CODE_MINUTE_TO_SECOND   = 13
SQL_INTERVAL_YEAR   = (100 + SQL_CODE_YEAR)
SQL_INTERVAL_MONTH  = (100 + SQL_CODE_MONTH)
SQL_INTERVAL_DAY    = (100 + SQL_CODE_DAY)
SQL_INTERVAL_HOUR   = (100 + SQL_CODE_HOUR)
SQL_INTERVAL_MINUTE = (100 + SQL_CODE_MINUTE)
SQL_INTERVAL_SECOND = (100 + SQL_CODE_SECOND)
SQL_INTERVAL_YEAR_TO_MONTH  = (100 + SQL_CODE_YEAR_TO_MONTH)
SQL_INTERVAL_DAY_TO_HOUR    = (100 + SQL_CODE_DAY_TO_HOUR)
SQL_INTERVAL_DAY_TO_MINUTE  = (100 + SQL_CODE_DAY_TO_MINUTE)
SQL_INTERVAL_DAY_TO_SECOND  = (100 + SQL_CODE_DAY_TO_SECOND)
SQL_INTERVAL_HOUR_TO_MINUTE = (100 + SQL_CODE_HOUR_TO_MINUTE)
SQL_INTERVAL_HOUR_TO_SECOND = (100 + SQL_CODE_HOUR_TO_SECOND)
SQL_INTERVAL_MINUTE_TO_SECOND   = (100 + SQL_CODE_MINUTE_TO_SECOND)
SQL_WCHAR       =   (-8)
SQL_UNICODE = SQL_WCHAR
SQL_WVARCHAR    =   (-9)
SQL_UNICODE_VARCHAR = SQL_WVARCHAR
SQL_WLONGVARCHAR =   (-10)
SQL_UNICODE_LONGVARCHAR = SQL_WLONGVARCHAR
SQL_UNICODE_CHAR    = SQL_WCHAR
SQL_C_CHAR = SQL_CHAR
SQL_C_LONG = SQL_INTEGER
SQL_C_SHORT = SQL_SMALLINT
SQL_C_FLOAT = SQL_REAL
SQL_C_DOUBLE = SQL_DOUBLE
SQL_C_NUMERIC   = SQL_NUMERIC
SQL_C_DEFAULT = 99
SQL_SIGNED_OFFSET = (-20)
SQL_UNSIGNED_OFFSET = (-22)
SQL_C_DATE = SQL_DATE
SQL_C_TIME = SQL_TIME
SQL_C_TIMESTAMP = SQL_TIMESTAMP
SQL_C_TYPE_DATE = SQL_TYPE_DATE
SQL_C_TYPE_TIME = SQL_TYPE_TIME
SQL_C_TYPE_TIMESTAMP    = SQL_TYPE_TIMESTAMP
SQL_C_INTERVAL_YEAR = SQL_INTERVAL_YEAR
SQL_C_INTERVAL_MONTH    = SQL_INTERVAL_MONTH
SQL_C_INTERVAL_DAY  = SQL_INTERVAL_DAY
SQL_C_INTERVAL_HOUR = SQL_INTERVAL_HOUR
SQL_C_INTERVAL_MINUTE   = SQL_INTERVAL_MINUTE
SQL_C_INTERVAL_SECOND   = SQL_INTERVAL_SECOND
SQL_C_INTERVAL_YEAR_TO_MONTH    = SQL_INTERVAL_YEAR_TO_MONTH
SQL_C_INTERVAL_DAY_TO_HOUR  = SQL_INTERVAL_DAY_TO_HOUR
SQL_C_INTERVAL_DAY_TO_MINUTE    = SQL_INTERVAL_DAY_TO_MINUTE
SQL_C_INTERVAL_DAY_TO_SECOND    = SQL_INTERVAL_DAY_TO_SECOND
SQL_C_INTERVAL_HOUR_TO_MINUTE   = SQL_INTERVAL_HOUR_TO_MINUTE
SQL_C_INTERVAL_HOUR_TO_SECOND   = SQL_INTERVAL_HOUR_TO_SECOND
SQL_C_INTERVAL_MINUTE_TO_SECOND = SQL_INTERVAL_MINUTE_TO_SECOND
SQL_C_BINARY = SQL_BINARY
SQL_C_BIT = SQL_BIT
SQL_C_SBIGINT   = (SQL_BIGINT+SQL_SIGNED_OFFSET)
SQL_C_UBIGINT   = (SQL_BIGINT+SQL_UNSIGNED_OFFSET)
SQL_C_TINYINT = SQL_TINYINT
SQL_C_SLONG = (SQL_C_LONG+SQL_SIGNED_OFFSET)
SQL_C_SSHORT = (SQL_C_SHORT+SQL_SIGNED_OFFSET)
SQL_C_STINYINT = (SQL_TINYINT+SQL_SIGNED_OFFSET)
SQL_C_ULONG = (SQL_C_LONG+SQL_UNSIGNED_OFFSET)
SQL_C_USHORT = (SQL_C_SHORT+SQL_UNSIGNED_OFFSET)
SQL_C_UTINYINT = (SQL_TINYINT+SQL_UNSIGNED_OFFSET)
SQL_C_BOOKMARK = SQL_C_ULONG
SQL_C_GUID  = SQL_GUID
SQL_TYPE_NULL = 0
SQL_C_VARBOOKMARK   = SQL_C_BINARY
SQL_NO_ROW_NUMBER   = (-1)
SQL_NO_COLUMN_NUMBER    = (-1)
SQL_ROW_NUMBER_UNKNOWN  = (-2)
SQL_COLUMN_NUMBER_UNKNOWN   = (-2)
SQL_DEFAULT_PARAM = (-5)
SQL_IGNORE = (-6)
SQL_COLUMN_IGNORE   = SQL_IGNORE
SQL_LEN_DATA_AT_EXEC_OFFSET = (-100)
SQL_LEN_BINARY_ATTR_OFFSET  = (-100)
SQL_PARAM_TYPE_DEFAULT = SQL_PARAM_INPUT_OUTPUT
SQL_SETPARAM_VALUE_MAX = (-1)
SQL_COLUMN_COUNT = 0
SQL_COLUMN_NAME = 1
SQL_COLUMN_TYPE = 2
SQL_COLUMN_LENGTH = 3
SQL_COLUMN_PRECISION = 4
SQL_COLUMN_SCALE = 5
SQL_COLUMN_DISPLAY_SIZE = 6
SQL_COLUMN_NULLABLE = 7
SQL_COLUMN_UNSIGNED = 8
SQL_COLUMN_MONEY = 9
SQL_COLUMN_UPDATABLE = 10
SQL_COLUMN_AUTO_INCREMENT = 11
SQL_COLUMN_CASE_SENSITIVE = 12
SQL_COLUMN_SEARCHABLE = 13
SQL_COLUMN_TYPE_NAME = 14
SQL_COLUMN_TABLE_NAME = 15
SQL_COLUMN_OWNER_NAME = 16
SQL_COLUMN_QUALIFIER_NAME = 17
SQL_COLUMN_LABEL = 18
SQL_COLATT_OPT_MAX = SQL_COLUMN_LABEL
SQL_COLATT_OPT_MIN = SQL_COLUMN_COUNT
SQL_ATTR_READONLY = 0
SQL_ATTR_WRITE = 1
SQL_ATTR_READWRITE_UNKNOWN = 2
SQL_UNSEARCHABLE = 0
SQL_LIKE_ONLY = 1
SQL_ALL_EXCEPT_LIKE = 2
SQL_SEARCHABLE = 3
SQL_PRED_SEARCHABLE = SQL_SEARCHABLE
SQL_NO_TOTAL = (-4)
SQL_API_SQLALLOCHANDLESTD   = 73
SQL_API_SQLBULKOPERATIONS   = 24
SQL_API_SQLBINDPARAMETER = 72
SQL_API_SQLBROWSECONNECT = 55
SQL_API_SQLCOLATTRIBUTES = 6
SQL_API_SQLCOLUMNPRIVILEGES = 56
SQL_API_SQLDESCRIBEPARAM = 58
SQL_API_SQLDRIVERCONNECT    = 41
SQL_API_SQLDRIVERS = 71
SQL_API_SQLEXTENDEDFETCH = 59
SQL_API_SQLFOREIGNKEYS = 60
SQL_API_SQLMORERESULTS = 61
SQL_API_SQLNATIVESQL = 62
SQL_API_SQLNUMPARAMS = 63
SQL_API_SQLPARAMOPTIONS = 64
SQL_API_SQLPRIMARYKEYS = 65
SQL_API_SQLPROCEDURECOLUMNS = 66
SQL_API_SQLPROCEDURES = 67
SQL_API_SQLSETPOS = 68
SQL_API_SQLSETSCROLLOPTIONS = 69
SQL_API_SQLTABLEPRIVILEGES = 70
SQL_API_ALL_FUNCTIONS = 0
SQL_API_LOADBYORDINAL = 199
SQL_API_ODBC3_ALL_FUNCTIONS = 999
SQL_API_ODBC3_ALL_FUNCTIONS_SIZE    = 250
SQL_INFO_FIRST = 0
SQL_ACTIVE_CONNECTIONS = 0
SQL_ACTIVE_STATEMENTS = 1
SQL_DRIVER_HDBC = 3
SQL_DRIVER_HENV = 4
SQL_DRIVER_HSTMT = 5
SQL_DRIVER_NAME = 6
SQL_DRIVER_VER = 7
SQL_ODBC_API_CONFORMANCE = 9
SQL_ODBC_VER = 10
SQL_ROW_UPDATES = 11
SQL_ODBC_SAG_CLI_CONFORMANCE = 12
SQL_ODBC_SQL_CONFORMANCE = 15
SQL_PROCEDURES = 21
SQL_CONCAT_NULL_BEHAVIOR = 22
SQL_CURSOR_ROLLBACK_BEHAVIOR = 24
SQL_EXPRESSIONS_IN_ORDERBY = 27
SQL_MAX_OWNER_NAME_LEN = 32
SQL_MAX_PROCEDURE_NAME_LEN = 33
SQL_MAX_QUALIFIER_NAME_LEN = 34
SQL_MULT_RESULT_SETS = 36
SQL_MULTIPLE_ACTIVE_TXN = 37
SQL_OUTER_JOINS = 38
SQL_OWNER_TERM = 39
SQL_PROCEDURE_TERM = 40
SQL_QUALIFIER_NAME_SEPARATOR = 41
SQL_QUALIFIER_TERM = 42
SQL_SCROLL_OPTIONS = 44
SQL_TABLE_TERM = 45
SQL_CONVERT_FUNCTIONS = 48
SQL_NUMERIC_FUNCTIONS = 49
SQL_STRING_FUNCTIONS = 50
SQL_SYSTEM_FUNCTIONS = 51
SQL_TIMEDATE_FUNCTIONS = 52
SQL_CONVERT_BIGINT = 53
SQL_CONVERT_BINARY = 54
SQL_CONVERT_BIT = 55
SQL_CONVERT_CHAR = 56
SQL_CONVERT_DATE = 57
SQL_CONVERT_DECIMAL = 58
SQL_CONVERT_DOUBLE = 59
SQL_CONVERT_FLOAT = 60
SQL_CONVERT_INTEGER = 61
SQL_CONVERT_LONGVARCHAR = 62
SQL_CONVERT_NUMERIC = 63
SQL_CONVERT_REAL = 64
SQL_CONVERT_SMALLINT = 65
SQL_CONVERT_TIME = 66
SQL_CONVERT_TIMESTAMP = 67
SQL_CONVERT_TINYINT = 68
SQL_CONVERT_VARBINARY = 69
SQL_CONVERT_VARCHAR = 70
SQL_CONVERT_LONGVARBINARY = 71
SQL_ODBC_SQL_OPT_IEF = 73
SQL_CORRELATION_NAME = 74
SQL_NON_NULLABLE_COLUMNS = 75
SQL_DRIVER_HLIB = 76
SQL_DRIVER_ODBC_VER = 77
SQL_LOCK_TYPES = 78
SQL_POS_OPERATIONS = 79
SQL_POSITIONED_STATEMENTS = 80
SQL_BOOKMARK_PERSISTENCE = 82
SQL_STATIC_SENSITIVITY = 83
SQL_FILE_USAGE = 84
SQL_COLUMN_ALIAS = 87
SQL_GROUP_BY = 88
SQL_KEYWORDS = 89
SQL_OWNER_USAGE = 91
SQL_QUALIFIER_USAGE = 92
SQL_QUOTED_IDENTIFIER_CASE = 93
SQL_SUBQUERIES = 95
SQL_UNION = 96
SQL_MAX_ROW_SIZE_INCLUDES_LONG = 103
SQL_MAX_CHAR_LITERAL_LEN = 108
SQL_TIMEDATE_ADD_INTERVALS = 109
SQL_TIMEDATE_DIFF_INTERVALS = 110
SQL_NEED_LONG_DATA_LEN = 111
SQL_MAX_BINARY_LITERAL_LEN = 112
SQL_LIKE_ESCAPE_CLAUSE = 113
SQL_QUALIFIER_LOCATION = 114
SQL_ACTIVE_ENVIRONMENTS = 116
SQL_ALTER_DOMAIN    = 117
SQL_SQL_CONFORMANCE = 118
SQL_DATETIME_LITERALS   = 119
SQL_ASYNC_MODE  = 10021
SQL_BATCH_ROW_COUNT = 120
SQL_BATCH_SUPPORT   = 121
SQL_CATALOG_LOCATION    = SQL_QUALIFIER_LOCATION
SQL_CATALOG_NAME_SEPARATOR  = SQL_QUALIFIER_NAME_SEPARATOR
SQL_CATALOG_TERM    = SQL_QUALIFIER_TERM
SQL_CATALOG_USAGE   = SQL_QUALIFIER_USAGE
SQL_CONVERT_WCHAR   = 122
SQL_CONVERT_INTERVAL_DAY_TIME   = 123
SQL_CONVERT_INTERVAL_YEAR_MONTH = 124
SQL_CONVERT_WLONGVARCHAR    = 125
SQL_CONVERT_WVARCHAR    = 126
SQL_CREATE_ASSERTION    = 127
SQL_CREATE_CHARACTER_SET    = 128
SQL_CREATE_COLLATION    = 129
SQL_CREATE_DOMAIN   = 130
SQL_CREATE_SCHEMA   = 131
SQL_CREATE_TABLE    = 132
SQL_CREATE_TRANSLATION  = 133
SQL_CREATE_VIEW = 134
SQL_DRIVER_HDESC    = 135
SQL_DROP_ASSERTION  = 136
SQL_DROP_CHARACTER_SET  = 137
SQL_DROP_COLLATION  = 138
SQL_DROP_DOMAIN = 139
SQL_DROP_SCHEMA = 140
SQL_DROP_TABLE  = 141
SQL_DROP_TRANSLATION    = 142
SQL_DROP_VIEW   = 143
SQL_DYNAMIC_CURSOR_ATTRIBUTES1  = 144
SQL_DYNAMIC_CURSOR_ATTRIBUTES2  = 145
SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1 = 146
SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2 = 147
SQL_INDEX_KEYWORDS  = 148
SQL_INFO_SCHEMA_VIEWS   = 149
SQL_KEYSET_CURSOR_ATTRIBUTES1   = 150
SQL_KEYSET_CURSOR_ATTRIBUTES2   = 151
SQL_MAX_ASYNC_CONCURRENT_STATEMENTS = 10022
SQL_ODBC_INTERFACE_CONFORMANCE  = 152
SQL_PARAM_ARRAY_ROW_COUNTS = 153
SQL_PARAM_ARRAY_SELECTS = 154
SQL_SCHEMA_TERM = SQL_OWNER_TERM
SQL_SCHEMA_USAGE    = SQL_OWNER_USAGE
SQL_SQL92_DATETIME_FUNCTIONS    = 155
SQL_SQL92_FOREIGN_KEY_DELETE_RULE   = 156
SQL_SQL92_FOREIGN_KEY_UPDATE_RULE   = 157
SQL_SQL92_GRANT = 158
SQL_SQL92_NUMERIC_VALUE_FUNCTIONS   = 159
SQL_SQL92_PREDICATES    = 160
SQL_SQL92_RELATIONAL_JOIN_OPERATORS = 161
SQL_SQL92_REVOKE    = 162
SQL_SQL92_ROW_VALUE_CONSTRUCTOR = 163
SQL_SQL92_STRING_FUNCTIONS  = 164
SQL_SQL92_VALUE_EXPRESSIONS = 165
SQL_STANDARD_CLI_CONFORMANCE    = 166
SQL_STATIC_CURSOR_ATTRIBUTES1   = 167
SQL_STATIC_CURSOR_ATTRIBUTES2   = 168
SQL_AGGREGATE_FUNCTIONS = 169
SQL_DDL_INDEX   = 170
SQL_DM_VER  = 171
SQL_INSERT_STATEMENT    = 172
SQL_UNION_STATEMENT = SQL_UNION
SQL_DTC_TRANSITION_COST = 1750
SQL_AT_ADD_COLUMN_SINGLE    = 20h
SQL_CVT_CHAR = 1
SQL_CVT_NUMERIC = 2
SQL_CVT_DECIMAL = 4
SQL_CVT_INTEGER = 8
SQL_CVT_SMALLINT = 10h
SQL_CVT_FLOAT = 20h
SQL_CVT_REAL = 40h
SQL_CVT_DOUBLE = 80h
SQL_CVT_VARCHAR = 100h
SQL_CVT_LONGVARCHAR = 200h
SQL_CVT_BINARY = 400h
SQL_CVT_VARBINARY = 800h
SQL_CVT_BIT = 1000h
SQL_CVT_TINYINT = 2000h
SQL_CVT_BIGINT = 4000h
SQL_CVT_DATE = 8000h
SQL_CVT_TIME = 10000h
SQL_CVT_TIMESTAMP = 20000h
SQL_CVT_LONGVARBINARY = 40000h
SQL_CVT_INTERVAL_YEAR_MONTH = 80000h
SQL_CVT_INTERVAL_DAY_TIME   = 100000h
SQL_CVT_WCHAR   = 200000h
SQL_CVT_WLONGVARCHAR    = 400000h
SQL_CVT_WVARCHAR    = 800000h
SQL_FN_CVT_CONVERT = 1
SQL_FN_CVT_CAST = 2
SQL_FN_STR_CONCAT = 1
SQL_FN_STR_INSERT = 2
SQL_FN_STR_LEFT = 4
SQL_FN_STR_LTRIM = 8
SQL_FN_STR_LENGTH = 10h
SQL_FN_STR_LOCATE = 20h
SQL_FN_STR_LCASE = 40h
SQL_FN_STR_REPEAT = 80h
SQL_FN_STR_REPLACE = 100h
SQL_FN_STR_RIGHT = 200h
SQL_FN_STR_RTRIM = 400h
SQL_FN_STR_SUBSTRING = 800h
SQL_FN_STR_UCASE = 1000h
SQL_FN_STR_ASCII = 2000h
SQL_FN_STR_CHAR = 4000h
SQL_FN_STR_DIFFERENCE = 8000h
SQL_FN_STR_LOCATE_2 = 10000h
SQL_FN_STR_SOUNDEX = 20000h
SQL_FN_STR_SPACE = 40000h
SQL_FN_STR_BIT_LENGTH   = 80000h
SQL_FN_STR_CHAR_LENGTH  = 100000h
SQL_FN_STR_CHARACTER_LENGTH = 200000h
SQL_FN_STR_OCTET_LENGTH = 400000h
SQL_FN_STR_POSITION = 800000h
SQL_SSF_CONVERT = 1
SQL_SSF_LOWER   = 2
SQL_SSF_UPPER   = 4
SQL_SSF_SUBSTRING   = 8
SQL_SSF_TRANSLATE   = 10h
SQL_SSF_TRIM_BOTH   = 20h
SQL_SSF_TRIM_LEADING    = 40h
SQL_SSF_TRIM_TRAILING   = 80h
SQL_FN_NUM_ABS = 1
SQL_FN_NUM_ACOS = 2
SQL_FN_NUM_ASIN = 4
SQL_FN_NUM_ATAN = 8
SQL_FN_NUM_ATAN2 = 10h
SQL_FN_NUM_CEILING = 20h
SQL_FN_NUM_COS = 40h
SQL_FN_NUM_COT = 80h
SQL_FN_NUM_EXP = 100h
SQL_FN_NUM_FLOOR = 200h
SQL_FN_NUM_LOG = 400h
SQL_FN_NUM_MOD = 800h
SQL_FN_NUM_SIGN = 1000h
SQL_FN_NUM_SIN = 2000h
SQL_FN_NUM_SQRT = 4000h
SQL_FN_NUM_TAN = 8000h
SQL_FN_NUM_PI = 10000h
SQL_FN_NUM_RAND = 20000h
SQL_FN_NUM_DEGREES = 40000h
SQL_FN_NUM_LOG10 = 80000h
SQL_FN_NUM_POWER = 100000h
SQL_FN_NUM_RADIANS = 200000h
SQL_FN_NUM_ROUND = 400000h
SQL_FN_NUM_TRUNCATE = 800000h
SQL_SNVF_BIT_LENGTH = 1
SQL_SNVF_CHAR_LENGTH    = 2
SQL_SNVF_CHARACTER_LENGTH   = 4
SQL_SNVF_EXTRACT    = 8
SQL_SNVF_OCTET_LENGTH   = 10h
SQL_SNVF_POSITION   = 20h
SQL_FN_TD_NOW = 1
SQL_FN_TD_CURDATE = 2
SQL_FN_TD_DAYOFMONTH = 4
SQL_FN_TD_DAYOFWEEK = 8
SQL_FN_TD_DAYOFYEAR = 10h
SQL_FN_TD_MONTH = 20h
SQL_FN_TD_QUARTER = 40h
SQL_FN_TD_WEEK = 80h
SQL_FN_TD_YEAR = 100h
SQL_FN_TD_CURTIME = 200h
SQL_FN_TD_HOUR = 400h
SQL_FN_TD_MINUTE = 800h
SQL_FN_TD_SECOND = 1000h
SQL_FN_TD_TIMESTAMPADD = 2000h
SQL_FN_TD_TIMESTAMPDIFF = 4000h
SQL_FN_TD_DAYNAME = 8000h
SQL_FN_TD_MONTHNAME = 10000h
SQL_FN_TD_CURRENT_DATE  = 20000h
SQL_FN_TD_CURRENT_TIME  = 40000h
SQL_FN_TD_CURRENT_TIMESTAMP = 80000h
SQL_FN_TD_EXTRACT   = 100000h
SQL_SDF_CURRENT_DATE    = 1
SQL_SDF_CURRENT_TIME    = 2
SQL_SDF_CURRENT_TIMESTAMP   = 4
SQL_FN_SYS_USERNAME = 1
SQL_FN_SYS_DBNAME = 2
SQL_FN_SYS_IFNULL = 4
SQL_FN_TSI_FRAC_SECOND = 1
SQL_FN_TSI_SECOND = 2
SQL_FN_TSI_MINUTE = 4
SQL_FN_TSI_HOUR = 8
SQL_FN_TSI_DAY = 10h
SQL_FN_TSI_WEEK = 20h
SQL_FN_TSI_MONTH = 40h
SQL_FN_TSI_QUARTER = 80h
SQL_FN_TSI_YEAR = 100h
SQL_CA1_NEXT    = 1
SQL_CA1_ABSOLUTE    = 2
SQL_CA1_RELATIVE    = 4
SQL_CA1_BOOKMARK    = 8
SQL_CA1_LOCK_NO_CHANGE  = 40h
SQL_CA1_LOCK_EXCLUSIVE  = 80h
SQL_CA1_LOCK_UNLOCK = 100h
SQL_CA1_POS_POSITION    = 200h
SQL_CA1_POS_UPDATE  = 400h
SQL_CA1_POS_DELETE  = 800h
SQL_CA1_POS_REFRESH = 1000h
SQL_CA1_POSITIONED_UPDATE   = 2000h
SQL_CA1_POSITIONED_DELETE   = 4000h
SQL_CA1_SELECT_FOR_UPDATE   = 8000h
SQL_CA1_BULK_ADD    = 10000h
SQL_CA1_BULK_UPDATE_BY_BOOKMARK = 20000h
SQL_CA1_BULK_DELETE_BY_BOOKMARK = 40000h
SQL_CA1_BULK_FETCH_BY_BOOKMARK  = 80000h
SQL_CA2_READ_ONLY_CONCURRENCY   = 1
SQL_CA2_LOCK_CONCURRENCY    = 2
SQL_CA2_OPT_ROWVER_CONCURRENCY  = 4
SQL_CA2_OPT_VALUES_CONCURRENCY  = 8
SQL_CA2_SENSITIVITY_ADDITIONS   = 10h
SQL_CA2_SENSITIVITY_DELETIONS   = 20h
SQL_CA2_SENSITIVITY_UPDATES = 40h
SQL_CA2_MAX_ROWS_SELECT = 80h
SQL_CA2_MAX_ROWS_INSERT = 100h
SQL_CA2_MAX_ROWS_DELETE = 200h
SQL_CA2_MAX_ROWS_UPDATE = 400h
SQL_CA2_MAX_ROWS_CATALOG    = 800h
SQL_CA2_MAX_ROWS_AFFECTS_ALL    = (SQL_CA2_MAX_ROWS_SELECT+SQL_CA2_MAX_ROWS_INSERT+SQL_CA2_MAX_ROWS_DELETE+SQL_CA2_MAX_ROWS_UPDATE+SQL_CA2_MAX_ROWS_CATALOG)
SQL_CA2_CRC_EXACT   = 1000h
SQL_CA2_CRC_APPROXIMATE = 2000h
SQL_CA2_SIMULATE_NON_UNIQUE = 4000h
SQL_CA2_SIMULATE_TRY_UNIQUE = 8000h
SQL_CA2_SIMULATE_UNIQUE = 10000h
SQL_OAC_NONE = 0
SQL_OAC_LEVEL1 = 1
SQL_OAC_LEVEL2 = 2
SQL_OSCC_NOT_COMPLIANT = 0
SQL_OSCC_COMPLIANT = 1
SQL_OSC_MINIMUM = 0
SQL_OSC_CORE = 1
SQL_OSC_EXTENDED = 2
SQL_CB_NULL = 0
SQL_CB_NON_NULL = 1
SQL_SO_FORWARD_ONLY = 1
SQL_SO_KEYSET_DRIVEN = 2
SQL_SO_DYNAMIC = 4
SQL_SO_MIXED = 8
SQL_SO_STATIC = 10h
SQL_FD_FETCH_BOOKMARK = 80h
SQL_CN_NONE = 0
SQL_CN_DIFFERENT = 1
SQL_CN_ANY = 2
SQL_NNC_NULL = 0
SQL_NNC_NON_NULL = 1
SQL_NC_START = 2
SQL_NC_END = 4
SQL_FILE_NOT_SUPPORTED = 0
SQL_FILE_TABLE = 1
SQL_FILE_QUALIFIER = 2
SQL_FILE_CATALOG    = SQL_FILE_QUALIFIER
SQL_GD_BLOCK = 4
SQL_GD_BOUND = 8
SQL_PS_POSITIONED_DELETE = 1
SQL_PS_POSITIONED_UPDATE = 2
SQL_PS_SELECT_FOR_UPDATE = 4
SQL_GB_NOT_SUPPORTED = 0
SQL_GB_GROUP_BY_EQUALS_SELECT = 1
SQL_GB_GROUP_BY_CONTAINS_SELECT = 2
SQL_GB_NO_RELATION = 3
SQL_GB_COLLATE  = 4
SQL_OU_DML_STATEMENTS = 1
SQL_OU_PROCEDURE_INVOCATION = 2
SQL_OU_TABLE_DEFINITION = 4
SQL_OU_INDEX_DEFINITION = 8
SQL_OU_PRIVILEGE_DEFINITION = 10h
SQL_SU_DML_STATEMENTS   = SQL_OU_DML_STATEMENTS
SQL_SU_PROCEDURE_INVOCATION = SQL_OU_PROCEDURE_INVOCATION
SQL_SU_TABLE_DEFINITION = SQL_OU_TABLE_DEFINITION
SQL_SU_INDEX_DEFINITION = SQL_OU_INDEX_DEFINITION
SQL_SU_PRIVILEGE_DEFINITION = SQL_OU_PRIVILEGE_DEFINITION
SQL_QU_DML_STATEMENTS = 1
SQL_QU_PROCEDURE_INVOCATION = 2
SQL_QU_TABLE_DEFINITION = 4
SQL_QU_INDEX_DEFINITION = 8
SQL_QU_PRIVILEGE_DEFINITION = 10h
SQL_CU_DML_STATEMENTS   = SQL_QU_DML_STATEMENTS
SQL_CU_PROCEDURE_INVOCATION = SQL_QU_PROCEDURE_INVOCATION
SQL_CU_TABLE_DEFINITION = SQL_QU_TABLE_DEFINITION
SQL_CU_INDEX_DEFINITION = SQL_QU_INDEX_DEFINITION
SQL_CU_PRIVILEGE_DEFINITION = SQL_QU_PRIVILEGE_DEFINITION
SQL_SQ_COMPARISON = 1
SQL_SQ_EXISTS = 2
SQL_SQ_IN = 4
SQL_SQ_QUANTIFIED = 8
SQL_SQ_CORRELATED_SUBQUERIES = 10h
SQL_U_UNION = 1
SQL_U_UNION_ALL = 2
SQL_BP_CLOSE = 1
SQL_BP_DELETE = 2
SQL_BP_DROP = 4
SQL_BP_TRANSACTION = 8
SQL_BP_UPDATE = 10h
SQL_BP_OTHER_HSTMT = 20h
SQL_BP_SCROLL = 40h
SQL_SS_ADDITIONS = 1
SQL_SS_DELETIONS = 2
SQL_SS_UPDATES = 4
SQL_CV_CREATE_VIEW  = 1
SQL_CV_CHECK_OPTION = 2
SQL_CV_CASCADED = 4
SQL_CV_LOCAL    = 8
SQL_LCK_NO_CHANGE = 1
SQL_LCK_EXCLUSIVE = 2
SQL_LCK_UNLOCK = 4
SQL_POS_POSITION = 1
SQL_POS_REFRESH = 2
SQL_POS_UPDATE = 4
SQL_POS_DELETE = 8
SQL_POS_ADD = 10h
SQL_QL_START = 1
SQL_QL_END = 2
SQL_AF_AVG  = 1
SQL_AF_COUNT    = 2
SQL_AF_MAX  = 4
SQL_AF_MIN  = 8
SQL_AF_SUM  = 10h
SQL_AF_DISTINCT = 20h
SQL_AF_ALL  = 40h
SQL_SC_SQL92_ENTRY  = 1
SQL_SC_FIPS127_2_TRANSITIONAL   = 2
SQL_SC_SQL92_INTERMEDIATE   = 4
SQL_SC_SQL92_FULL   = 8
SQL_DL_SQL92_DATE   = 1
SQL_DL_SQL92_TIME   = 2
SQL_DL_SQL92_TIMESTAMP  = 4
SQL_DL_SQL92_INTERVAL_YEAR  = 8
SQL_DL_SQL92_INTERVAL_MONTH = 10h
SQL_DL_SQL92_INTERVAL_DAY   = 20h
SQL_DL_SQL92_INTERVAL_HOUR  = 40h
SQL_DL_SQL92_INTERVAL_MINUTE    = 80h
SQL_DL_SQL92_INTERVAL_SECOND    = 100h
SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH = 200h
SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR   = 400h
SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE = 800h
SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND = 1000h
SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE    = 2000h
SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND    = 4000h
SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND  = 8000h
SQL_CL_START    = SQL_QL_START
SQL_CL_END  = SQL_QL_END
SQL_BRC_PROCEDURES  = 1
SQL_BRC_EXPLICIT    = 2
SQL_BRC_ROLLED_UP   = 4
SQL_BS_SELECT_EXPLICIT  = 1
SQL_BS_ROW_COUNT_EXPLICIT   = 2
SQL_BS_SELECT_PROC  = 4
SQL_BS_ROW_COUNT_PROC   = 8
SQL_PARC_BATCH  = 1
SQL_PARC_NO_BATCH   = 2
SQL_PAS_BATCH   = 1
SQL_PAS_NO_BATCH    = 2
SQL_PAS_NO_SELECT   = 3
SQL_IK_NONE = 0
SQL_IK_ASC  = 1
SQL_IK_DESC = 2
SQL_IK_ALL  = (SQL_IK_ASC + SQL_IK_DESC)
SQL_ISV_ASSERTIONS  = 1
SQL_ISV_CHARACTER_SETS  = 2
SQL_ISV_CHECK_CONSTRAINTS   = 4
SQL_ISV_COLLATIONS  = 8
SQL_ISV_COLUMN_DOMAIN_USAGE = 10h
SQL_ISV_COLUMN_PRIVILEGES   = 20h
SQL_ISV_COLUMNS = 40h
SQL_ISV_CONSTRAINT_COLUMN_USAGE = 80h
SQL_ISV_CONSTRAINT_TABLE_USAGE  = 100h
SQL_ISV_DOMAIN_CONSTRAINTS  = 200h
SQL_ISV_DOMAINS = 400h
SQL_ISV_KEY_COLUMN_USAGE    = 800h
SQL_ISV_REFERENTIAL_CONSTRAINTS = 1000h
SQL_ISV_SCHEMATA    = 2000h
SQL_ISV_SQL_LANGUAGES   = 4000h
SQL_ISV_TABLE_CONSTRAINTS   = 8000h
SQL_ISV_TABLE_PRIVILEGES    = 10000h
SQL_ISV_TABLES  = 20000h
SQL_ISV_TRANSLATIONS    = 40000h
SQL_ISV_USAGE_PRIVILEGES    = 80000h
SQL_ISV_VIEW_COLUMN_USAGE   = 100000h
SQL_ISV_VIEW_TABLE_USAGE    = 200000h
SQL_ISV_VIEWS   = 400000h
SQL_AD_CONSTRAINT_NAME_DEFINITION   = 1
SQL_AD_ADD_DOMAIN_CONSTRAINT    = 2
SQL_AD_DROP_DOMAIN_CONSTRAINT   = 4
SQL_AD_ADD_DOMAIN_DEFAULT = 8
SQL_AD_DROP_DOMAIN_DEFAULT = 10h
SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED    = 20h
SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE   = 40h
SQL_AD_ADD_CONSTRAINT_DEFERRABLE    = 80h
SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE    = 100h
SQL_CS_CREATE_SCHEMA    = 1
SQL_CS_AUTHORIZATION    = 2
SQL_CS_DEFAULT_CHARACTER_SET    = 4
SQL_CTR_CREATE_TRANSLATION  = 1
SQL_CA_CREATE_ASSERTION = 1
SQL_CA_CONSTRAINT_INITIALLY_DEFERRED    = 10h
SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE   = 20h
SQL_CA_CONSTRAINT_DEFERRABLE    = 40h
SQL_CA_CONSTRAINT_NON_DEFERRABLE    = 80h
SQL_CCS_CREATE_CHARACTER_SET    = 1
SQL_CCS_COLLATE_CLAUSE  = 2
SQL_CCS_LIMITED_COLLATION   = 4
SQL_CCOL_CREATE_COLLATION   = 1
SQL_CDO_CREATE_DOMAIN   = 1
SQL_CDO_DEFAULT = 2
SQL_CDO_CONSTRAINT  = 4
SQL_CDO_COLLATION   = 8
SQL_CDO_CONSTRAINT_NAME_DEFINITION  = 10h
SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED   = 20h
SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE  = 40h
SQL_CDO_CONSTRAINT_DEFERRABLE   = 80h
SQL_CDO_CONSTRAINT_NON_DEFERRABLE   = 100h
SQL_CT_CREATE_TABLE = 1
SQL_CT_COMMIT_PRESERVE  = 2
SQL_CT_COMMIT_DELETE    = 4
SQL_CT_GLOBAL_TEMPORARY = 8
SQL_CT_LOCAL_TEMPORARY  = 10h
SQL_CT_CONSTRAINT_INITIALLY_DEFERRED    = 20h
SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE   = 40h
SQL_CT_CONSTRAINT_DEFERRABLE    = 80h
SQL_CT_CONSTRAINT_NON_DEFERRABLE    = 100h
SQL_CT_COLUMN_CONSTRAINT    = 200h
SQL_CT_COLUMN_DEFAULT   = 400h
SQL_CT_COLUMN_COLLATION = 800h
SQL_CT_TABLE_CONSTRAINT = 1000h
SQL_CT_CONSTRAINT_NAME_DEFINITION   = 2000h
SQL_DI_CREATE_INDEX = 1
SQL_DI_DROP_INDEX   = 2
SQL_DC_DROP_COLLATION   = 1
SQL_DD_DROP_DOMAIN  = 1
SQL_DD_RESTRICT = 2
SQL_DD_CASCADE  = 4
SQL_DS_DROP_SCHEMA  = 1
SQL_DS_RESTRICT = 2
SQL_DS_CASCADE  = 4
SQL_DCS_DROP_CHARACTER_SET  = 1
SQL_DA_DROP_ASSERTION   = 1
SQL_DT_DROP_TABLE   = 1
SQL_DT_RESTRICT = 2
SQL_DT_CASCADE  = 4
SQL_DTR_DROP_TRANSLATION    = 1
SQL_DV_DROP_VIEW    = 1
SQL_DV_RESTRICT = 2
SQL_DV_CASCADE  = 4
SQL_IS_INSERT_LITERALS  = 1
SQL_IS_INSERT_SEARCHED  = 2
SQL_IS_SELECT_INTO  = 4
SQL_OIC_CORE    = 1
SQL_OIC_LEVEL1  = 2
SQL_OIC_LEVEL2  = 3
SQL_SFKD_CASCADE    = 1
SQL_SFKD_NO_ACTION  = 2
SQL_SFKD_SET_DEFAULT    = 4
SQL_SFKD_SET_NULL   = 8
SQL_SFKU_CASCADE    = 1
SQL_SFKU_NO_ACTION  = 2
SQL_SFKU_SET_DEFAULT    = 4
SQL_SFKU_SET_NULL   = 8
SQL_SG_USAGE_ON_DOMAIN  = 1
SQL_SG_USAGE_ON_CHARACTER_SET   = 2
SQL_SG_USAGE_ON_COLLATION   = 4
SQL_SG_USAGE_ON_TRANSLATION = 8
SQL_SG_WITH_GRANT_OPTION    = 10h
SQL_SG_DELETE_TABLE = 20h
SQL_SG_INSERT_TABLE = 40h
SQL_SG_INSERT_COLUMN    = 80h
SQL_SG_REFERENCES_TABLE = 100h
SQL_SG_REFERENCES_COLUMN    = 200h
SQL_SG_SELECT_TABLE = 400h
SQL_SG_UPDATE_TABLE = 800h
SQL_SG_UPDATE_COLUMN    = 1000h
SQL_SP_EXISTS   = 1
SQL_SP_ISNOTNULL    = 2
SQL_SP_ISNULL   = 4
SQL_SP_MATCH_FULL   = 8
SQL_SP_MATCH_PARTIAL    = 10h
SQL_SP_MATCH_UNIQUE_FULL    = 20h
SQL_SP_MATCH_UNIQUE_PARTIAL = 40h
SQL_SP_OVERLAPS = 80h
SQL_SP_UNIQUE   = 100h
SQL_SP_LIKE = 200h
SQL_SP_IN   = 400h
SQL_SP_BETWEEN  = 800h
SQL_SP_COMPARISON   = 1000h
SQL_SP_QUANTIFIED_COMPARISON    = 2000h
SQL_SRJO_CORRESPONDING_CLAUSE   = 1
SQL_SRJO_CROSS_JOIN = 2
SQL_SRJO_EXCEPT_JOIN    = 4
SQL_SRJO_FULL_OUTER_JOIN    = 8
SQL_SRJO_INNER_JOIN = 10h
SQL_SRJO_INTERSECT_JOIN = 20h
SQL_SRJO_LEFT_OUTER_JOIN    = 40h
SQL_SRJO_NATURAL_JOIN   = 80h
SQL_SRJO_RIGHT_OUTER_JOIN   = 100h
SQL_SRJO_UNION_JOIN = 200h
SQL_SR_USAGE_ON_DOMAIN  = 1
SQL_SR_USAGE_ON_CHARACTER_SET   = 2
SQL_SR_USAGE_ON_COLLATION   = 4
SQL_SR_USAGE_ON_TRANSLATION = 8
SQL_SR_GRANT_OPTION_FOR = 10h
SQL_SR_CASCADE  = 20h
SQL_SR_RESTRICT = 40h
SQL_SR_DELETE_TABLE = 80h
SQL_SR_INSERT_TABLE = 100h
SQL_SR_INSERT_COLUMN    = 200h
SQL_SR_REFERENCES_TABLE = 400h
SQL_SR_REFERENCES_COLUMN    = 800h
SQL_SR_SELECT_TABLE = 1000h
SQL_SR_UPDATE_TABLE = 2000h
SQL_SR_UPDATE_COLUMN    = 4000h
SQL_SRVC_VALUE_EXPRESSION   = 1
SQL_SRVC_NULL   = 2
SQL_SRVC_DEFAULT    = 4
SQL_SRVC_ROW_SUBQUERY   = 8
SQL_SVE_CASE    = 1
SQL_SVE_CAST    = 2
SQL_SVE_COALESCE    = 4
SQL_SVE_NULLIF  = 8
SQL_SCC_XOPEN_CLI_VERSION1  = 1
SQL_SCC_ISO92_CLI   = 2
SQL_US_UNION    = SQL_U_UNION
SQL_US_UNION_ALL    = SQL_U_UNION_ALL
SQL_DTC_ENLIST_EXPENSIVE    = 1
SQL_DTC_UNENLIST_EXPENSIVE  = 2
SQL_FETCH_FIRST_USER    = 31
SQL_FETCH_FIRST_SYSTEM  = 32
SQL_ENTIRE_ROWSET = 0
SQL_POSITION = 0
SQL_REFRESH = 1
SQL_UPDATE = 2
SQL_DELETE = 3
SQL_ADD = 4
SQL_SETPOS_MAX_OPTION_VALUE = SQL_ADD
SQL_UPDATE_BY_BOOKMARK  = 5
SQL_DELETE_BY_BOOKMARK  = 6
SQL_FETCH_BY_BOOKMARK   = 7
SQL_LOCK_NO_CHANGE = 0
SQL_LOCK_EXCLUSIVE = 1
SQL_LOCK_UNLOCK = 2
SQL_SETPOS_MAX_LOCK_VALUE   = SQL_LOCK_UNLOCK
SQL_BEST_ROWID = 1
SQL_ROWVER = 2
SQL_PC_NOT_PSEUDO = 1
SQL_QUICK = 0
SQL_ENSURE = 1
SQL_TABLE_STAT = 0
SQL_ALL_CATALOGS equ "%";A
SQL_ALL_SCHEMAS equ "%";A
SQL_ALL_TABLE_TYPES equ "%";A
SQL_DRIVER_NOPROMPT = 0
SQL_DRIVER_COMPLETE = 1
SQL_DRIVER_PROMPT = 2
SQL_DRIVER_COMPLETE_REQUIRED = 3
SQL_FETCH_BOOKMARK = 8
SQL_ROW_SUCCESS = 0
SQL_ROW_DELETED = 1
SQL_ROW_UPDATED = 2
SQL_ROW_NOROW = 3
SQL_ROW_ADDED = 4
SQL_ROW_ERROR = 5
SQL_ROW_SUCCESS_WITH_INFO   = 6
SQL_ROW_PROCEED = 0
SQL_ROW_IGNORE  = 1
SQL_PARAM_SUCCESS   = 0
SQL_PARAM_SUCCESS_WITH_INFO = 6
SQL_PARAM_ERROR = 5
SQL_PARAM_UNUSED    = 7
SQL_PARAM_DIAG_UNAVAILABLE  = 1
SQL_PARAM_PROCEED   = 0
SQL_PARAM_IGNORE    = 1
SQL_CASCADE = 0
SQL_RESTRICT = 1
SQL_SET_NULL = 2
SQL_NO_ACTION   = 3
SQL_SET_DEFAULT = 4
SQL_INITIALLY_DEFERRED  = 5
SQL_INITIALLY_IMMEDIATE = 6
SQL_NOT_DEFERRABLE  = 7
SQL_PARAM_TYPE_UNKNOWN = 0
SQL_PARAM_INPUT = 1
SQL_PARAM_INPUT_OUTPUT = 2
SQL_RESULT_COL = 3
SQL_PARAM_OUTPUT = 4
SQL_RETURN_VALUE = 5
SQL_PT_UNKNOWN = 0
SQL_PT_PROCEDURE = 1
SQL_PT_FUNCTION = 2
SQL_YEAR    = SQL_CODE_YEAR
SQL_MONTH   = SQL_CODE_MONTH
SQL_DAY = SQL_CODE_DAY
SQL_HOUR    = SQL_CODE_HOUR
SQL_MINUTE  = SQL_CODE_MINUTE
SQL_SECOND  = SQL_CODE_SECOND
SQL_YEAR_TO_MONTH   = SQL_CODE_YEAR_TO_MONTH
SQL_DAY_TO_HOUR = SQL_CODE_DAY_TO_HOUR
SQL_DAY_TO_MINUTE   = SQL_CODE_DAY_TO_MINUTE
SQL_DAY_TO_SECOND   = SQL_CODE_DAY_TO_SECOND
SQL_HOUR_TO_MINUTE  = SQL_CODE_HOUR_TO_MINUTE
SQL_HOUR_TO_SECOND  = SQL_CODE_HOUR_TO_SECOND
SQL_MINUTE_TO_SECOND    = SQL_CODE_MINUTE_TO_SECOND
SQL_DATABASE_NAME = 16
SQL_FD_FETCH_PREV = SQL_FD_FETCH_PRIOR
SQL_FETCH_PREV = SQL_FETCH_PRIOR
SQL_CONCUR_TIMESTAMP = SQL_CONCUR_ROWVER
SQL_SCCO_OPT_TIMESTAMP = SQL_SCCO_OPT_ROWVER
SQL_CC_DELETE = SQL_CB_DELETE
SQL_CR_DELETE = SQL_CB_DELETE
SQL_CC_CLOSE = SQL_CB_CLOSE
SQL_CR_CLOSE = SQL_CB_CLOSE
SQL_CC_PRESERVE = SQL_CB_PRESERVE
SQL_CR_PRESERVE = SQL_CB_PRESERVE
SQL_SCROLL_FORWARD_ONLY = 0
SQL_SCROLL_KEYSET_DRIVEN = (-1)
SQL_SCROLL_DYNAMIC = (-2)
SQL_SCROLL_STATIC = (-3)
TRACE_VERSION   = 1000
TRACE_ON    = 1
TRACE_VS_EVENT_ON   = 2
ODBC_VS_FLAG_UNICODE_ARG    = 1
ODBC_VS_FLAG_UNICODE_COR    = 2
ODBC_VS_FLAG_RETCODE    = 4
ODBC_VS_FLAG_STOP = 8
;-----------------------------------------------------------------------------------------
;               sqltypes.h
;-----------------------------------------------------------------------------------------
DATE_struct struct
         year dw ?
        month dw ?
        day dw ?
DATE_struct ends
TYPEDEF SQL_DATE_struct, DATE_struct
TIME_struct struct
        hour dw ?
        minute dw ?
        second dw ?
TIME_struct ends
TYPEDEF SQL_TIME_struct, TIME_struct
TIMESTAMP_struct struct
        year dw ?
        month dw ?
        day dw ?
        hour dw ?
        minute dw ?
        second dw ?
        fraction dd ?
TIMESTAMP_struct ends
TYPEDEF SQL_TIMESTAMP_struct, TIMESTAMP_struct
SQL_IS_YEAR                     = 1
SQL_IS_MONTH                    = 2
SQL_IS_DAY                      = 3
SQL_IS_HOUR                     = 4
SQL_IS_MINUTE                   = 5
SQL_IS_SECOND                   = 6
SQL_IS_YEAR_TO_MONTH            = 7
SQL_IS_DAY_TO_HOUR              = 8
SQL_IS_DAY_TO_MINUTE            = 9
SQL_IS_DAY_TO_SECOND            = 10
SQL_IS_HOUR_TO_MINUTE           = 11
SQL_IS_HOUR_TO_SECOND           = 12
SQL_IS_MINUTE_TO_SECOND     = 13
SQL_YEAR_MONTH_struct struct
        year DWORD ?
        month DWORD ?
SQL_YEAR_MONTH_struct ends
SQL_DAY_SECOND_struct struct
        day DWORD ?
        hour DWORD ?
        minute DWORD ?
        second DWORD ?
        fraction DWORD ?
SQL_DAY_SECOND_struct ends

SQL_INTERVAL_struct struct
    interval_type DWORD ?
    interval_sign DWORD ?
    union ;intval
        year_month SQL_YEAR_MONTH_struct <>
        day_second SQL_DAY_SECOND_struct <>
    ends
SQL_INTERVAL_struct ends
SQL_MAX_NUMERIC_LEN     = 16
SQL_NUMERIC_struct struct
    precision db ?
    scale db ?
    sign db ?
    val db SQL_MAX_NUMERIC_LEN dup(?)
SQL_NUMERIC_struct ends
SQLGUID struct
    Data1 dd ?
    Data2 dw ?
    Data3 dw ?
    Data4  db 8 dup(?)
SQLGUID ends

;;;; end odbcsql

;;;; NTextra

FLOAT128 struct
   LowPart                QWORD ?
   HighPart               QWORD ?
FLOAT128 ends

LIST_ENTRY32 struct
   Flink                  DWORD ?
   Blink                  DWORD ?
LIST_ENTRY32 ends

LIST_ENTRY64 struct
   Flink                  QWORD ?
   Blink                  QWORD ?
LIST_ENTRY64 ends

M128A struct
   _Low                    QWORD ?
   _High                   QWORD ?
M128A ends

XMM_SAVE_AREA32 struct
   ControlWord            WORD ?
   StatusWord             WORD ?
   TagWord                BYTE ?
   Reserved1              BYTE ?
   ErrorOpcode            WORD ?
   ErrorOffset            DWORD ?
   ErrorSelector          WORD ?
   Reserved2              WORD ?
   DataOffset             DWORD ?
   DataSelector           WORD ?
   Reserved3              WORD ?
   MxCsr                  DWORD ?
   MxCsr_Mask             DWORD ?
   FloatRegisters M128A 8 dup (<>)
   XmmRegisters M128A 16  dup (<>)
   Reserved BYTE 96 dup (?)
XMM_SAVE_AREA32 ends

RUNTIME_FUNCTION struct
   BeginAddress           DWORD ?
   EndAddress             DWORD ?
   UnwindData             DWORD ?
RUNTIME_FUNCTION ends

PLABEL_DESCRIPTOR struct
   EntryPoint             QWORD ?
   GlobalPointer          QWORD ?
PLABEL_DESCRIPTOR ends

WOW64_FLOATING_SAVE_AREA struct
   ControlWord            DWORD ?
   StatusWord             DWORD ?
   TagWord                DWORD ?
   ErrorOffset            DWORD ?
   ErrorSelector          DWORD ?
   DataOffset             DWORD ?
   DataSelector           DWORD ?
   RegisterArea BYTE WOW64_SIZE_OF_80387_REGISTERS dup (?)
   Cr0NpxState            DWORD ?
WOW64_FLOATING_SAVE_AREA ends

WOW64_CONTEXT struct
   ContextFlags           DWORD ?
   _Dr0                    DWORD ?
   _Dr1                    DWORD ?
   _Dr2                    DWORD ?
   _Dr3                    DWORD ?
   _Dr6                    DWORD ?
   _Dr7                    DWORD ?
   _FloatSave              WOW64_FLOATING_SAVE_AREA <>
   _SegGs                  DWORD ?
   _SegFs                  DWORD ?
   _SegEs                  DWORD ?
   _SegDs                  DWORD ?
   _Edi                    DWORD ?
   _Esi                    DWORD ?
   _Ebx                    DWORD ?
   _Edx                    DWORD ?
   _Ecx                    DWORD ?
   _Eax                    DWORD ?
   _Ebp                    DWORD ?
   _Eip                    DWORD ?
   _SegCs                  DWORD ?
   _EFlags                 DWORD ?
   _Esp                    DWORD ?
   _SegSs                  DWORD ?
   ExtendedRegisters BYTE WOW64_MAXIMUM_SUPPORTED_EXTENSION dup (?)
WOW64_CONTEXT ends

EXCEPTION_RECORD32 struct
   ExceptionCode          DWORD ?
   ExceptionFlags         DWORD ?
   ExceptionRecord        DWORD ?
   ExceptionAddress       DWORD ?
   NumberParameters       DWORD ?
   ExceptionInformation DWORD EXCEPTION_MAXIMUM_PARAMETERS dup (?)
EXCEPTION_RECORD32 ends

EXCEPTION_RECORD64 struct
   ExceptionCode          DWORD ?
   ExceptionFlags         DWORD ?
   ExceptionRecord        QWORD ?
   ExceptionAddress       QWORD ?
   NumberParameters       DWORD ?
   __unusedAlignment      DWORD ?
   ExceptionInformation QWORD EXCEPTION_MAXIMUM_PARAMETERS dup (?)
EXCEPTION_RECORD64 ends

 ; SID_AND_ATTRIBUTES_HASH struct
 ;    SidCount               DWORD ?
 ;    SidAttr                PSID_AND_ATTRIBUTES <>
 ;    Hash SID_HASH_ENTRY SID_HASH_SIZE dup (<>)
 ; SID_AND_ATTRIBUTES_HASH ends

SYSTEM_MANDATORY_LABEL_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   SidStart               DWORD ?
SYSTEM_MANDATORY_LABEL_ACE ends

ACCESS_ALLOWED_CALLBACK_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   SidStart               DWORD ?
ACCESS_ALLOWED_CALLBACK_ACE ends

ACCESS_DENIED_CALLBACK_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   SidStart               DWORD ?
ACCESS_DENIED_CALLBACK_ACE ends

SYSTEM_AUDIT_CALLBACK_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   SidStart               DWORD ?
SYSTEM_AUDIT_CALLBACK_ACE ends

SYSTEM_ALARM_CALLBACK_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   SidStart               DWORD ?
SYSTEM_ALARM_CALLBACK_ACE ends

ACCESS_ALLOWED_CALLBACK_OBJECT_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   Flags                  DWORD ?
   ObjectType             GUID <>
   InheritedObjectType    GUID <>
   SidStart               DWORD ?
ACCESS_ALLOWED_CALLBACK_OBJECT_ACE ends

ACCESS_DENIED_CALLBACK_OBJECT_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   Flags                  DWORD ?
   ObjectType             GUID <>
   InheritedObjectType    GUID <>
   SidStart               DWORD ?
ACCESS_DENIED_CALLBACK_OBJECT_ACE ends

SYSTEM_AUDIT_CALLBACK_OBJECT_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   Flags                  DWORD ?
   ObjectType             GUID <>
   InheritedObjectType    GUID <>
   SidStart               DWORD ?
SYSTEM_AUDIT_CALLBACK_OBJECT_ACE ends

SYSTEM_ALARM_CALLBACK_OBJECT_ACE struct
   Header                 ACE_HEADER <>
   _Mask                   DWORD ?
   Flags                  DWORD ?
   ObjectType             GUID <>
   InheritedObjectType    GUID <>
   SidStart               DWORD ?
SYSTEM_ALARM_CALLBACK_OBJECT_ACE ends

TOKEN_LINKED_TOKEN struct
   LinkedToken            DWORD ?
TOKEN_LINKED_TOKEN ends

TOKEN_ELEVATION struct
   TokenIsElevated        DWORD ?
TOKEN_ELEVATION ends

TOKEN_MANDATORY_LABEL struct
   _Label                  SID_AND_ATTRIBUTES <>
TOKEN_MANDATORY_LABEL ends

TOKEN_MANDATORY_POLICY struct
   Policy                 DWORD ?
TOKEN_MANDATORY_POLICY ends

TOKEN_ORIGIN struct
   OriginatingLogonSession  DWORD ?
TOKEN_ORIGIN ends

JOB_SET_ARRAY struct
   JobHandle              DWORD ?
   MemberLevel            DWORD ?
   Flags                  DWORD ?
JOB_SET_ARRAY ends

IO_COUNTERS struct
   ReadOperationCount     QWORD ?
   WriteOperationCount    QWORD ?
   OtherOperationCount    QWORD ?
   ReadTransferCount      QWORD ?
   WriteTransferCount     QWORD ?
   OtherTransferCount     QWORD ?
IO_COUNTERS ends

MEMORY_BASIC_INFORMATION32 struct
   BaseAddress            DWORD ?
   AllocationBase         DWORD ?
   AllocationProtect      DWORD ?
   RegionSize             DWORD ?
   State                  DWORD ?
   Protect                DWORD ?
   _Type                   DWORD ?
MEMORY_BASIC_INFORMATION32 ends

MEMORY_BASIC_INFORMATION64 struct
   BaseAddress            QWORD ?
   AllocationBase         QWORD ?
   AllocationProtect      DWORD ?
   __alignment1           DWORD ?
   RegionSize             QWORD ?
   State                  DWORD ?
   Protect                DWORD ?
   _Type                   DWORD ?
   __alignment2           DWORD ?
MEMORY_BASIC_INFORMATION64 ends

NOTIFY_USER_POWER_SETTING struct
   Guid                   GUID <>
NOTIFY_USER_POWER_SETTING ends

APPLICATIONLAUNCH_SETTING_VALUE struct
   ActivationTime         LARGE_INTEGER <>
   Flags                  DWORD ?
   ButtonInstanceID       DWORD ?
APPLICATIONLAUNCH_SETTING_VALUE ends

BATTERY_REPORTING_SCALE struct
   Granularity            DWORD ?
   Capacity               DWORD ?
BATTERY_REPORTING_SCALE ends

PPM_SIMULATED_PROCESSOR_LOAD struct
   Enabled                BYTE ?
   PercentBusy BYTE MAXIMUM_PROCESSORS dup (?)
PPM_SIMULATED_PROCESSOR_LOAD ends

PPM_WMI_LEGACY_PERFSTATE struct
   Frequency              DWORD ?
   Flags                  DWORD ?
   PercentFrequency       DWORD ?
PPM_WMI_LEGACY_PERFSTATE ends

PPM_WMI_IDLE_STATE struct
   Latency                DWORD ?
   Power                  DWORD ?
   TimeCheck              DWORD ?
   PromotePercent         BYTE ?
   DemotePercent          BYTE ?
   StateType              BYTE ?
   Reserved               BYTE ?
   StateFlags             DWORD ?
   Context                DWORD ?
   IdleHandler            DWORD ?
   Reserved1              DWORD ?
PPM_WMI_IDLE_STATE ends

PPM_WMI_IDLE_STATES struct
   _Type                   DWORD ?
   Count                  DWORD ?
   TargetState            DWORD ?
   OldState               DWORD ?
   TargetProcessors       QWORD ?
   State PPM_WMI_IDLE_STATE ANYSIZE_ARRAY dup (<>)
PPM_WMI_IDLE_STATES ends

PPM_WMI_PERF_STATE struct
   Frequency              DWORD ?
   Power                  DWORD ?
   PercentFrequency       BYTE ?
   IncreaseLevel          BYTE ?
   DecreaseLevel          BYTE ?
   _Type                   BYTE ?
   IncreaseTime           DWORD ?
   DecreaseTime           DWORD ?
   Control                QWORD ?
   Status                 QWORD ?
   HitCount               DWORD ?
   Reserved1              DWORD ?
   Reserved2              QWORD ?
   Reserved3              QWORD ?
PPM_WMI_PERF_STATE ends

PPM_WMI_PERF_STATES struct
   Count                  DWORD ?
   MaxFrequency           DWORD ?
   CurrentState           DWORD ?
   MaxPerfState           DWORD ?
   MinPerfState           DWORD ?
   LowestPerfState        DWORD ?
   ThermalConstraint      DWORD ?
   BusyAdjThreshold       BYTE ?
   PolicyType             BYTE ?
   _Type                   BYTE ?
   Reserved               BYTE ?
   TimerInterval          DWORD ?
   TargetProcessors       QWORD ?
   PStateHandler          DWORD ?
   PStateContext          DWORD ?
   TStateHandler          DWORD ?
   TStateContext          DWORD ?
   FeedbackHandler        DWORD ?
   Reserved1              DWORD ?
   Reserved2              QWORD ?
   State PPM_WMI_PERF_STATE ANYSIZE_ARRAY dup (<>)
PPM_WMI_PERF_STATES ends

PPM_IDLE_STATE_ACCOUNTING struct
   IdleTransitions        DWORD ?
   FailedTransitions      DWORD ?
   InvalidBucketIndex     DWORD ?
   TotalTime              QWORD ?
   IdleTimeBuckets DWORD PROC_IDLE_BUCKET_COUNT dup (?)
PPM_IDLE_STATE_ACCOUNTING ends

PPM_IDLE_ACCOUNTING struct
   StateCount             DWORD ?
   TotalTransitions       DWORD ?
   ResetCount             DWORD ?
   StartTime              QWORD ?
   State PPM_IDLE_STATE_ACCOUNTING ANYSIZE_ARRAY dup (<>)
PPM_IDLE_ACCOUNTING ends

PPM_PERFSTATE_EVENT struct
   State                  DWORD ?
   Status                 DWORD ?
   Latency                DWORD ?
   Speed                  DWORD ?
   Processor              DWORD ?
PPM_PERFSTATE_EVENT ends

PPM_PERFSTATE_DOMAIN_EVENT struct
   State                  DWORD ?
   Latency                DWORD ?
   Speed                  DWORD ?
   Processors             QWORD ?
PPM_PERFSTATE_DOMAIN_EVENT ends

PPM_IDLESTATE_EVENT struct
   NewState               DWORD ?
   OldState               DWORD ?
   Processors             QWORD ?
PPM_IDLESTATE_EVENT ends

PPM_THERMALCHANGE_EVENT struct
   ThermalConstraint      DWORD ?
   Processors             QWORD ?
PPM_THERMALCHANGE_EVENT ends

PPM_THERMAL_POLICY_EVENT struct
   Mode                   BYTE ?
   Processors             QWORD ?
PPM_THERMAL_POLICY_EVENT ends

PROCESSOR_IDLESTATE_INFO struct
   TimeCheck              DWORD ?
   DemotePercent          BYTE ?
   PromotePercent         BYTE ?
   Spare BYTE 2 dup (?)
PROCESSOR_IDLESTATE_INFO ends

SYSTEM_BATTERY_STATE struct
   AcOnLine               BYTE ?
   BatteryPresent         BYTE ?
   Charging               BYTE ?
   Discharging            BYTE ?
   Spare1                 BYTE 4 dup (?)
   MaxCapacity            DWORD ?
   RemainingCapacity      DWORD ?
   Rate                   DWORD ?
   EstimatedTime          DWORD ?
   DefaultAlert1          DWORD ?
   DefaultAlert2          DWORD ?
SYSTEM_BATTERY_STATE ends

IMAGE_OPTIONAL_HEADER64 struct
   Magic                  WORD ?
   MajorLinkerVersion     BYTE ?
   MinorLinkerVersion     BYTE ?
   SizeOfCode             DWORD ?
   SizeOfInitializedData  DWORD ?
   SizeOfUninitializedData DWORD ?
   AddressOfEntryPoint    DWORD ?
   BaseOfCode             DWORD ?
   ImageBase              QWORD ?
   SectionAlignment       DWORD ?
   FileAlignment          DWORD ?
   MajorOperatingSystemVersion WORD ?
   MinorOperatingSystemVersion WORD ?
   MajorImageVersion      WORD ?
   MinorImageVersion      WORD ?
   MajorSubsystemVersion  WORD ?
   MinorSubsystemVersion  WORD ?
   Win32VersionValue      DWORD ?
   SizeOfImage            DWORD ?
   SizeOfHeaders          DWORD ?
   CheckSum               DWORD ?
   Subsystem              WORD ?
   DllCharacteristics     WORD ?
   SizeOfStackReserve     QWORD ?
   SizeOfStackCommit      QWORD ?
   SizeOfHeapReserve      QWORD ?
   SizeOfHeapCommit       QWORD ?
   LoaderFlags            DWORD ?
   NumberOfRvaAndSizes    DWORD ?
   DataDirectory IMAGE_DATA_DIRECTORY IMAGE_NUMBEROF_DIRECTORY_ENTRIES dup (<>)
IMAGE_OPTIONAL_HEADER64 ends

IMAGE_NT_HEADERS64 struct
   Signature              DWORD ?
   FileHeader             IMAGE_FILE_HEADER <>
   OptionalHeader         IMAGE_OPTIONAL_HEADER64 <>
IMAGE_NT_HEADERS64 ends

ANON_OBJECT_HEADER struct
   Sig1                   WORD ?
   Sig2                   WORD ?
   Version                WORD ?
   Machine                WORD ?
   TimeDateStamp          DWORD ?
   ClassID                CLSID <>
   SizeOfData             DWORD ?
ANON_OBJECT_HEADER ends

ANON_OBJECT_HEADER_V2 struct
   Sig1                   WORD ?
   Sig2                   WORD ?
   Version                WORD ?
   Machine                WORD ?
   TimeDateStamp          DWORD ?
   ClassID                CLSID <>
   SizeOfData             DWORD ?
   Flags                  DWORD ?
   MetaDataSize           DWORD ?
   MetaDataOffset         DWORD ?
ANON_OBJECT_HEADER_V2 ends

IMAGE_AUX_SYMBOL_TOKEN_DEF struct
   bAuxType               BYTE ?
   bReserved              BYTE ?
   SymbolTableIndex       DWORD ?
   rgbReserved BYTE 12 dup (?)
IMAGE_AUX_SYMBOL_TOKEN_DEF ends

IMAGE_TLS_DIRECTORY64 struct
   StartAddressOfRawData  QWORD ?
   EndAddressOfRawData    QWORD ?
   AddressOfIndex         QWORD ?
   AddressOfCallBacks     QWORD ?
   SizeOfZeroFill         DWORD ?
   Characteristics        DWORD ?
IMAGE_TLS_DIRECTORY64 ends

IMAGE_LOAD_CONFIG_DIRECTORY32 struct
   _Size                   DWORD ?
   TimeDateStamp          DWORD ?
   MajorVersion           WORD ?
   MinorVersion           WORD ?
   GlobalFlagsClear       DWORD ?
   GlobalFlagsSet         DWORD ?
   CriticalSectionDefaultTimeout DWORD ?
   DeCommitFreeBlockThreshold DWORD ?
   DeCommitTotalFreeThreshold DWORD ?
   LockPrefixTable        DWORD ?
   MaximumAllocationSize  DWORD ?
   VirtualMemoryThreshold DWORD ?
   ProcessHeapFlags       DWORD ?
   ProcessAffinityMask    DWORD ?
   CSDVersion             WORD ?
   Reserved1              WORD ?
   EditList               DWORD ?
   SecurityCookie         DWORD ?
   SEHandlerTable         DWORD ?
   SEHandlerCount         DWORD ?
IMAGE_LOAD_CONFIG_DIRECTORY32 ends

IMAGE_LOAD_CONFIG_DIRECTORY64 struct
   _Size                   DWORD ?
   TimeDateStamp          DWORD ?
   MajorVersion           WORD ?
   MinorVersion           WORD ?
   GlobalFlagsClear       DWORD ?
   GlobalFlagsSet         DWORD ?
   CriticalSectionDefaultTimeout DWORD ?
   DeCommitFreeBlockThreshold QWORD ?
   DeCommitTotalFreeThreshold QWORD ?
   LockPrefixTable        QWORD ?
   MaximumAllocationSize  QWORD ?
   VirtualMemoryThreshold QWORD ?
   ProcessAffinityMask    QWORD ?
   ProcessHeapFlags       DWORD ?
   CSDVersion             WORD ?
   Reserved1              WORD ?
   EditList               QWORD ?
   SecurityCookie         QWORD ?
   SEHandlerTable         QWORD ?
   SEHandlerCount         QWORD ?
IMAGE_LOAD_CONFIG_DIRECTORY64 ends

NON_PAGED_DEBUG_INFO struct
   Signature              WORD ?
   Flags                  WORD ?
   _Size                   DWORD ?
   Machine                WORD ?
   Characteristics        WORD ?
   TimeDateStamp          DWORD ?
   CheckSum               DWORD ?
   SizeOfImage            DWORD ?
   ImageBase              QWORD ?
NON_PAGED_DEBUG_INFO ends

IMAGE_ARCHITECTURE_ENTRY struct
   FixupInstRVA           DWORD ?
   NewInst                DWORD ?
IMAGE_ARCHITECTURE_ENTRY ends

IMAGE_COR20_HEADER struct
   cb                     DWORD ?
   MajorRuntimeVersion    WORD ?
   MinorRuntimeVersion    WORD ?
   MetaData               IMAGE_DATA_DIRECTORY <>
   Flags                  DWORD ?
   EntryPointToken        DWORD ?
   Resources              IMAGE_DATA_DIRECTORY <>
   StrongNameSignature    IMAGE_DATA_DIRECTORY <>
   CodeManagerTable       IMAGE_DATA_DIRECTORY <>
   VTableFixups           IMAGE_DATA_DIRECTORY <>
   ExportAddressTableJumps IMAGE_DATA_DIRECTORY <>
   ManagedNativeHeader    IMAGE_DATA_DIRECTORY <>
IMAGE_COR20_HEADER ends

RTL_SRWLOCK struct
   _Ptr                    DWORD ?
RTL_SRWLOCK ends

RTL_CONDITION_VARIABLE struct
   _Ptr                    DWORD ?
RTL_CONDITION_VARIABLE ends

ACTIVATION_CONTEXT_QUERY_INDEX struct
   ulAssemblyIndex        DWORD ?
   ulFileIndexInAssembly  DWORD ?
ACTIVATION_CONTEXT_QUERY_INDEX ends

ASSEMBLY_FILE_DETAILED_INFORMATION struct
   ulFlags                DWORD ?
   ulFilenameLength       DWORD ?
   ulPathLength           DWORD ?
   lpFileName             DWORD ?
   lpFilePath             DWORD ?
ASSEMBLY_FILE_DETAILED_INFORMATION ends

ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION struct
   ulFlags                DWORD ?
   ulEncodedAssemblyIdentityLength DWORD ?
   ulManifestPathType     DWORD ?
   ulManifestPathLength   DWORD ?
   liManifestLastWriteTime LARGE_INTEGER <>
   ulPolicyPathType       DWORD ?
   ulPolicyPathLength     DWORD ?
   liPolicyLastWriteTime  LARGE_INTEGER <>
   ulMetadataSatelliteRosterIndex DWORD ?
   ulManifestVersionMajor DWORD ?
   ulManifestVersionMinor DWORD ?
   ulPolicyVersionMajor   DWORD ?
   ulPolicyVersionMinor   DWORD ?
   ulAssemblyDirectoryNameLength DWORD ?
   lpAssemblyEncodedAssemblyIdentity DWORD ?
   lpAssemblyManifestPath DWORD ?
   lpAssemblyPolicyPath   DWORD ?
   lpAssemblyDirectoryName DWORD ?
   ulFileCount            DWORD ?
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION ends

ACTIVATION_CONTEXT_DETAILED_INFORMATION struct
   dwFlags                DWORD ?
   ulFormatVersion        DWORD ?
   ulAssemblyCount        DWORD ?
   ulRootManifestPathType DWORD ?
   ulRootManifestPathChars DWORD ?
   ulRootConfigurationPathType DWORD ?
   ulRootConfigurationPathChars DWORD ?
   ulAppDirPathType       DWORD ?
   ulAppDirPathChars      DWORD ?
   lpRootManifestPath     DWORD ?
   lpRootConfigurationPath DWORD ?
   lpAppDirPath           DWORD ?
ACTIVATION_CONTEXT_DETAILED_INFORMATION ends

TAPE_WMI_OPERATIONS struct
   Method                 DWORD ?
   DataBufferSize         DWORD ?
   DataBuffer             DWORD ?
TAPE_WMI_OPERATIONS ends

RESOURCEMANAGER_BASIC_INFORMATION struct
   ResourceManagerId      GUID <>
   DescriptionLength      DWORD ?
   Description WORD 1 dup (?)
RESOURCEMANAGER_BASIC_INFORMATION ends

RESOURCEMANAGER_COMPLETION_INFORMATION struct
   IoCompletionPortHandle DWORD ?
   CompletionKey          DWORD ?
RESOURCEMANAGER_COMPLETION_INFORMATION ends

ENLISTMENT_BASIC_INFORMATION struct
   EnlistmentId           GUID <>
   TransactionId          GUID <>
   ResourceManagerId      GUID <>
ENLISTMENT_BASIC_INFORMATION ends

KTMOBJECT_CURSOR struct
   LastQuery              GUID <>
   ObjectIdCount          DWORD ?
   ObjectIds              GUID 1 dup (<>)
KTMOBJECT_CURSOR ends

;;;; end NTextra
;;;; lmpapi

class_NULL                       = 0
class_SESSION                    = 1
class_SESSION_GROUP              = 2
class_RSVP_HOP                   = 3
class_INTEGRITY                  = 4
class_TIME_VALUES                = 5
class_ERROR_SPEC                 = 6
class_SCOPE                      = 7
class_STYLE                      = 8
class_FLOWSPEC                   = 9
class_IS_FLOWSPEC                = 9
class_FILTER_SPEC                = 10
class_SENDER_TEMPLATE            = 11
class_SENDER_TSPEC               = 12
class_ADSPEC                     = 13
class_POLICY_DATA                = 14
class_CONFIRM                    = 15
class_MAX                        = 15
ctype_SESSION_ipv4               = 1
ctype_SESSION_ipv4GPI            = 3
SESSFLG_E_Police                 = 01h
ctype_RSVP_HOP_ipv4              = 1
Opt_Share_mask                   = 00000018h
Opt_Distinct                     = 00000008h
Opt_Shared                       = 00000010h
Opt_SndSel_mask                  = 00000007h
Opt_Wildcard                     = 00000001h
Opt_Explicit                     = 00000002h
ctype_STYLE                      = 1
ctype_FILTER_SPEC_ipv4           = 1
ctype_FILTER_SPEC_ipv4GPI        = 4
ctype_SENDER_TEMPLATE_ipv4       = 1
ctype_SENDER_TEMPLATE_ipv4GPI    = 4
ctype_SCOPE_list_ipv4            = 1
ctype_ERROR_SPEC_ipv4            = 1
ERROR_SPECF_InPlace              = 01h
ERROR_SPECF_NotGuilty            = 02h
ERR_FORWARD_OK                   = 8000h
ERR_Usage_globl                  = 00h
ERR_Usage_local                  = 10h
ERR_Usage_serv                   = 11h
ERR_global_mask                  = 0FFFh
ctype_POLICY_DATA                = 1
GENERAL_INFO                     = 1
GUARANTEED_SERV                  = 2
PREDICTIVE_SERV                  = 3
CONTROLLED_DELAY_SERV            = 4
CONTROLLED_LOAD_SERV             = 5
QUALITATIVE_SERV                 = 6
INTSERV_VERS_MASK                = 0F0h
INTSERV_VERSION0                 = 0
ISSH_BREAK_BIT                   = 80h
ISPH_FLG_INV                     = 80h
ctype_SENDER_TSPEC               = 2
ctype_FLOWSPEC_Intserv0          = 2
ctype_ADSPEC_INTSERV             = 2
RSVP_PATH                        = 1
RSVP_RESV                        = 2
RSVP_PATH_ERR                    = 3
RSVP_RESV_ERR                    = 4
RSVP_PATH_TEAR                   = 5
RSVP_RESV_TEAR                   = 6
RSVP_Err_NONE                    = 0
RSVP_Erv_Nonev                   = 0
RSVP_Err_ADMISSION               = 1
RSVP_Erv_Other                   = 0
RSVP_Erv_DelayBnd                = 1
RSVP_Erv_Bandwidth               = 2
RSVP_Erv_MTU                     = 3
RSVP_Erv_Flow_Rate               = 8001h
RSVP_Erv_Bucket_szie             = 8002h
RSVP_Erv_Peak_Rate               = 8003h
RSVP_Erv_Min_Policied_size       = 8004h
RSVP_Err_POLICY                  = 2
POLICY_ERRV_NO_MORE_INFO         = 1
POLICY_ERRV_UNSUPPORTED_CREDENTIAL_TYPE = 2
POLICY_ERRV_INSUFFICIENT_PRIVILEGES = 3
POLICY_ERRV_EXPIRED_CREDENTIALS  = 4
POLICY_ERRV_IDENTITY_CHANGED     = 5
POLICY_ERRV_UNKNOWN              = 0
POLICY_ERRV_GLOBAL_DEF_FLOW_COUNT = 1
POLICY_ERRV_GLOBAL_GRP_FLOW_COUNT = 2
POLICY_ERRV_GLOBAL_USER_FLOW_COUNT = 3
POLICY_ERRV_GLOBAL_UNAUTH_USER_FLOW_COUNT = 4
POLICY_ERRV_SUBNET_DEF_FLOW_COUNT = 5
POLICY_ERRV_SUBNET_GRP_FLOW_COUNT = 6
POLICY_ERRV_SUBNET_USER_FLOW_COUNT = 7
POLICY_ERRV_SUBNET_UNAUTH_USER_FLOW_COUNT = 8
POLICY_ERRV_GLOBAL_DEF_FLOW_DURATION = 9
POLICY_ERRV_GLOBAL_GRP_FLOW_DURATION = 10
POLICY_ERRV_GLOBAL_USER_FLOW_DURATION = 11
POLICY_ERRV_GLOBAL_UNAUTH_USER_FLOW_DURATION = 12
POLICY_ERRV_SUBNET_DEF_FLOW_DURATION = 13
POLICY_ERRV_SUBNET_GRP_FLOW_DURATION = 14
POLICY_ERRV_SUBNET_USER_FLOW_DURATION = 15
POLICY_ERRV_SUBNET_UNAUTH_USER_FLOW_DURATION = 16
POLICY_ERRV_GLOBAL_DEF_FLOW_RATE = 17
POLICY_ERRV_GLOBAL_GRP_FLOW_RATE = 18
POLICY_ERRV_GLOBAL_USER_FLOW_RATE = 19
POLICY_ERRV_GLOBAL_UNAUTH_USER_FLOW_RATE = 20
POLICY_ERRV_SUBNET_DEF_FLOW_RATE = 21
POLICY_ERRV_SUBNET_GRP_FLOW_RATE = 22
POLICY_ERRV_SUBNET_USER_FLOW_RATE = 23
POLICY_ERRV_SUBNET_UNAUTH_USER_FLOW_RATE = 24
POLICY_ERRV_GLOBAL_DEF_PEAK_RATE = 25
POLICY_ERRV_GLOBAL_GRP_PEAK_RATE = 26
POLICY_ERRV_GLOBAL_USER_PEAK_RATE = 27
POLICY_ERRV_GLOBAL_UNAUTH_USER_PEAK_RATE = 28
POLICY_ERRV_SUBNET_DEF_PEAK_RATE = 29
POLICY_ERRV_SUBNET_GRP_PEAK_RATE = 30
POLICY_ERRV_SUBNET_USER_PEAK_RATE = 31
POLICY_ERRV_SUBNET_UNAUTH_USER_PEAK_RATE = 32
POLICY_ERRV_GLOBAL_DEF_SUM_FLOW_RATE = 33
POLICY_ERRV_GLOBAL_GRP_SUM_FLOW_RATE = 34
POLICY_ERRV_GLOBAL_USER_SUM_FLOW_RATE = 35
POLICY_ERRV_GLOBAL_UNAUTH_USER_SUM_FLOW_RATE = 36
POLICY_ERRV_SUBNET_DEF_SUM_FLOW_RATE = 37
POLICY_ERRV_SUBNET_GRP_SUM_FLOW_RATE = 38
POLICY_ERRV_SUBNET_USER_SUM_FLOW_RATE = 39
POLICY_ERRV_SUBNET_UNAUTH_USER_SUM_FLOW_RATE = 40
POLICY_ERRV_GLOBAL_DEF_SUM_PEAK_RATE = 41
POLICY_ERRV_GLOBAL_GRP_SUM_PEAK_RATE = 42
POLICY_ERRV_GLOBAL_USER_SUM_PEAK_RATE = 43
POLICY_ERRV_GLOBAL_UNAUTH_USER_SUM_PEAK_RATE = 44
POLICY_ERRV_SUBNET_DEF_SUM_PEAK_RATE = 45
POLICY_ERRV_SUBNET_GRP_SUM_PEAK_RATE = 46
POLICY_ERRV_SUBNET_USER_SUM_PEAK_RATE = 47
POLICY_ERRV_SUBNET_UNAUTH_USER_SUM_PEAK_RATE = 48
POLICY_ERRV_UNKNOWN_USER         = 49
POLICY_ERRV_NO_PRIVILEGES        = 50
POLICY_ERRV_EXPIRED_USER_TOKEN   = 51
POLICY_ERRV_NO_RESOURCES         = 52
POLICY_ERRV_PRE_EMPTED           = 53
POLICY_ERRV_USER_CHANGED         = 54
POLICY_ERRV_NO_ACCEPTS           = 55
POLICY_ERRV_NO_MEMORY            = 56
POLICY_ERRV_CRAZY_FLOWSPEC       = 57
RSVP_Err_NO_PATH                 = 3
RSVP_Err_NO_SENDER               = 4
RSVP_Err_BAD_STYLE               = 5
RSVP_Err_UNKNOWN_STYLE           = 6
RSVP_Err_BAD_DSTPORT             = 7
RSVP_Err_BAD_SNDPORT             = 8
RSVP_Err_AMBIG_FILTER            = 9
RSVP_Err_PREEMPTED               = 12
RSVP_Err_UNKN_OBJ_CLASS          = 13
RSVP_Err_UNKNOWN_CTYPE           = 14
RSVP_Err_API_ERROR               = 20
RSVP_Err_TC_ERROR                = 21
RSVP_Erv_Conflict_Serv           = 01
RSVP_Erv_No_Serv                 = 02
RSVP_Erv_Crazy_Flowspec          = 03
RSVP_Erv_Crazy_Tspec             = 04
RSVP_Err_TC_SYS_ERROR            = 22
RSVP_Err_RSVP_SYS_ERROR          = 23
RSVP_Erv_MEMORY                  = 1
RSVP_Erv_API                     = 2
LPM_PE_USER_IDENTITY             = 2
LPM_PE_APP_IDENTITY              = 3
ERROR_NO_MORE_INFO               = 1
UNSUPPORTED_CREDENTIAL_TYPE      = 2
INSUFFICIENT_PRIVILEGES          = 3
EXPIRED_CREDENTIAL               = 4
IDENTITY_CHANGED                 = 5
LPM_OK                           = 0
INV_LPM_HANDLE                   = 1
LPM_TIME_OUT                     = 2
INV_REQ_HANDLE                   = 3
DUP_RESULTS                      = 4
INV_RESULTS                      = 5
LPM_PE_ALL_TYPES                 = 0
LPM_API_VERSION_1                = 1
PCM_VERSION_1                    = 1
LPV_RESERVED                     = 0
LPV_MIN_PRIORITY                 = 1
LPV_MAX_PRIORITY                 = 0FF00h
LPV_DROP_MSG                     = 0FFFDh
LPV_DONT_CARE                    = 0FFFEh
LPV_REJECT                       = 0FFFFh
FORCE_IMMEDIATE_REFRESH          = 1
LPM_RESULT_READY                 = 0
LPM_RESULT_DEFER                 = 1
RCVD_PATH_TEAR                   = 1
RCVD_RESV_TEAR                   = 2
ADM_CTRL_FAILED                  = 3
STATE_TIMEOUT                    = 4
FLOW_DURATION                    = 5
RESOURCES_ALLOCATED              = 1
RESOURCES_MODIFIED               = 2

;;;; end lmpapi

;;;; mmreg

_INC_MMREG                       = 158
MM_CREATIVE                      = 2
MM_MEDIAVISION                   = 3
MM_FUJITSU                       = 4
MM_PRAGMATRAX                    = 5
MM_CYRIX                         = 6
MM_PHILIPS_SPEECH_PROCESSING     = 7
MM_NETXL                         = 8
MM_ZYXEL                         = 9
MM_BECUBED                       = 10
MM_AARDVARK                      = 11
MM_BINTEC                        = 12
MM_HEWLETT_PACKARD               = 13
MM_ACULAB                        = 14
MM_FAITH                         = 15
MM_MITEL                         = 16
MM_QUANTUM3D                     = 17
MM_SNI                           = 18
MM_EMU                           = 19
MM_ARTISOFT                      = 20
MM_TURTLE_BEACH                  = 21
MM_IBM                           = 22
MM_VOCALTEC                      = 23
MM_ROLAND                        = 24
MM_DSP_SOLUTIONS                 = 25
MM_NEC                           = 26
MM_ATI                           = 27
MM_WANGLABS                      = 28
MM_TANDY                         = 29
MM_VOYETRA                       = 30
MM_ANTEX                         = 31
MM_ICL_PS                        = 32
MM_INTEL                         = 33
MM_GRAVIS                        = 34
MM_VAL                           = 35
MM_INTERACTIVE                   = 36
MM_YAMAHA                        = 37
MM_EVEREX                        = 38
MM_ECHO                          = 39
MM_SIERRA                        = 40
MM_CAT                           = 41
MM_APPS                          = 42
MM_DSP_GROUP                     = 43
MM_MELABS                        = 44
MM_COMPUTER_FRIENDS              = 45
MM_ESS                           = 46
MM_AUDIOFILE                     = 47
MM_MOTOROLA                      = 48
MM_CANOPUS                       = 49
MM_EPSON                         = 50
MM_TRUEVISION                    = 51
MM_AZTECH                        = 52
MM_VIDEOLOGIC                    = 53
MM_SCALACS                       = 54
MM_KORG                          = 55
MM_APT                           = 56
MM_ICS                           = 57
MM_ITERATEDSYS                   = 58
MM_METHEUS                       = 59
MM_LOGITECH                      = 60
MM_WINNOV                        = 61
MM_NCR                           = 62
MM_EXAN                          = 63
MM_AST                           = 64
MM_WILLOWPOND                    = 65
MM_SONICFOUNDRY                  = 66
MM_VITEC                         = 67
MM_MOSCOM                        = 68
MM_SILICONSOFT                   = 69
MM_TERRATEC                      = 70
MM_MEDIASONIC                    = 71
MM_SANYO                         = 72
MM_SUPERMAC                      = 73
MM_AUDIOPT                       = 74
MM_NOGATECH                      = 75
MM_SPEECHCOMP                    = 76
MM_AHEAD                         = 77
MM_DOLBY                         = 78
MM_OKI                           = 79
MM_AURAVISION                    = 80
MM_OLIVETTI                      = 81
MM_IOMAGIC                       = 82
MM_MATSUSHITA                    = 83
MM_CONTROLRES                    = 84
MM_XEBEC                         = 85
MM_NEWMEDIA                      = 86
MM_NMS                           = 87
MM_LYRRUS                        = 88
MM_COMPUSIC                      = 89
MM_OPTI                          = 90
MM_ADLACC                        = 91
MM_COMPAQ                        = 92
MM_DIALOGIC                      = 93
MM_INSOFT                        = 94
MM_MPTUS                         = 95
MM_WEITEK                        = 96
MM_LERNOUT_AND_HAUSPIE           = 97
MM_QCIAR                         = 98
MM_APPLE                         = 99
MM_DIGITAL                       = 100
MM_MOTU                          = 101
MM_WORKBIT                       = 102
MM_OSITECH                       = 103
MM_MIRO                          = 104
MM_CIRRUSLOGIC                   = 105
MM_ISOLUTION                     = 106
MM_HORIZONS                      = 107
MM_CONCEPTS                      = 108
MM_VTG                           = 109
MM_RADIUS                        = 110
MM_ROCKWELL                      = 111
MM_XYZ                           = 112
MM_OPCODE                        = 113
MM_VOXWARE                       = 114
MM_NORTHERN_TELECOM              = 115
MM_APICOM                        = 116
MM_GRANDE                        = 117
MM_ADDX                          = 118
MM_WILDCAT                       = 119
MM_RHETOREX                      = 120
MM_BROOKTREE                     = 121
MM_ENSONIQ                       = 125
MM_FAST                          = 126
MM_NVIDIA                        = 127
MM_OKSORI                        = 128
MM_DIACOUSTICS                   = 129
MM_GULBRANSEN                    = 130
MM_KAY_ELEMETRICS                = 131
MM_CRYSTAL                       = 132
MM_SPLASH_STUDIOS                = 133
MM_QUARTERDECK                   = 134
MM_TDK                           = 135
MM_DIGITAL_AUDIO_LABS            = 136
MM_SEERSYS                       = 137
MM_PICTURETEL                    = 138
MM_ATT_MICROELECTRONICS          = 139
MM_OSPREY                        = 140
MM_MEDIATRIX                     = 141
MM_SOUNDESIGNS                   = 142
MM_ALDIGITAL                     = 143
MM_SPECTRUM_SIGNAL_PROCESSING    = 144
MM_ECS                           = 145
MM_AMD                           = 146
MM_COREDYNAMICS                  = 147
MM_CANAM                         = 148
MM_SOFTSOUND                     = 149
MM_NORRIS                        = 150
MM_DDD                           = 151
MM_EUPHONICS                     = 152
MM_PRECEPT                       = 153
MM_CRYSTAL_NET                   = 154
MM_CHROMATIC                     = 155
MM_VOICEINFO                     = 156
MM_VIENNASYS                     = 157
MM_CONNECTIX                     = 158
MM_GADGETLABS                    = 159
MM_FRONTIER                      = 160
MM_VIONA                         = 161
MM_CASIO                         = 162
MM_DIAMONDMM                     = 163
MM_S3                            = 164
MM_DVISION                       = 165
MM_NETSCAPE                      = 166
MM_SOUNDSPACE                    = 167
MM_VANKOEVERING                  = 168
MM_QTEAM                         = 169
MM_ZEFIRO                        = 170
MM_STUDER                        = 171
MM_FRAUNHOFER_IIS                = 172
MM_QUICKNET                      = 173
MM_ALARIS                        = 174
MM_SICRESOURCE                   = 175
MM_NEOMAGIC                      = 176
MM_MERGING_TECHNOLOGIES          = 177
MM_XIRLINK                       = 178
MM_COLORGRAPH                    = 179
MM_OTI                           = 180
MM_AUREAL                        = 181
MM_VIVO                          = 182
MM_SHARP                         = 183
MM_LUCENT                        = 184
MM_ATT                           = 185
MM_SUNCOM                        = 186
MM_SORVIS                        = 187
MM_INVISION                      = 188
MM_BERKOM                        = 189
MM_MARIAN                        = 190
MM_DPSINC                        = 191
MM_BCB                           = 192
MM_MOTIONPIXELS                  = 193
MM_QDESIGN                       = 194
MM_NMP                           = 195
MM_DATAFUSION                    = 196
MM_DUCK                          = 197
MM_FTR                           = 198
MM_BERCOS                        = 199
MM_ONLIVE                        = 200
MM_SIEMENS_SBC                   = 201
MM_TERALOGIC                     = 202
MM_PHONET                        = 203
MM_WINBOND                       = 204
MM_VIRTUALMUSIC                  = 205
MM_ENET                          = 206
MM_GUILLEMOT                     = 207
MM_EMAGIC                        = 208
MM_MWM                           = 209
MM_PACIFICRESEARCH               = 210
MM_SIPROLAB                      = 211
MM_LYNX                          = 212
MM_SPECTRUM_PRODUCTIONS          = 213
MM_DICTAPHONE                    = 214
MM_QUALCOMM                      = 215
MM_RZS                           = 216
MM_AUDIOSCIENCE                  = 217
MM_PINNACLE                      = 218
MM_EES                           = 219
MM_HAFTMANN                      = 220
MM_LUCID                         = 221
MM_HEADSPACE                     = 222
MM_UNISYS                        = 223
MM_LUMINOSITI                    = 224
MM_ACTIVEVOICE                   = 225
MM_DTS                           = 226
MM_DIGIGRAM                      = 227
MM_SOFTLAB_NSK                   = 228
MM_FORTEMEDIA                    = 229
MM_SONORUS                       = 230
MM_ARRAY                         = 231
MM_DATARAN                       = 232
MM_I_LINK                        = 233
MM_SELSIUS_SYSTEMS               = 234
MM_ADMOS                         = 235
MM_LEXICON                       = 236
MM_SGI                           = 237
MM_IPI                           = 238
MM_ICE                           = 239
MM_VQST                          = 240
MM_ETEK                          = 241
MM_CS                            = 242
MM_ALESIS                        = 243
MM_INTERNET                      = 244
MM_SONY                          = 245
MM_HYPERACTIVE                   = 246
MM_UHER_INFORMATIC               = 247
MM_SYDEC_NV                      = 248
MM_FLEXION                       = 249
MM_VIA                           = 250
MM_MICRONAS                      = 251
MM_ANALOGDEVICES                 = 252
MM_HP                            = 253
MM_MATROX_DIV                    = 254
MM_QUICKAUDIO                    = 255
MM_YOUCOM                        = 256
MM_RICHMOND                      = 257
MM_IODD                          = 258
MM_ICCC                          = 259
MM_3COM                          = 260
MM_MALDEN                        = 261
MM_3DFX                          = 262
MM_MINDMAKER                     = 263
MM_TELEKOL                       = 264
MM_ST_MICROELECTRONICS           = 265
MM_ALGOVISION                    = 266
MM_UNMAPPED                      = 0FFFFh
MM_PID_UNMAPPED                  = MM_UNMAPPED
MM_PCSPEAKER_WAVEOUT             = 13
MM_MSFT_WSS_WAVEIN               = 14
MM_MSFT_WSS_WAVEOUT              = 15
MM_MSFT_WSS_FMSYNTH_STEREO       = 16
MM_MSFT_WSS_MIXER                = 17
MM_MSFT_WSS_OEM_WAVEIN           = 18
MM_MSFT_WSS_OEM_WAVEOUT          = 19
MM_MSFT_WSS_OEM_FMSYNTH_STEREO   = 20
MM_MSFT_WSS_AUX                  = 21
MM_MSFT_WSS_OEM_AUX              = 22
MM_MSFT_GENERIC_WAVEIN           = 23
MM_MSFT_GENERIC_WAVEOUT          = 24
MM_MSFT_GENERIC_MIDIIN           = 25
MM_MSFT_GENERIC_MIDIOUT          = 26
MM_MSFT_GENERIC_MIDISYNTH        = 27
MM_MSFT_GENERIC_AUX_LINE         = 28
MM_MSFT_GENERIC_AUX_MIC          = 29
MM_MSFT_GENERIC_AUX_CD           = 30
MM_MSFT_WSS_OEM_MIXER            = 31
MM_MSFT_MSACM                    = 32
MM_MSFT_ACM_MSADPCM              = 33
MM_MSFT_ACM_IMAADPCM             = 34
MM_MSFT_ACM_MSFILTER             = 35
MM_MSFT_ACM_GSM610               = 36
MM_MSFT_ACM_G711                 = 37
MM_MSFT_ACM_PCM                  = 38
MM_WSS_SB16_WAVEIN               = 39
MM_WSS_SB16_WAVEOUT              = 40
MM_WSS_SB16_MIDIIN               = 41
MM_WSS_SB16_MIDIOUT              = 42
MM_WSS_SB16_SYNTH                = 43
MM_WSS_SB16_AUX_LINE             = 44
MM_WSS_SB16_AUX_CD               = 45
MM_WSS_SB16_MIXER                = 46
MM_WSS_SBPRO_WAVEIN              = 47
MM_WSS_SBPRO_WAVEOUT             = 48
MM_WSS_SBPRO_MIDIIN              = 49
MM_WSS_SBPRO_MIDIOUT             = 50
MM_WSS_SBPRO_SYNTH               = 51
MM_WSS_SBPRO_AUX_LINE            = 52
MM_WSS_SBPRO_AUX_CD              = 53
MM_WSS_SBPRO_MIXER               = 54
MM_MSFT_WSS_NT_WAVEIN            = 55
MM_MSFT_WSS_NT_WAVEOUT           = 56
MM_MSFT_WSS_NT_FMSYNTH_STEREO    = 57
MM_MSFT_WSS_NT_MIXER             = 58
MM_MSFT_WSS_NT_AUX               = 59
MM_MSFT_SB16_WAVEIN              = 60
MM_MSFT_SB16_WAVEOUT             = 61
MM_MSFT_SB16_MIDIIN              = 62
MM_MSFT_SB16_MIDIOUT             = 63
MM_MSFT_SB16_SYNTH               = 64
MM_MSFT_SB16_AUX_LINE            = 65
MM_MSFT_SB16_AUX_CD              = 66
MM_MSFT_SB16_MIXER               = 67
MM_MSFT_SBPRO_WAVEIN             = 68
MM_MSFT_SBPRO_WAVEOUT            = 69
MM_MSFT_SBPRO_MIDIIN             = 70
MM_MSFT_SBPRO_MIDIOUT            = 71
MM_MSFT_SBPRO_SYNTH              = 72
MM_MSFT_SBPRO_AUX_LINE           = 73
MM_MSFT_SBPRO_AUX_CD             = 74
MM_MSFT_SBPRO_MIXER              = 75
MM_MSFT_MSOPL_SYNTH              = 76
MM_MSFT_VMDMS_LINE_WAVEIN        = 80
MM_MSFT_VMDMS_LINE_WAVEOUT       = 81
MM_MSFT_VMDMS_HANDSET_WAVEIN     = 82
MM_MSFT_VMDMS_HANDSET_WAVEOUT    = 83
MM_MSFT_VMDMW_LINE_WAVEIN        = 84
MM_MSFT_VMDMW_LINE_WAVEOUT       = 85
MM_MSFT_VMDMW_HANDSET_WAVEIN     = 86
MM_MSFT_VMDMW_HANDSET_WAVEOUT    = 87
MM_MSFT_VMDMW_MIXER              = 88
MM_MSFT_VMDM_GAME_WAVEOUT        = 89
MM_MSFT_VMDM_GAME_WAVEIN         = 90
MM_MSFT_ACM_MSNAUDIO             = 91
MM_MSFT_ACM_MSG723               = 92
MM_MSFT_ACM_MSRT24               = 93
MM_MSFT_WDMAUDIO_WAVEOUT         = 100
MM_MSFT_WDMAUDIO_WAVEIN          = 101
MM_MSFT_WDMAUDIO_MIDIOUT         = 102
MM_MSFT_WDMAUDIO_MIDIIN          = 103
MM_MSFT_WDMAUDIO_MIXER           = 104
MM_MSFT_WDMAUDIO_AUX             = 105
MM_CREATIVE_SB15_WAVEIN          = 1
MM_CREATIVE_SB20_WAVEIN          = 2
MM_CREATIVE_SBPRO_WAVEIN         = 3
MM_CREATIVE_SBP16_WAVEIN         = 4
MM_CREATIVE_PHNBLST_WAVEIN       = 5
MM_CREATIVE_SB15_WAVEOUT         = 101
MM_CREATIVE_SB20_WAVEOUT         = 102
MM_CREATIVE_SBPRO_WAVEOUT        = 103
MM_CREATIVE_SBP16_WAVEOUT        = 104
MM_CREATIVE_PHNBLST_WAVEOUT      = 105
MM_CREATIVE_MIDIOUT              = 201
MM_CREATIVE_MIDIIN               = 202
MM_CREATIVE_FMSYNTH_MONO         = 301
MM_CREATIVE_FMSYNTH_STEREO       = 302
MM_CREATIVE_MIDI_AWE32           = 303
MM_CREATIVE_AUX_CD               = 401
MM_CREATIVE_AUX_LINE             = 402
MM_CREATIVE_AUX_MIC              = 403
MM_CREATIVE_AUX_MASTER           = 404
MM_CREATIVE_AUX_PCSPK            = 405
MM_CREATIVE_AUX_WAVE             = 406
MM_CREATIVE_AUX_MIDI             = 407
MM_CREATIVE_SBPRO_MIXER          = 408
MM_CREATIVE_SB16_MIXER           = 409
MM_MEDIAVISION_PROAUDIO          = 10h
MM_PROAUD_MIDIOUT                = MM_MEDIAVISION_PROAUDIO+1
MM_PROAUD_MIDIIN                 = MM_MEDIAVISION_PROAUDIO+2
MM_PROAUD_SYNTH                  = MM_MEDIAVISION_PROAUDIO+3
MM_PROAUD_WAVEOUT                = MM_MEDIAVISION_PROAUDIO+4
MM_PROAUD_WAVEIN                 = MM_MEDIAVISION_PROAUDIO+5
MM_PROAUD_MIXER                  = MM_MEDIAVISION_PROAUDIO+6
MM_PROAUD_AUX                    = MM_MEDIAVISION_PROAUDIO+7
MM_MEDIAVISION_THUNDER           = 20h
MM_THUNDER_SYNTH                 = MM_MEDIAVISION_THUNDER+3
MM_THUNDER_WAVEOUT               = MM_MEDIAVISION_THUNDER+4
MM_THUNDER_WAVEIN                = MM_MEDIAVISION_THUNDER+5
MM_THUNDER_AUX                   = MM_MEDIAVISION_THUNDER+7
MM_MEDIAVISION_TPORT             = 40h
MM_TPORT_WAVEOUT                 = MM_MEDIAVISION_TPORT+1
MM_TPORT_WAVEIN                  = MM_MEDIAVISION_TPORT+2
MM_TPORT_SYNTH                   = MM_MEDIAVISION_TPORT+3
MM_MEDIAVISION_PROAUDIO_PLUS     = 50h
MM_PROAUD_PLUS_MIDIOUT           = MM_MEDIAVISION_PROAUDIO_PLUS+1
MM_PROAUD_PLUS_MIDIIN            = MM_MEDIAVISION_PROAUDIO_PLUS+2
MM_PROAUD_PLUS_SYNTH             = MM_MEDIAVISION_PROAUDIO_PLUS+3
MM_PROAUD_PLUS_WAVEOUT           = MM_MEDIAVISION_PROAUDIO_PLUS+4
MM_PROAUD_PLUS_WAVEIN            = MM_MEDIAVISION_PROAUDIO_PLUS+5
MM_PROAUD_PLUS_MIXER             = MM_MEDIAVISION_PROAUDIO_PLUS+6
MM_PROAUD_PLUS_AUX               = MM_MEDIAVISION_PROAUDIO_PLUS+7
MM_MEDIAVISION_PROAUDIO_16       = 60h
MM_PROAUD_16_MIDIOUT             = MM_MEDIAVISION_PROAUDIO_16+1
MM_PROAUD_16_MIDIIN              = MM_MEDIAVISION_PROAUDIO_16+2
MM_PROAUD_16_SYNTH               = MM_MEDIAVISION_PROAUDIO_16+3
MM_PROAUD_16_WAVEOUT             = MM_MEDIAVISION_PROAUDIO_16+4
MM_PROAUD_16_WAVEIN              = MM_MEDIAVISION_PROAUDIO_16+5
MM_PROAUD_16_MIXER               = MM_MEDIAVISION_PROAUDIO_16+6
MM_PROAUD_16_AUX                 = MM_MEDIAVISION_PROAUDIO_16+7
MM_MEDIAVISION_PROSTUDIO_16      = 60h
MM_STUDIO_16_MIDIOUT             = MM_MEDIAVISION_PROSTUDIO_16+1
MM_STUDIO_16_MIDIIN              = MM_MEDIAVISION_PROSTUDIO_16+2
MM_STUDIO_16_SYNTH               = MM_MEDIAVISION_PROSTUDIO_16+3
MM_STUDIO_16_WAVEOUT             = MM_MEDIAVISION_PROSTUDIO_16+4
MM_STUDIO_16_WAVEIN              = MM_MEDIAVISION_PROSTUDIO_16+5
MM_STUDIO_16_MIXER               = MM_MEDIAVISION_PROSTUDIO_16+6
MM_STUDIO_16_AUX                 = MM_MEDIAVISION_PROSTUDIO_16+7
MM_MEDIAVISION_CDPC              = 70h
MM_CDPC_MIDIOUT                  = MM_MEDIAVISION_CDPC+1
MM_CDPC_MIDIIN                   = MM_MEDIAVISION_CDPC+2
MM_CDPC_SYNTH                    = MM_MEDIAVISION_CDPC+3
MM_CDPC_WAVEOUT                  = MM_MEDIAVISION_CDPC+4
MM_CDPC_WAVEIN                   = MM_MEDIAVISION_CDPC+5
MM_CDPC_MIXER                    = MM_MEDIAVISION_CDPC+6
MM_CDPC_AUX                      = MM_MEDIAVISION_CDPC+7
MM_MEDIAVISION_OPUS1208          = 80h
MM_OPUS401_MIDIOUT               = MM_MEDIAVISION_OPUS1208+1
MM_OPUS401_MIDIIN                = MM_MEDIAVISION_OPUS1208+2
MM_OPUS1208_SYNTH                = MM_MEDIAVISION_OPUS1208+3
MM_OPUS1208_WAVEOUT              = MM_MEDIAVISION_OPUS1208+4
MM_OPUS1208_WAVEIN               = MM_MEDIAVISION_OPUS1208+5
MM_OPUS1208_MIXER                = MM_MEDIAVISION_OPUS1208+6
MM_OPUS1208_AUX                  = MM_MEDIAVISION_OPUS1208+7
MM_MEDIAVISION_OPUS1216          = 90h
MM_OPUS1216_MIDIOUT              = MM_MEDIAVISION_OPUS1216+1
MM_OPUS1216_MIDIIN               = MM_MEDIAVISION_OPUS1216+2
MM_OPUS1216_SYNTH                = MM_MEDIAVISION_OPUS1216+3
MM_OPUS1216_WAVEOUT              = MM_MEDIAVISION_OPUS1216+4
MM_OPUS1216_WAVEIN               = MM_MEDIAVISION_OPUS1216+5
MM_OPUS1216_MIXER                = MM_MEDIAVISION_OPUS1216+6
MM_OPUS1216_AUX                  = MM_MEDIAVISION_OPUS1216+7
MM_CYRIX_XASYNTH                 = 1
MM_CYRIX_XAMIDIIN                = 2
MM_CYRIX_XAMIDIOUT               = 3
MM_CYRIX_XAWAVEIN                = 4
MM_CYRIX_XAWAVEOUT               = 5
MM_CYRIX_XAAUX                   = 6
MM_CYRIX_XAMIXER                 = 7
MM_PHILIPS_ACM_LPCBB             = 1
MM_NETXL_XLVIDEO                 = 1
MM_ZYXEL_ACM_ADPCM               = 1
MM_AARDVARK_STUDIO12_WAVEOUT     = 1
MM_AARDVARK_STUDIO12_WAVEIN      = 2
MM_AARDVARK_STUDIO88_WAVEOUT     = 3
MM_AARDVARK_STUDIO88_WAVEIN      = 4
MM_BINTEC_TAPI_WAVE              = 1
MM_HEWLETT_PACKARD_CU_CODEC      = 1
MM_MITEL_TALKTO_LINE_WAVEOUT     = 100
MM_MITEL_TALKTO_LINE_WAVEIN      = 101
MM_MITEL_TALKTO_HANDSET_WAVEOUT  = 102
MM_MITEL_TALKTO_HANDSET_WAVEIN   = 103
MM_MITEL_TALKTO_BRIDGED_WAVEOUT  = 104
MM_MITEL_TALKTO_BRIDGED_WAVEIN   = 105
MM_MITEL_MPA_HANDSET_WAVEOUT     = 200
MM_MITEL_MPA_HANDSET_WAVEIN      = 201
MM_MITEL_MPA_HANDSFREE_WAVEOUT   = 202
MM_MITEL_MPA_HANDSFREE_WAVEIN    = 203
MM_MITEL_MPA_LINE1_WAVEOUT       = 204
MM_MITEL_MPA_LINE1_WAVEIN        = 205
MM_MITEL_MPA_LINE2_WAVEOUT       = 206
MM_MITEL_MPA_LINE2_WAVEIN        = 207
MM_MITEL_MEDIAPATH_WAVEOUT       = 300
MM_MITEL_MEDIAPATH_WAVEIN        = 301
MM_SNI_ACM_G721                  = 1
MM_EMU_APSSYNTH                  = 1
MM_EMU_APSMIDIIN                 = 2
MM_EMU_APSMIDIOUT                = 3
MM_EMU_APSWAVEIN                 = 4
MM_EMU_APSWAVEOUT                = 5
MM_ARTISOFT_SBWAVEIN             = 1
MM_ARTISOFT_SBWAVEOUT            = 2
MM_TBS_TROPEZ_WAVEIN             = 37
MM_TBS_TROPEZ_WAVEOUT            = 38
MM_TBS_TROPEZ_AUX1               = 39
MM_TBS_TROPEZ_AUX2               = 40
MM_TBS_TROPEZ_LINE               = 41
MM_MMOTION_WAVEAUX               = 1
MM_MMOTION_WAVEOUT               = 2
MM_MMOTION_WAVEIN                = 3
MM_IBM_PCMCIA_WAVEIN             = 11
MM_IBM_PCMCIA_WAVEOUT            = 12
MM_IBM_PCMCIA_SYNTH              = 13
MM_IBM_PCMCIA_MIDIIN             = 14
MM_IBM_PCMCIA_MIDIOUT            = 15
MM_IBM_PCMCIA_AUX                = 16
MM_IBM_THINKPAD200               = 17
MM_IBM_MWAVE_WAVEIN              = 18
MM_IBM_MWAVE_WAVEOUT             = 19
MM_IBM_MWAVE_MIXER               = 20
MM_IBM_MWAVE_MIDIIN              = 21
MM_IBM_MWAVE_MIDIOUT             = 22
MM_IBM_MWAVE_AUX                 = 23
MM_IBM_WC_MIDIOUT                = 30
MM_IBM_WC_WAVEOUT                = 31
MM_IBM_WC_MIXEROUT               = 33
MM_VOCALTEC_WAVEOUT              = 1
MM_VOCALTEC_WAVEIN               = 2
MM_ROLAND_RAP10_MIDIOUT          = 10
MM_ROLAND_RAP10_MIDIIN           = 11
MM_ROLAND_RAP10_SYNTH            = 12
MM_ROLAND_RAP10_WAVEOUT          = 13
MM_ROLAND_RAP10_WAVEIN           = 14
MM_ROLAND_MPU401_MIDIOUT         = 15
MM_ROLAND_MPU401_MIDIIN          = 16
MM_ROLAND_SMPU_MIDIOUTA          = 17
MM_ROLAND_SMPU_MIDIOUTB          = 18
MM_ROLAND_SMPU_MIDIINA           = 19
MM_ROLAND_SMPU_MIDIINB           = 20
MM_ROLAND_SC7_MIDIOUT            = 21
MM_ROLAND_SC7_MIDIIN             = 22
MM_ROLAND_SERIAL_MIDIOUT         = 23
MM_ROLAND_SERIAL_MIDIIN          = 24
MM_ROLAND_SCP_MIDIOUT            = 38
MM_ROLAND_SCP_MIDIIN             = 39
MM_ROLAND_SCP_WAVEOUT            = 40
MM_ROLAND_SCP_WAVEIN             = 41
MM_ROLAND_SCP_MIXER              = 42
MM_ROLAND_SCP_AUX                = 48
MM_DSP_SOLUTIONS_WAVEOUT         = 1
MM_DSP_SOLUTIONS_WAVEIN          = 2
MM_DSP_SOLUTIONS_SYNTH           = 3
MM_DSP_SOLUTIONS_AUX             = 4
MM_NEC_73_86_SYNTH               = 5
MM_NEC_73_86_WAVEOUT             = 6
MM_NEC_73_86_WAVEIN              = 7
MM_NEC_26_SYNTH                  = 9
MM_NEC_MPU401_MIDIOUT            = 10
MM_NEC_MPU401_MIDIIN             = 11
MM_NEC_JOYSTICK                  = 12
MM_WANGLABS_WAVEIN1              = 1
MM_WANGLABS_WAVEOUT1             = 2
MM_TANDY_VISWAVEIN               = 1
MM_TANDY_VISWAVEOUT              = 2
MM_TANDY_VISBIOSSYNTH            = 3
MM_TANDY_SENS_MMAWAVEIN          = 4
MM_TANDY_SENS_MMAWAVEOUT         = 5
MM_TANDY_SENS_MMAMIDIIN          = 6
MM_TANDY_SENS_MMAMIDIOUT         = 7
MM_TANDY_SENS_VISWAVEOUT         = 8
MM_TANDY_PSSJWAVEIN              = 9
MM_TANDY_PSSJWAVEOUT             = 10
MM_ANTEX_SX12_WAVEIN             = 1
MM_ANTEX_SX12_WAVEOUT            = 2
MM_ANTEX_SX15_WAVEIN             = 3
MM_ANTEX_SX15_WAVEOUT            = 4
MM_ANTEX_VP625_WAVEIN            = 5
MM_ANTEX_VP625_WAVEOUT           = 6
MM_ANTEX_AUDIOPORT22_WAVEIN      = 7
MM_ANTEX_AUDIOPORT22_WAVEOUT     = 8
MM_ANTEX_AUDIOPORT22_FEEDTHRU    = 9
MM_INTELOPD_WAVEIN               = 1
MM_INTELOPD_WAVEOUT              = 101
MM_INTELOPD_AUX                  = 401
MM_INTEL_NSPMODEMLINEIN          = 501
MM_INTEL_NSPMODEMLINEOUT         = 502
MM_VAL_MICROKEY_AP_WAVEIN        = 1
MM_VAL_MICROKEY_AP_WAVEOUT       = 2
MM_INTERACTIVE_WAVEIN            = 45h
MM_INTERACTIVE_WAVEOUT           = 45h
MM_YAMAHA_GSS_SYNTH              = 01h
MM_YAMAHA_GSS_WAVEOUT            = 02h
MM_YAMAHA_GSS_WAVEIN             = 03h
MM_YAMAHA_GSS_MIDIOUT            = 04h
MM_YAMAHA_GSS_MIDIIN             = 05h
MM_YAMAHA_GSS_AUX                = 06h
MM_YAMAHA_SERIAL_MIDIOUT         = 07h
MM_YAMAHA_SERIAL_MIDIIN          = 08h
MM_YAMAHA_OPL3SA_WAVEOUT         = 10h
MM_YAMAHA_OPL3SA_WAVEIN          = 11h
MM_YAMAHA_OPL3SA_FMSYNTH         = 12h
MM_YAMAHA_OPL3SA_YSYNTH          = 13h
MM_YAMAHA_OPL3SA_MIDIOUT         = 14h
MM_YAMAHA_OPL3SA_MIDIIN          = 15h
MM_YAMAHA_OPL3SA_MIXER           = 17h
MM_YAMAHA_OPL3SA_JOYSTICK        = 18h
MM_YAMAHA_YMF724LEG_MIDIOUT      = 19h
MM_YAMAHA_YMF724LEG_MIDIIN       = 1Ah
MM_YAMAHA_YMF724_WAVEOUT         = 1Bh
MM_YAMAHA_YMF724_WAVEIN          = 1Ch
MM_YAMAHA_YMF724_MIDIOUT         = 1Dh
MM_YAMAHA_YMF724_AUX             = 1Eh
MM_YAMAHA_YMF724_MIXER           = 1Fh
MM_YAMAHA_YMF724LEG_FMSYNTH      = 20h
MM_YAMAHA_YMF724LEG_MIXER        = 21h
MM_YAMAHA_SXG_MIDIOUT            = 22h
MM_YAMAHA_SXG_WAVEOUT            = 23h
MM_YAMAHA_SXG_MIXER              = 24h
MM_YAMAHA_ACXG_WAVEIN            = 25h
MM_YAMAHA_ACXG_WAVEOUT           = 26h
MM_YAMAHA_ACXG_MIDIOUT           = 27h
MM_YAMAHA_ACXG_MIXER             = 28h
MM_YAMAHA_ACXG_AUX               = 29h
MM_EVEREX_CARRIER                = 1
MM_ECHO_SYNTH                    = 1
MM_ECHO_WAVEOUT                  = 2
MM_ECHO_WAVEIN                   = 3
MM_ECHO_MIDIOUT                  = 4
MM_ECHO_MIDIIN                   = 5
MM_ECHO_AUX                      = 6
MM_SIERRA_ARIA_MIDIOUT           = 14h
MM_SIERRA_ARIA_MIDIIN            = 15h
MM_SIERRA_ARIA_SYNTH             = 16h
MM_SIERRA_ARIA_WAVEOUT           = 17h
MM_SIERRA_ARIA_WAVEIN            = 18h
MM_SIERRA_ARIA_AUX               = 19h
MM_SIERRA_ARIA_AUX2              = 20h
MM_SIERRA_QUARTET_WAVEIN         = 50h
MM_SIERRA_QUARTET_WAVEOUT        = 51h
MM_SIERRA_QUARTET_MIDIIN         = 52h
MM_SIERRA_QUARTET_MIDIOUT        = 53h
MM_SIERRA_QUARTET_SYNTH          = 54h
MM_SIERRA_QUARTET_AUX_CD         = 55h
MM_SIERRA_QUARTET_AUX_LINE       = 56h
MM_SIERRA_QUARTET_AUX_MODEM      = 57h
MM_SIERRA_QUARTET_MIXER          = 58h
MM_CAT_WAVEOUT                   = 1
MM_DSP_GROUP_TRUESPEECH          = 1
MM_MELABS_MIDI2GO                = 1
MM_ESS_AMWAVEOUT                 = 01h
MM_ESS_AMWAVEIN                  = 02h
MM_ESS_AMAUX                     = 03h
MM_ESS_AMSYNTH                   = 04h
MM_ESS_AMMIDIOUT                 = 05h
MM_ESS_AMMIDIIN                  = 06h
MM_ESS_MIXER                     = 07h
MM_ESS_AUX_CD                    = 08h
MM_ESS_MPU401_MIDIOUT            = 09h
MM_ESS_MPU401_MIDIIN             = 0Ah
MM_ESS_ES488_WAVEOUT             = 10h
MM_ESS_ES488_WAVEIN              = 11h
MM_ESS_ES488_MIXER               = 12h
MM_ESS_ES688_WAVEOUT             = 13h
MM_ESS_ES688_WAVEIN              = 14h
MM_ESS_ES688_MIXER               = 15h
MM_ESS_ES1488_WAVEOUT            = 16h
MM_ESS_ES1488_WAVEIN             = 17h
MM_ESS_ES1488_MIXER              = 18h
MM_ESS_ES1688_WAVEOUT            = 19h
MM_ESS_ES1688_WAVEIN             = 1Ah
MM_ESS_ES1688_MIXER              = 1Bh
MM_ESS_ES1788_WAVEOUT            = 1Ch
MM_ESS_ES1788_WAVEIN             = 1Dh
MM_ESS_ES1788_MIXER              = 1Eh
MM_ESS_ES1888_WAVEOUT            = 1Fh
MM_ESS_ES1888_WAVEIN             = 20h
MM_ESS_ES1888_MIXER              = 21h
MM_ESS_ES1868_WAVEOUT            = 22h
MM_ESS_ES1868_WAVEIN             = 23h
MM_ESS_ES1868_MIXER              = 24h
MM_ESS_ES1878_WAVEOUT            = 25h
MM_ESS_ES1878_WAVEIN             = 26h
MM_ESS_ES1878_MIXER              = 27h
MM_CANOPUS_ACM_DVREX             = 1
MM_EPS_FMSND                     = 1
MM_TRUEVISION_WAVEIN1            = 1
MM_TRUEVISION_WAVEOUT1           = 2
MM_AZTECH_MIDIOUT                = 3
MM_AZTECH_MIDIIN                 = 4
MM_AZTECH_WAVEIN                 = 17
MM_AZTECH_WAVEOUT                = 18
MM_AZTECH_FMSYNTH                = 20
MM_AZTECH_MIXER                  = 21
MM_AZTECH_PRO16_WAVEIN           = 33
MM_AZTECH_PRO16_WAVEOUT          = 34
MM_AZTECH_PRO16_FMSYNTH          = 38
MM_AZTECH_DSP16_WAVEIN           = 65
MM_AZTECH_DSP16_WAVEOUT          = 66
MM_AZTECH_DSP16_FMSYNTH          = 68
MM_AZTECH_DSP16_WAVESYNTH        = 70
MM_AZTECH_NOVA16_WAVEIN          = 71
MM_AZTECH_NOVA16_WAVEOUT         = 72
MM_AZTECH_NOVA16_MIXER           = 73
MM_AZTECH_WASH16_WAVEIN          = 74
MM_AZTECH_WASH16_WAVEOUT         = 75
MM_AZTECH_WASH16_MIXER           = 76
MM_AZTECH_AUX_CD                 = 401
MM_AZTECH_AUX_LINE               = 402
MM_AZTECH_AUX_MIC                = 403
MM_AZTECH_AUX                    = 404
MM_VIDEOLOGIC_MSWAVEIN           = 1
MM_VIDEOLOGIC_MSWAVEOUT          = 2
MM_KORG_PCIF_MIDIOUT             = 1
MM_KORG_PCIF_MIDIIN              = 2
MM_KORG_1212IO_MSWAVEIN          = 3
MM_KORG_1212IO_MSWAVEOUT         = 4
MM_APT_ACE100CD                  = 1
MM_ICS_WAVEDECK_WAVEOUT          = 1
MM_ICS_WAVEDECK_WAVEIN           = 2
MM_ICS_WAVEDECK_MIXER            = 3
MM_ICS_WAVEDECK_AUX              = 4
MM_ICS_WAVEDECK_SYNTH            = 5
MM_ICS_WAVEDEC_SB_WAVEOUT        = 6
MM_ICS_WAVEDEC_SB_WAVEIN         = 7
MM_ICS_WAVEDEC_SB_FM_MIDIOUT     = 8
MM_ICS_WAVEDEC_SB_MPU401_MIDIOUT = 9
MM_ICS_WAVEDEC_SB_MPU401_MIDIIN  = 10
MM_ICS_WAVEDEC_SB_MIXER          = 11
MM_ICS_WAVEDEC_SB_AUX            = 12
MM_ICS_2115_LITE_MIDIOUT         = 13
MM_ICS_2120_LITE_MIDIOUT         = 14
MM_ITERATEDSYS_FUFCODEC          = 1
MM_METHEUS_ZIPPER                = 1
MM_WINNOV_CAVIAR_WAVEIN          = 1
MM_WINNOV_CAVIAR_WAVEOUT         = 2
MM_WINNOV_CAVIAR_VIDC            = 3
MM_WINNOV_CAVIAR_CHAMPAGNE       = 4
MM_WINNOV_CAVIAR_YUV8            = 5
MM_NCR_BA_WAVEIN                 = 1
MM_NCR_BA_WAVEOUT                = 2
MM_NCR_BA_SYNTH                  = 3
MM_NCR_BA_AUX                    = 4
MM_NCR_BA_MIXER                  = 5
MM_AST_MODEMWAVE_WAVEIN          = 13
MM_AST_MODEMWAVE_WAVEOUT         = 14
MM_WILLOWPOND_FMSYNTH_STEREO     = 20
MM_WILLOWPOND_MPU401             = 21
MM_WILLOWPOND_SNDPORT_WAVEIN     = 100
MM_WILLOWPOND_SNDPORT_WAVEOUT    = 101
MM_WILLOWPOND_SNDPORT_MIXER      = 102
MM_WILLOWPOND_SNDPORT_AUX        = 103
MM_WILLOWPOND_PH_WAVEIN          = 104
MM_WILLOWPOND_PH_WAVEOUT         = 105
MM_WILLOWPOND_PH_MIXER           = 106
MM_WILLOWPOND_PH_AUX             = 107
MM_WILLOPOND_SNDCOMM_WAVEIN      = 108
MM_WILLOWPOND_SNDCOMM_WAVEOUT    = 109
MM_WILLOWPOND_SNDCOMM_MIXER      = 110
MM_WILLOWPOND_SNDCOMM_AUX        = 111
MM_WILLOWPOND_GENERIC_WAVEIN     = 112
MM_WILLOWPOND_GENERIC_WAVEOUT    = 113
MM_WILLOWPOND_GENERIC_MIXER      = 114
MM_WILLOWPOND_GENERIC_AUX        = 115
MM_VITEC_VMAKER                  = 1
MM_VITEC_VMPRO                   = 2
MM_MOSCOM_VPC2400_IN             = 1
MM_MOSCOM_VPC2400_OUT            = 2
MM_SILICONSOFT_SC1_WAVEIN        = 1
MM_SILICONSOFT_SC1_WAVEOUT       = 2
MM_SILICONSOFT_SC2_WAVEIN        = 3
MM_SILICONSOFT_SC2_WAVEOUT       = 4
MM_SILICONSOFT_SOUNDJR2_WAVEOUT  = 5
MM_SILICONSOFT_SOUNDJR2PR_WAVEIN = 6
MM_SILICONSOFT_SOUNDJR2PR_WAVEOUT = 7
MM_SILICONSOFT_SOUNDJR3_WAVEOUT  = 8
MM_TTEWS_WAVEIN                  = 1
MM_TTEWS_WAVEOUT                 = 2
MM_TTEWS_MIDIIN                  = 3
MM_TTEWS_MIDIOUT                 = 4
MM_TTEWS_MIDISYNTH               = 5
MM_TTEWS_MIDIMONITOR             = 6
MM_TTEWS_VMIDIIN                 = 7
MM_TTEWS_VMIDIOUT                = 8
MM_TTEWS_AUX                     = 9
MM_TTEWS_MIXER                   = 10
MM_MEDIASONIC_ACM_G723           = 1
MM_MEDIASONIC_ICOM               = 2
MM_ICOM_WAVEIN                   = 3
MM_ICOM_WAVEOUT                  = 4
MM_ICOM_MIXER                    = 5
MM_ICOM_AUX                      = 6
MM_ICOM_LINE                     = 7
MM_SANYO_ACM_LD_ADPCM            = 1
MM_AHEAD_MULTISOUND              = 1
MM_AHEAD_SOUNDBLASTER            = 2
MM_AHEAD_PROAUDIO                = 3
MM_AHEAD_GENERIC                 = 4
MM_OLIVETTI_WAVEIN               = 1
MM_OLIVETTI_WAVEOUT              = 2
MM_OLIVETTI_MIXER                = 3
MM_OLIVETTI_AUX                  = 4
MM_OLIVETTI_MIDIIN               = 5
MM_OLIVETTI_MIDIOUT              = 6
MM_OLIVETTI_SYNTH                = 7
MM_OLIVETTI_JOYSTICK             = 8
MM_OLIVETTI_ACM_GSM              = 9
MM_OLIVETTI_ACM_ADPCM            = 10
MM_OLIVETTI_ACM_CELP             = 11
MM_OLIVETTI_ACM_SBC              = 12
MM_OLIVETTI_ACM_OPR              = 13
MM_IOMAGIC_TEMPO_WAVEOUT         = 1
MM_IOMAGIC_TEMPO_WAVEIN          = 2
MM_IOMAGIC_TEMPO_SYNTH           = 3
MM_IOMAGIC_TEMPO_MIDIOUT         = 4
MM_IOMAGIC_TEMPO_MXDOUT          = 5
MM_IOMAGIC_TEMPO_AUXOUT          = 6
MM_MATSUSHITA_WAVEIN             = 1
MM_MATSUSHITA_WAVEOUT            = 2
MM_MATSUSHITA_FMSYNTH_STEREO     = 3
MM_MATSUSHITA_MIXER              = 4
MM_MATSUSHITA_AUX                = 5
MM_NEWMEDIA_WAVJAMMER            = 1
MM_LYRRUS_BRIDGE_GUITAR          = 1
MM_OPTI_M16_FMSYNTH_STEREO       = 0001h
MM_OPTI_M16_MIDIIN               = 0002h
MM_OPTI_M16_MIDIOUT              = 0003h
MM_OPTI_M16_WAVEIN               = 0004h
MM_OPTI_M16_WAVEOUT              = 0005h
MM_OPTI_M16_MIXER                = 0006h
MM_OPTI_M16_AUX                  = 0007h
MM_OPTI_P16_FMSYNTH_STEREO       = 0010h
MM_OPTI_P16_MIDIIN               = 0011h
MM_OPTI_P16_MIDIOUT              = 0012h
MM_OPTI_P16_WAVEIN               = 0013h
MM_OPTI_P16_WAVEOUT              = 0014h
MM_OPTI_P16_MIXER                = 0015h
MM_OPTI_P16_AUX                  = 0016h
MM_OPTI_M32_WAVEIN               = 0020h
MM_OPTI_M32_WAVEOUT              = 0021h
MM_OPTI_M32_MIDIIN               = 0022h
MM_OPTI_M32_MIDIOUT              = 0023h
MM_OPTI_M32_SYNTH_STEREO         = 0024h
MM_OPTI_M32_MIXER                = 0025h
MM_OPTI_M32_AUX                  = 0026h
MM_COMPAQ_BB_WAVEIN              = 1
MM_COMPAQ_BB_WAVEOUT             = 2
MM_COMPAQ_BB_WAVEAUX             = 3
MM_MPTUS_SPWAVEOUT               = 1
MM_LERNOUT_ANDHAUSPIE_LHCODECACM = 1
MM_DIGITAL_AV320_WAVEIN          = 1
MM_DIGITAL_AV320_WAVEOUT         = 2
MM_DIGITAL_ACM_G723              = 3
MM_DIGITAL_ICM_H263              = 4
MM_DIGITAL_ICM_H261              = 5
MM_MOTU_MTP_MIDIOUT_ALL          = 100
MM_MOTU_MTP_MIDIIN_1             = 101
MM_MOTU_MTP_MIDIOUT_1            = 101
MM_MOTU_MTP_MIDIIN_2             = 102
MM_MOTU_MTP_MIDIOUT_2            = 102
MM_MOTU_MTP_MIDIIN_3             = 103
MM_MOTU_MTP_MIDIOUT_3            = 103
MM_MOTU_MTP_MIDIIN_4             = 104
MM_MOTU_MTP_MIDIOUT_4            = 104
MM_MOTU_MTP_MIDIIN_5             = 105
MM_MOTU_MTP_MIDIOUT_5            = 105
MM_MOTU_MTP_MIDIIN_6             = 106
MM_MOTU_MTP_MIDIOUT_6            = 106
MM_MOTU_MTP_MIDIIN_7             = 107
MM_MOTU_MTP_MIDIOUT_7            = 107
MM_MOTU_MTP_MIDIIN_8             = 108
MM_MOTU_MTP_MIDIOUT_8            = 108
MM_MOTU_MTPII_MIDIOUT_ALL        = 200
MM_MOTU_MTPII_MIDIIN_SYNC        = 200
MM_MOTU_MTPII_MIDIIN_1           = 201
MM_MOTU_MTPII_MIDIOUT_1          = 201
MM_MOTU_MTPII_MIDIIN_2           = 202
MM_MOTU_MTPII_MIDIOUT_2          = 202
MM_MOTU_MTPII_MIDIIN_3           = 203
MM_MOTU_MTPII_MIDIOUT_3          = 203
MM_MOTU_MTPII_MIDIIN_4           = 204
MM_MOTU_MTPII_MIDIOUT_4          = 204
MM_MOTU_MTPII_MIDIIN_5           = 205
MM_MOTU_MTPII_MIDIOUT_5          = 205
MM_MOTU_MTPII_MIDIIN_6           = 206
MM_MOTU_MTPII_MIDIOUT_6          = 206
MM_MOTU_MTPII_MIDIIN_7           = 207
MM_MOTU_MTPII_MIDIOUT_7          = 207
MM_MOTU_MTPII_MIDIIN_8           = 208
MM_MOTU_MTPII_MIDIOUT_8          = 208
MM_MOTU_MTPII_NET_MIDIIN_1       = 209
MM_MOTU_MTPII_NET_MIDIOUT_1      = 209
MM_MOTU_MTPII_NET_MIDIIN_2       = 210
MM_MOTU_MTPII_NET_MIDIOUT_2      = 210
MM_MOTU_MTPII_NET_MIDIIN_3       = 211
MM_MOTU_MTPII_NET_MIDIOUT_3      = 211
MM_MOTU_MTPII_NET_MIDIIN_4       = 212
MM_MOTU_MTPII_NET_MIDIOUT_4      = 212
MM_MOTU_MTPII_NET_MIDIIN_5       = 213
MM_MOTU_MTPII_NET_MIDIOUT_5      = 213
MM_MOTU_MTPII_NET_MIDIIN_6       = 214
MM_MOTU_MTPII_NET_MIDIOUT_6      = 214
MM_MOTU_MTPII_NET_MIDIIN_7       = 215
MM_MOTU_MTPII_NET_MIDIOUT_7      = 215
MM_MOTU_MTPII_NET_MIDIIN_8       = 216
MM_MOTU_MTPII_NET_MIDIOUT_8      = 216
MM_MOTU_MXP_MIDIIN_MIDIOUT_ALL   = 300
MM_MOTU_MXP_MIDIIN_SYNC          = 300
MM_MOTU_MXP_MIDIIN_MIDIIN_1      = 301
MM_MOTU_MXP_MIDIIN_MIDIOUT_1     = 301
MM_MOTU_MXP_MIDIIN_MIDIIN_2      = 302
MM_MOTU_MXP_MIDIIN_MIDIOUT_2     = 302
MM_MOTU_MXP_MIDIIN_MIDIIN_3      = 303
MM_MOTU_MXP_MIDIIN_MIDIOUT_3     = 303
MM_MOTU_MXP_MIDIIN_MIDIIN_4      = 304
MM_MOTU_MXP_MIDIIN_MIDIOUT_4     = 304
MM_MOTU_MXP_MIDIIN_MIDIIN_5      = 305
MM_MOTU_MXP_MIDIIN_MIDIOUT_5     = 305
MM_MOTU_MXP_MIDIIN_MIDIIN_6      = 306
MM_MOTU_MXP_MIDIIN_MIDIOUT_6     = 306
MM_MOTU_MXPMPU_MIDIOUT_ALL       = 400
MM_MOTU_MXPMPU_MIDIIN_SYNC       = 400
MM_MOTU_MXPMPU_MIDIIN_1          = 401
MM_MOTU_MXPMPU_MIDIOUT_1         = 401
MM_MOTU_MXPMPU_MIDIIN_2          = 402
MM_MOTU_MXPMPU_MIDIOUT_2         = 402
MM_MOTU_MXPMPU_MIDIIN_3          = 403
MM_MOTU_MXPMPU_MIDIOUT_3         = 403
MM_MOTU_MXPMPU_MIDIIN_4          = 404
MM_MOTU_MXPMPU_MIDIOUT_4         = 404
MM_MOTU_MXPMPU_MIDIIN_5          = 405
MM_MOTU_MXPMPU_MIDIOUT_5         = 405
MM_MOTU_MXPMPU_MIDIIN_6          = 406
MM_MOTU_MXPMPU_MIDIOUT_6         = 406
MM_MOTU_MXN_MIDIOUT_ALL          = 500
MM_MOTU_MXN_MIDIIN_SYNC          = 500
MM_MOTU_MXN_MIDIIN_1             = 501
MM_MOTU_MXN_MIDIOUT_1            = 501
MM_MOTU_MXN_MIDIIN_2             = 502
MM_MOTU_MXN_MIDIOUT_2            = 502
MM_MOTU_MXN_MIDIIN_3             = 503
MM_MOTU_MXN_MIDIOUT_3            = 503
MM_MOTU_MXN_MIDIIN_4             = 504
MM_MOTU_MXN_MIDIOUT_4            = 504
MM_MOTU_FLYER_MIDI_IN_SYNC       = 600
MM_MOTU_FLYER_MIDI_IN_A          = 601
MM_MOTU_FLYER_MIDI_OUT_A         = 601
MM_MOTU_FLYER_MIDI_IN_B          = 602
MM_MOTU_FLYER_MIDI_OUT_B         = 602
MM_MOTU_PKX_MIDI_IN_SYNC         = 700
MM_MOTU_PKX_MIDI_IN_A            = 701
MM_MOTU_PKX_MIDI_OUT_A           = 701
MM_MOTU_PKX_MIDI_IN_B            = 702
MM_MOTU_PKX_MIDI_OUT_B           = 702
MM_MOTU_DTX_MIDI_IN_SYNC         = 800
MM_MOTU_DTX_MIDI_IN_A            = 801
MM_MOTU_DTX_MIDI_OUT_A           = 801
MM_MOTU_DTX_MIDI_IN_B            = 802
MM_MOTU_DTX_MIDI_OUT_B           = 802
MM_MOTU_MTPAV_MIDIOUT_ALL        = 900
MM_MOTU_MTPAV_MIDIIN_SYNC        = 900
MM_MOTU_MTPAV_MIDIIN_1           = 901
MM_MOTU_MTPAV_MIDIOUT_1          = 901
MM_MOTU_MTPAV_MIDIIN_2           = 902
MM_MOTU_MTPAV_MIDIOUT_2          = 902
MM_MOTU_MTPAV_MIDIIN_3           = 903
MM_MOTU_MTPAV_MIDIOUT_3          = 903
MM_MOTU_MTPAV_MIDIIN_4           = 904
MM_MOTU_MTPAV_MIDIOUT_4          = 904
MM_MOTU_MTPAV_MIDIIN_5           = 905
MM_MOTU_MTPAV_MIDIOUT_5          = 905
MM_MOTU_MTPAV_MIDIIN_6           = 906
MM_MOTU_MTPAV_MIDIOUT_6          = 906
MM_MOTU_MTPAV_MIDIIN_7           = 907
MM_MOTU_MTPAV_MIDIOUT_7          = 907
MM_MOTU_MTPAV_MIDIIN_8           = 908
MM_MOTU_MTPAV_MIDIOUT_8          = 908
MM_MOTU_MTPAV_NET_MIDIIN_1       = 909
MM_MOTU_MTPAV_NET_MIDIOUT_1      = 909
MM_MOTU_MTPAV_NET_MIDIIN_2       = 910
MM_MOTU_MTPAV_NET_MIDIOUT_2      = 910
MM_MOTU_MTPAV_NET_MIDIIN_3       = 911
MM_MOTU_MTPAV_NET_MIDIOUT_3      = 911
MM_MOTU_MTPAV_NET_MIDIIN_4       = 912
MM_MOTU_MTPAV_NET_MIDIOUT_4      = 912
MM_MOTU_MTPAV_NET_MIDIIN_5       = 913
MM_MOTU_MTPAV_NET_MIDIOUT_5      = 913
MM_MOTU_MTPAV_NET_MIDIIN_6       = 914
MM_MOTU_MTPAV_NET_MIDIOUT_6      = 914
MM_MOTU_MTPAV_NET_MIDIIN_7       = 915
MM_MOTU_MTPAV_NET_MIDIOUT_7      = 915
MM_MOTU_MTPAV_NET_MIDIIN_8       = 916
MM_MOTU_MTPAV_NET_MIDIOUT_8      = 916
MM_MOTU_MTPAV_MIDIIN_ADAT        = 917
MM_MOTU_MTPAV_MIDIOUT_ADAT       = 917
MM_MOTU_MXPXT_MIDIIN_SYNC        = 1000
MM_MOTU_MXPXT_MIDIOUT_ALL        = 1000
MM_MOTU_MXPXT_MIDIIN_1           = 1001
MM_MOTU_MXPXT_MIDIOUT_1          = 1001
MM_MOTU_MXPXT_MIDIOUT_2          = 1002
MM_MOTU_MXPXT_MIDIIN_2           = 1002
MM_MOTU_MXPXT_MIDIIN_3           = 1003
MM_MOTU_MXPXT_MIDIOUT_3          = 1003
MM_MOTU_MXPXT_MIDIIN_4           = 1004
MM_MOTU_MXPXT_MIDIOUT_4          = 1004
MM_MOTU_MXPXT_MIDIIN_5           = 1005
MM_MOTU_MXPXT_MIDIOUT_5          = 1005
MM_MOTU_MXPXT_MIDIOUT_6          = 1006
MM_MOTU_MXPXT_MIDIIN_6           = 1006
MM_MOTU_MXPXT_MIDIOUT_7          = 1007
MM_MOTU_MXPXT_MIDIIN_7           = 1007
MM_MOTU_MXPXT_MIDIOUT_8          = 1008
MM_MOTU_MXPXT_MIDIIN_8           = 1008
MM_WORKBIT_MIXER                 = 1
MM_WORKBIT_WAVEOUT               = 2
MM_WORKBIT_WAVEIN                = 3
MM_WORKBIT_MIDIIN                = 4
MM_WORKBIT_MIDIOUT               = 5
MM_WORKBIT_FMSYNTH               = 6
MM_WORKBIT_AUX                   = 7
MM_WORKBIT_JOYSTICK              = 8
MM_OSITECH_TRUMPCARD             = 1
MM_MIRO_MOVIEPRO                 = 1
MM_MIRO_VIDEOD1                  = 2
MM_MIRO_VIDEODC1TV               = 3
MM_MIRO_VIDEOTD                  = 4
MM_MIRO_DC30_WAVEOUT             = 5
MM_MIRO_DC30_WAVEIN              = 6
MM_MIRO_DC30_MIX                 = 7
MM_ISOLUTION_PASCAL              = 1
MM_VOICEMIXER                    = 1
ROCKWELL_WA1_WAVEIN              = 100
ROCKWELL_WA1_WAVEOUT             = 101
ROCKWELL_WA1_SYNTH               = 102
ROCKWELL_WA1_MIXER               = 103
ROCKWELL_WA1_MPU401_IN           = 104
ROCKWELL_WA1_MPU401_OUT          = 105
ROCKWELL_WA2_WAVEIN              = 200
ROCKWELL_WA2_WAVEOUT             = 201
ROCKWELL_WA2_SYNTH               = 202
ROCKWELL_WA2_MIXER               = 203
ROCKWELL_WA2_MPU401_IN           = 204
ROCKWELL_WA2_MPU401_OUT          = 205
MM_VOXWARE_CODEC                 = 1
MM_NORTEL_MPXAC_WAVEIN           = 1
MM_NORTEL_MPXAC_WAVEOUT          = 2
MM_ADDX_PCTV_DIGITALMIX          = 1
MM_ADDX_PCTV_WAVEIN              = 2
MM_ADDX_PCTV_WAVEOUT             = 3
MM_ADDX_PCTV_MIXER               = 4
MM_ADDX_PCTV_AUX_CD              = 5
MM_ADDX_PCTV_AUX_LINE            = 6
MM_WILDCAT_AUTOSCOREMIDIIN       = 1
MM_RHETOREX_WAVEIN               = 1
MM_RHETOREX_WAVEOUT              = 2
MM_BTV_WAVEIN                    = 1
MM_BTV_WAVEOUT                   = 2
MM_BTV_MIDIIN                    = 3
MM_BTV_MIDIOUT                   = 4
MM_BTV_MIDISYNTH                 = 5
MM_BTV_AUX_LINE                  = 6
MM_BTV_AUX_MIC                   = 7
MM_BTV_AUX_CD                    = 8
MM_BTV_DIGITALIN                 = 9
MM_BTV_DIGITALOUT                = 10
MM_BTV_MIDIWAVESTREAM            = 11
MM_BTV_MIXER                     = 12
MM_ENSONIQ_SOUNDSCAPE            = 10h
MM_SOUNDSCAPE_WAVEOUT            = MM_ENSONIQ_SOUNDSCAPE+1
MM_SOUNDSCAPE_WAVEOUT_AUX        = MM_ENSONIQ_SOUNDSCAPE+2
MM_SOUNDSCAPE_WAVEIN             = MM_ENSONIQ_SOUNDSCAPE+3
MM_SOUNDSCAPE_MIDIOUT            = MM_ENSONIQ_SOUNDSCAPE+4
MM_SOUNDSCAPE_MIDIIN             = MM_ENSONIQ_SOUNDSCAPE+5
MM_SOUNDSCAPE_SYNTH              = MM_ENSONIQ_SOUNDSCAPE+6
MM_SOUNDSCAPE_MIXER              = MM_ENSONIQ_SOUNDSCAPE+7
MM_SOUNDSCAPE_AUX                = MM_ENSONIQ_SOUNDSCAPE+8
MM_NVIDIA_WAVEOUT                = 1
MM_NVIDIA_WAVEIN                 = 2
MM_NVIDIA_MIDIOUT                = 3
MM_NVIDIA_MIDIIN                 = 4
MM_NVIDIA_GAMEPORT               = 5
MM_NVIDIA_MIXER                  = 6
MM_NVIDIA_AUX                    = 7
MM_OKSORI_BASE                   = 0
MM_OKSORI_OSR8_WAVEOUT           = MM_OKSORI_BASE+1
MM_OKSORI_OSR8_WAVEIN            = MM_OKSORI_BASE+2
MM_OKSORI_OSR16_WAVEOUT          = MM_OKSORI_BASE+3
MM_OKSORI_OSR16_WAVEIN           = MM_OKSORI_BASE+4
MM_OKSORI_FM_OPL4                = MM_OKSORI_BASE+5
MM_OKSORI_MIX_MASTER             = MM_OKSORI_BASE+6
MM_OKSORI_MIX_WAVE               = MM_OKSORI_BASE+7
MM_OKSORI_MIX_FM                 = MM_OKSORI_BASE+8
MM_OKSORI_MIX_LINE               = MM_OKSORI_BASE+9
MM_OKSORI_MIX_CD                 = MM_OKSORI_BASE+10
MM_OKSORI_MIX_MIC                = MM_OKSORI_BASE+11
MM_OKSORI_MIX_ECHO               = MM_OKSORI_BASE+12
MM_OKSORI_MIX_AUX1               = MM_OKSORI_BASE+13
MM_OKSORI_MIX_LINE1              = MM_OKSORI_BASE+14
MM_OKSORI_EXT_MIC1               = MM_OKSORI_BASE+15
MM_OKSORI_EXT_MIC2               = MM_OKSORI_BASE+16
MM_OKSORI_MIDIOUT                = MM_OKSORI_BASE+17
MM_OKSORI_MIDIIN                 = MM_OKSORI_BASE+18
MM_OKSORI_MPEG_CDVISION          = MM_OKSORI_BASE+19
MM_DIACOUSTICS_DRUM_ACTION       = 1
MM_KAY_ELEMETRICS_CSL            = 4300h
MM_KAY_ELEMETRICS_CSL_DAT        = 4308h
MM_KAY_ELEMETRICS_CSL_4CHANNEL   = 4309h
MM_CRYSTAL_CS4232_WAVEIN         = 1
MM_CRYSTAL_CS4232_WAVEOUT        = 2
MM_CRYSTAL_CS4232_WAVEMIXER      = 3
MM_CRYSTAL_CS4232_WAVEAUX_AUX1   = 4
MM_CRYSTAL_CS4232_WAVEAUX_AUX2   = 5
MM_CRYSTAL_CS4232_WAVEAUX_LINE   = 6
MM_CRYSTAL_CS4232_WAVEAUX_MONO   = 7
MM_CRYSTAL_CS4232_WAVEAUX_MASTER = 8
MM_CRYSTAL_CS4232_MIDIIN         = 9
MM_CRYSTAL_CS4232_MIDIOUT        = 10
MM_CRYSTAL_CS4232_INPUTGAIN_AUX1 = 13
MM_CRYSTAL_CS4232_INPUTGAIN_LOOP = 14
MM_CRYSTAL_SOUND_FUSION_WAVEIN   = 21
MM_CRYSTAL_SOUND_FUSION_WAVEOUT  = 22
MM_CRYSTAL_SOUND_FUSION_MIXER    = 23
MM_CRYSTAL_SOUND_FUSION_MIDIIN   = 24
MM_CRYSTAL_SOUND_FUSION_MIDIOUT  = 25
MM_CRYSTAL_SOUND_FUSION_JOYSTICK = 26
MM_QUARTERDECK_LHWAVEIN          = 0
MM_QUARTERDECK_LHWAVEOUT         = 1
MM_TDK_MW_MIDI_SYNTH             = 1
MM_TDK_MW_MIDI_IN                = 2
MM_TDK_MW_MIDI_OUT               = 3
MM_TDK_MW_WAVE_IN                = 4
MM_TDK_MW_WAVE_OUT               = 5
MM_TDK_MW_AUX                    = 6
MM_TDK_MW_MIXER                  = 10
MM_TDK_MW_AUX_MASTER             = 100
MM_TDK_MW_AUX_BASS               = 101
MM_TDK_MW_AUX_TREBLE             = 102
MM_TDK_MW_AUX_MIDI_VOL           = 103
MM_TDK_MW_AUX_WAVE_VOL           = 104
MM_TDK_MW_AUX_WAVE_RVB           = 105
MM_TDK_MW_AUX_WAVE_CHR           = 106
MM_TDK_MW_AUX_VOL                = 107
MM_TDK_MW_AUX_RVB                = 108
MM_TDK_MW_AUX_CHR                = 109
MM_DIGITAL_AUDIO_LABS_TC         = 01h
MM_DIGITAL_AUDIO_LABS_DOC        = 02h
MM_DIGITAL_AUDIO_LABS_V8         = 10h
MM_DIGITAL_AUDIO_LABS_CPRO       = 11h
MM_DIGITAL_AUDIO_LABS_VP         = 12h
MM_DIGITAL_AUDIO_LABS_CDLX       = 13h
MM_DIGITAL_AUDIO_LABS_CTDIF      = 14h
MM_SEERSYS_SEERSYNTH             = 1
MM_SEERSYS_SEERWAVE              = 2
MM_SEERSYS_SEERMIX               = 3
MM_SEERSYS_WAVESYNTH             = 4
MM_SEERSYS_WAVESYNTH_WG          = 5
MM_SEERSYS_REALITY               = 6
MM_OSPREY_1000WAVEIN             = 1
MM_OSPREY_1000WAVEOUT            = 2
MM_SOUNDESIGNS_WAVEIN            = 1
MM_SOUNDESIGNS_WAVEOUT           = 2
MM_SSP_SNDFESWAVEIN              = 1
MM_SSP_SNDFESWAVEOUT             = 2
MM_SSP_SNDFESMIDIIN              = 3
MM_SSP_SNDFESMIDIOUT             = 4
MM_SSP_SNDFESSYNTH               = 5
MM_SSP_SNDFESMIX                 = 6
MM_SSP_SNDFESAUX                 = 7
MM_ECS_AADF_MIDI_IN              = 10
MM_ECS_AADF_MIDI_OUT             = 11
MM_ECS_AADF_WAVE2MIDI_IN         = 12
MM_AMD_INTERWAVE_WAVEIN          = 1
MM_AMD_INTERWAVE_WAVEOUT         = 2
MM_AMD_INTERWAVE_SYNTH           = 3
MM_AMD_INTERWAVE_MIXER1          = 4
MM_AMD_INTERWAVE_MIXER2          = 5
MM_AMD_INTERWAVE_JOYSTICK        = 6
MM_AMD_INTERWAVE_EX_CD           = 7
MM_AMD_INTERWAVE_MIDIIN          = 8
MM_AMD_INTERWAVE_MIDIOUT         = 9
MM_AMD_INTERWAVE_AUX1            = 10
MM_AMD_INTERWAVE_AUX2            = 11
MM_AMD_INTERWAVE_AUX_MIC         = 12
MM_AMD_INTERWAVE_AUX_CD          = 13
MM_AMD_INTERWAVE_MONO_IN         = 14
MM_AMD_INTERWAVE_MONO_OUT        = 15
MM_AMD_INTERWAVE_EX_TELEPHONY    = 16
MM_AMD_INTERWAVE_WAVEOUT_BASE    = 17
MM_AMD_INTERWAVE_WAVEOUT_TREBLE  = 18
MM_AMD_INTERWAVE_STEREO_ENHANCED = 19
MM_COREDYNAMICS_DYNAMIXHR        = 1
MM_COREDYNAMICS_DYNASONIX_SYNTH  = 2
MM_COREDYNAMICS_DYNASONIX_MIDI_IN = 3
MM_COREDYNAMICS_DYNASONIX_MIDI_OUT = 4
MM_COREDYNAMICS_DYNASONIX_WAVE_IN = 5
MM_COREDYNAMICS_DYNASONIX_WAVE_OUT = 6
MM_COREDYNAMICS_DYNASONIX_AUDIO_IN = 7
MM_COREDYNAMICS_DYNASONIX_AUDIO_OUT = 8
MM_COREDYNAMICS_DYNAGRAFX_VGA    = 9
MM_COREDYNAMICS_DYNAGRAFX_WAVE_IN = 10
MM_COREDYNAMICS_DYNAGRAFX_WAVE_OUT = 11
MM_CANAM_CBXWAVEOUT              = 1
MM_CANAM_CBXWAVEIN               = 2
MM_SOFTSOUND_CODEC               = 1
MM_NORRIS_VOICELINK              = 1
MM_DDD_MIDILINK_MIDIIN           = 1
MM_DDD_MIDILINK_MIDIOUT          = 2
MM_EUPHONICS_AUX_CD              = 1
MM_EUPHONICS_AUX_LINE            = 2
MM_EUPHONICS_AUX_MASTER          = 3
MM_EUPHONICS_AUX_MIC             = 4
MM_EUPHONICS_AUX_MIDI            = 5
MM_EUPHONICS_AUX_WAVE            = 6
MM_EUPHONICS_FMSYNTH_MONO        = 7
MM_EUPHONICS_FMSYNTH_STEREO      = 8
MM_EUPHONICS_MIDIIN              = 9
MM_EUPHONICS_MIDIOUT             = 10
MM_EUPHONICS_MIXER               = 11
MM_EUPHONICS_WAVEIN              = 12
MM_EUPHONICS_WAVEOUT             = 13
MM_EUPHONICS_EUSYNTH             = 14
CRYSTAL_NET_SFM_CODEC            = 1
MM_CHROMATIC_M1                  = 0001h
MM_CHROMATIC_M1_WAVEIN           = 0002h
MM_CHROMATIC_M1_WAVEOUT          = 0003h
MM_CHROMATIC_M1_FMSYNTH          = 0004h
MM_CHROMATIC_M1_MIXER            = 0005h
MM_CHROMATIC_M1_AUX              = 0006h
MM_CHROMATIC_M1_AUX_CD           = 0007h
MM_CHROMATIC_M1_MIDIIN           = 0008h
MM_CHROMATIC_M1_MIDIOUT          = 0009h
MM_CHROMATIC_M1_WTSYNTH          = 0010h
MM_CHROMATIC_M1_MPEGWAVEIN       = 0011h
MM_CHROMATIC_M1_MPEGWAVEOUT      = 0012h
MM_CHROMATIC_M2                  = 0013h
MM_CHROMATIC_M2_WAVEIN           = 0014h
MM_CHROMATIC_M2_WAVEOUT          = 0015h
MM_CHROMATIC_M2_FMSYNTH          = 0016h
MM_CHROMATIC_M2_MIXER            = 0017h
MM_CHROMATIC_M2_AUX              = 0018h
MM_CHROMATIC_M2_AUX_CD           = 0019h
MM_CHROMATIC_M2_MIDIIN           = 0020h
MM_CHROMATIC_M2_MIDIOUT          = 0021h
MM_CHROMATIC_M2_WTSYNTH          = 0022h
MM_CHROMATIC_M2_MPEGWAVEIN       = 0023h
MM_CHROMATIC_M2_MPEGWAVEOUT      = 0024h
MM_VIENNASYS_TSP_WAVE_DRIVER     = 1
MM_CONNECTIX_VIDEC_CODEC         = 1
MM_GADGETLABS_WAVE44_WAVEIN      = 1
MM_GADGETLABS_WAVE44_WAVEOUT     = 2
MM_GADGETLABS_WAVE42_WAVEIN      = 3
MM_GADGETLABS_WAVE42_WAVEOUT     = 4
MM_GADGETLABS_WAVE4_MIDIIN       = 5
MM_GADGETLABS_WAVE4_MIDIOUT      = 6
MM_FRONTIER_WAVECENTER_MIDIIN    = 1
MM_FRONTIER_WAVECENTER_MIDIOUT   = 2
MM_FRONTIER_WAVECENTER_WAVEIN    = 3
MM_FRONTIER_WAVECENTER_WAVEOUT   = 4
MM_VIONA_QVINPCI_MIXER           = 1
MM_VIONA_QVINPCI_WAVEIN          = 2
MM_VIONAQVINPCI_WAVEOUT          = 3
MM_VIONA_BUSTER_MIXER            = 4
MM_VIONA_CINEMASTER_MIXER        = 5
MM_VIONA_CONCERTO_MIXER          = 6
MM_CASIO_WP150_MIDIOUT           = 1
MM_CASIO_WP150_MIDIIN            = 2
MM_CASIO_LSG_MIDIOUT             = 3
MM_DIMD_PLATFORM                 = 0
MM_DIMD_DIRSOUND                 = 1
MM_DIMD_VIRTMPU                  = 2
MM_DIMD_VIRTSB                   = 3
MM_DIMD_VIRTJOY                  = 4
MM_DIMD_WAVEIN                   = 5
MM_DIMD_WAVEOUT                  = 6
MM_DIMD_MIDIIN                   = 7
MM_DIMD_MIDIOUT                  = 8
MM_DIMD_AUX_LINE                 = 9
MM_DIMD_MIXER                    = 10
MM_DIMD_WSS_WAVEIN               = 14
MM_DIMD_WSS_WAVEOUT              = 15
MM_DIMD_WSS_MIXER                = 17
MM_DIMD_WSS_AUX                  = 21
MM_DIMD_WSS_SYNTH                = 76
MM_S3_WAVEOUT                    = 1
MM_S3_WAVEIN                     = 2
MM_S3_MIDIOUT                    = 3
MM_S3_MIDIIN                     = 4
MM_S3_FMSYNTH                    = 5
MM_S3_MIXER                      = 6
MM_S3_AUX                        = 7
MM_VKC_MPU401_MIDIIN             = 0100h
MM_VKC_SERIAL_MIDIIN             = 0101h
MM_VKC_MPU401_MIDIOUT            = 0200h
MM_VKC_SERIAL_MIDIOUT            = 0201h
MM_ZEFIRO_ZA2                    = 2
MM_FHGIIS_MPEGLAYER3             = 10
MM_QUICKNET_PJWAVEIN             = 1
MM_QUICKNET_PJWAVEOUT            = 2
MM_SICRESOURCE_SSO3D             = 2
MM_SICRESOURCE_SSOW3DI           = 3
MM_NEOMAGIC_SYNTH                = 1
MM_NEOMAGIC_WAVEOUT              = 2
MM_NEOMAGIC_WAVEIN               = 3
MM_NEOMAGIC_MIDIOUT              = 4
MM_NEOMAGIC_MIDIIN               = 5
MM_NEOMAGIC_AUX                  = 6
MM_NEOMAGIC_MW3DX_WAVEOUT        = 10
MM_NEOMAGIC_MW3DX_WAVEIN         = 11
MM_NEOMAGIC_MW3DX_MIDIOUT        = 12
MM_NEOMAGIC_MW3DX_MIDIIN         = 13
MM_NEOMAGIC_MW3DX_FMSYNTH        = 14
MM_NEOMAGIC_MW3DX_GMSYNTH        = 15
MM_NEOMAGIC_MW3DX_MIXER          = 16
MM_NEOMAGIC_MW3DX_AUX            = 17
MM_NEOMAGIC_MWAVE_WAVEOUT        = 20
MM_NEOMAGIC_MWAVE_WAVEIN         = 21
MM_NEOMAGIC_MWAVE_MIDIOUT        = 22
MM_NEOMAGIC_MWAVE_MIDIIN         = 23
MM_NEOMAGIC_MWAVE_MIXER          = 24
MM_NEOMAGIC_MWAVE_AUX            = 25
MM_MERGING_MPEGL3                = 1
MM_XIRLINK_VISIONLINK            = 1
MM_OTI_611WAVEIN                 = 5
MM_OTI_611WAVEOUT                = 6
MM_OTI_611MIXER                  = 7
MM_OTI_611MIDIN                  = 12h
MM_OTI_611MIDIOUT                = 13h
MM_AUREAL_AU8820                 = 16
MM_AU8820_SYNTH                  = 17
MM_AU8820_WAVEOUT                = 18
MM_AU8820_WAVEIN                 = 19
MM_AU8820_MIXER                  = 20
MM_AU8820_AUX                    = 21
MM_AU8820_MIDIOUT                = 22
MM_AU8820_MIDIIN                 = 23
MM_AUREAL_AU8830                 = 32
MM_AU8830_SYNTH                  = 33
MM_AU8830_WAVEOUT                = 34
MM_AU8830_WAVEIN                 = 35
MM_AU8830_MIXER                  = 36
MM_AU8830_AUX                    = 37
MM_AU8830_MIDIOUT                = 38
MM_AU8830_MIDIIN                 = 39
MM_VIVO_AUDIO_CODEC              = 1
MM_SHARP_MDC_MIDI_SYNTH          = 1
MM_SHARP_MDC_MIDI_IN             = 2
MM_SHARP_MDC_MIDI_OUT            = 3
MM_SHARP_MDC_WAVE_IN             = 4
MM_SHARP_MDC_WAVE_OUT            = 5
MM_SHARP_MDC_AUX                 = 6
MM_SHARP_MDC_MIXER               = 10
MM_SHARP_MDC_AUX_MASTER          = 100
MM_SHARP_MDC_AUX_BASS            = 101
MM_SHARP_MDC_AUX_TREBLE          = 102
MM_SHARP_MDC_AUX_MIDI_VOL        = 103
MM_SHARP_MDC_AUX_WAVE_VOL        = 104
MM_SHARP_MDC_AUX_WAVE_RVB        = 105
MM_SHARP_MDC_AUX_WAVE_CHR        = 106
MM_SHARP_MDC_AUX_VOL             = 107
MM_SHARP_MDC_AUX_RVB             = 108
MM_SHARP_MDC_AUX_CHR             = 109
MM_LUCENT_ACM_G723               = 0
MM_ATT_G729A                     = 1
MM_MARIAN_ARC44WAVEIN            = 1
MM_MARIAN_ARC44WAVEOUT           = 2
MM_MARIAN_PRODIF24WAVEIN         = 3
MM_MARIAN_PRODIF24WAVEOUT        = 4
MM_MARIAN_ARC88WAVEIN            = 5
MM_MARIAN_ARC88WAVEOUT           = 6
MM_BCB_NETBOARD_10               = 1
MM_BCB_TT75_10                   = 2
MM_MOTIONPIXELS_MVI2             = 1
MM_QDESIGN_ACM_MPEG              = 1
MM_QDESIGN_ACM_QDESIGN_MUSIC     = 2
MM_NMP_CCP_WAVEIN                = 1
MM_NMP_CCP_WAVEOUT               = 2
MM_NMP_ACM_AMR                   = 10
MM_DF_ACM_G726                   = 1
MM_DF_ACM_GSM610                 = 2
MM_BERCOS_WAVEIN                 = 1
MM_BERCOS_MIXER                  = 2
MM_BERCOS_WAVEOUT                = 3
MM_ONLIVE_MPCODEC                = 1
MM_PHONET_PP_WAVEOUT             = 1
MM_PHONET_PP_WAVEIN              = 2
MM_PHONET_PP_MIXER               = 3
MM_FTR_ENCODER_WAVEIN            = 1
MM_FTR_ACM                       = 2
MM_ENET_T2000_LINEIN             = 1
MM_ENET_T2000_LINEOUT            = 2
MM_ENET_T2000_HANDSETIN          = 3
MM_ENET_T2000_HANDSETOUT         = 4
MM_EMAGIC_UNITOR8                = 1
MM_SIPROLAB_ACELPNET             = 1
MM_DICTAPHONE_G726               = 1
MM_RZS_ACM_TUBGSM                = 1
MM_EES_PCMIDI14                  = 1
MM_EES_PCMIDI14_IN               = 2
MM_EES_PCMIDI14_OUT1             = 3
MM_EES_PCMIDI14_OUT2             = 4
MM_EES_PCMIDI14_OUT3             = 5
MM_EES_PCMIDI14_OUT4             = 6
MM_HAFTMANN_LPTDAC2              = 1
MM_LUCID_PCI24WAVEIN             = 1
MM_LUCID_PCI24WAVEOUT            = 2
MM_HEADSPACE_HAESYNTH            = 1
MM_HEADSPACE_HAEWAVEOUT          = 2
MM_HEADSPACE_HAEWAVEIN           = 3
MM_HEADSPACE_HAEMIXER            = 4
MM_UNISYS_ACM_NAP                = 1
MM_LUMINOSITI_SCWAVEIN           = 1
MM_LUMINOSITI_SCWAVEOUT          = 2
MM_LUMINOSITI_SCWAVEMIX          = 3
MM_ACTIVEVOICE_ACM_VOXADPCM      = 1
MM_DTS_DS                        = 1
MM_SOFTLAB_NSK_FRW_WAVEIN        = 1
MM_SOFTLAB_NSK_FRW_WAVEOUT       = 2
MM_SOFTLAB_NSK_FRW_MIXER         = 3
MM_SOFTLAB_NSK_FRW_AUX           = 4
MM_FORTEMEDIA_WAVEIN             = 1
MM_FORTEMEDIA_WAVEOUT            = 2
MM_FORTEMEDIA_FMSYNC             = 3
MM_FORTEMEDIA_MIXER              = 4
MM_FORTEMEDIA_AUX                = 5
MM_SONORUS_STUDIO                = 1
MM_I_LINK_VOICE_CODER            = 1
MM_SELSIUS_SYSTEMS_RTPWAVEOUT    = 1
MM_SELSIUS_SYSTEMS_RTPWAVEIN     = 2
MM_ADMOS_FM_SYNTH                = 1
MM_ADMOS_QS3AMIDIOUT             = 2
MM_ADMOS_QS3AMIDIIN              = 3
MM_ADMOS_QS3AWAVEOUT             = 4
MM_ADMOS_QS3AWAVEIN              = 5
MM_LEXICON_STUDIO_WAVE_OUT       = 1
MM_LEXICON_STUDIO_WAVE_IN        = 2
MM_SGI_320_WAVEIN                = 1
MM_SGI_320_WAVEOUT               = 2
MM_SGI_320_MIXER                 = 3
MM_SGI_540_WAVEIN                = 4
MM_SGI_540_WAVEOUT               = 5
MM_SGI_540_MIXER                 = 6
MM_SGI_RAD_ADATMONO1_WAVEIN      = 7
MM_SGI_RAD_ADATMONO2_WAVEIN      = 8
MM_SGI_RAD_ADATMONO3_WAVEIN      = 9
MM_SGI_RAD_ADATMONO4_WAVEIN      = 10
MM_SGI_RAD_ADATMONO5_WAVEIN      = 11
MM_SGI_RAD_ADATMONO6_WAVEIN      = 12
MM_SGI_RAD_ADATMONO7_WAVEIN      = 13
MM_SGI_RAD_ADATMONO8_WAVEIN      = 14
MM_SGI_RAD_ADATSTEREO12_WAVEIN   = 15
MM_SGI_RAD_ADATSTEREO34_WAVEIN   = 16
MM_SGI_RAD_ADATSTEREO56_WAVEIN   = 17
MM_SGI_RAD_ADATSTEREO78_WAVEIN   = 18
MM_SGI_RAD_ADAT8CHAN_WAVEIN      = 19
MM_SGI_RAD_ADATMONO1_WAVEOUT     = 20
MM_SGI_RAD_ADATMONO2_WAVEOUT     = 21
MM_SGI_RAD_ADATMONO3_WAVEOUT     = 22
MM_SGI_RAD_ADATMONO4_WAVEOUT     = 23
MM_SGI_RAD_ADATMONO5_WAVEOUT     = 24
MM_SGI_RAD_ADATMONO6_WAVEOUT     = 25
MM_SGI_RAD_ADATMONO7_WAVEOUT     = 26
MM_SGI_RAD_ADATMONO8_WAVEOUT     = 27
MM_SGI_RAD_ADATSTEREO12_WAVEOUT  = 28
MM_SGI_RAD_ADATSTEREO32_WAVEOUT  = 29
MM_SGI_RAD_ADATSTEREO56_WAVEOUT  = 30
MM_SGI_RAD_ADATSTEREO78_WAVEOUT  = 31
MM_SGI_RAD_ADAT8CHAN_WAVEOUT     = 32
MM_SGI_RAD_AESMONO1_WAVEIN       = 33
MM_SGI_RAD_AESMONO2_WAVEIN       = 34
MM_SGI_RAD_AESSTEREO_WAVEIN      = 35
MM_SGI_RAD_AESMONO1_WAVEOUT      = 36
MM_SGI_RAD_AESMONO2_WAVEOUT      = 37
MM_SGI_RAD_AESSTEREO_WAVEOUT     = 38
MM_IPI_ACM_HSX                   = 1
MM_IPI_ACM_RPELP                 = 2
MM_IPI_WF_ASSS                   = 3
MM_IPI_AT_WAVEOUT                = 4
MM_IPI_AT_WAVEIN                 = 5
MM_IPI_AT_MIXER                  = 6
MM_ICE_WAVEOUT                   = 1
MM_ICE_WAVEIN                    = 2
MM_ICE_MTWAVEOUT                 = 3
MM_ICE_MTWAVEIN                  = 4
MM_ICE_MIDIOUT1                  = 5
MM_ICE_MIDIIN1                   = 6
MM_ICE_MIDIOUT2                  = 7
MM_ICE_MIDIIN2                   = 8
MM_ICE_SYNTH                     = 9
MM_ICE_MIXER                     = 10
MM_ICE_AUX                       = 11
MM_VQST_VQC1                     = 1
MM_VQST_VQC2                     = 2
MM_ETEK_KWIKMIDI_MIDIIN          = 1
MM_ETEK_KWIKMIDI_MIDIOUT         = 2
MM_INTERNET_SSW_MIDIOUT          = 10
MM_INTERNET_SSW_MIDIIN           = 11
MM_INTERNET_SSW_WAVEOUT          = 12
MM_INTERNET_SSW_WAVEIN           = 13
MM_SONY_ACM_SCX                  = 1
MM_UH_ACM_ADPCM                  = 1
MM_SYDEC_NV_WAVEIN               = 1
MM_SYDEC_NV_WAVEOUT              = 2
MM_FLEXION_X300_WAVEIN           = 1
MM_FLEXION_X300_WAVEOUT          = 2
MM_VIA_WAVEOUT                   = 1
MM_VIA_WAVEIN                    = 2
MM_VIA_MIXER                     = 3
MM_VIA_AUX                       = 4
MM_VIA_MPU401_MIDIOUT            = 5
MM_VIA_MPU401_MIDIIN             = 6
MM_VIA_SWFM_SYNTH                = 7
MM_VIA_WDM_WAVEOUT               = 8
MM_VIA_WDM_WAVEIN                = 9
MM_VIA_WDM_MIXER                 = 10
MM_VIA_WDM_MPU401_MIDIOUT        = 11
MM_VIA_WDM_MPU401_MIDIIN         = 12
MM_MICRONAS_SC4                  = 1
MM_MICRONAS_CLP833               = 2
MM_HP_WAVEOUT                    = 1
MM_HP_WAVEIN                     = 2
MM_QUICKAUDIO_MINIMIDI           = 1
MM_QUICKAUDIO_MAXIMIDI           = 2
MM_ICCC_UNA3_WAVEIN              = 1
MM_ICCC_UNA3_WAVEOUT             = 2
MM_ICCC_UNA3_AUX                 = 3
MM_ICCC_UNA3_MIXER               = 4
MM_3COM_CB_MIXER                 = 1
MM_3COM_CB_WAVEIN                = 2
MM_3COM_CB_WAVEOUT               = 3
MM_MINDMAKER_GC_WAVEIN           = 1
MM_MINDMAKER_GC_WAVEOUT          = 2
MM_MINDMAKER_GC_MIXER            = 3
MM_TELEKOL_WAVEOUT               = 1
MM_TELEKOL_WAVEIN                = 2
MM_ALGOVISION_VB80WAVEOUT        = 1
MM_ALGOVISION_VB80WAVEIN         = 2
MM_ALGOVISION_VB80MIXER          = 3
MM_ALGOVISION_VB80AUX            = 4
MM_ALGOVISION_VB80AUX2           = 5
WAVE_FORMAT_UNKNOWN              = 0000h
WAVE_FORMAT_ADPCM                = 0002h
WAVE_FORMAT_IEEE_FLOAT           = 0003h
WAVE_FORMAT_VSELP                = 0004h
WAVE_FORMAT_IBM_CVSD             = 0005h
WAVE_FORMAT_ALAW                 = 0006h
WAVE_FORMAT_MULAW                = 0007h
WAVE_FORMAT_DTS                  = 0008h
WAVE_FORMAT_DRM                  = 0009h
WAVE_FORMAT_WMAVOICE9            = 000Ah
WAVE_FORMAT_WMAVOICE10           = 000Bh
WAVE_FORMAT_OKI_ADPCM            = 0010h
WAVE_FORMAT_DVI_ADPCM            = 0011h
WAVE_FORMAT_IMA_ADPCM            = WAVE_FORMAT_DVI_ADPCM
WAVE_FORMAT_MEDIASPACE_ADPCM     = 0012h
WAVE_FORMAT_SIERRA_ADPCM         = 0013h
WAVE_FORMAT_G723_ADPCM           = 0014h
WAVE_FORMAT_DIGISTD              = 0015h
WAVE_FORMAT_DIGIFIX              = 0016h
WAVE_FORMAT_DIALOGIC_OKI_ADPCM   = 0017h
WAVE_FORMAT_MEDIAVISION_ADPCM    = 0018h
WAVE_FORMAT_CU_CODEC             = 0019h
WAVE_FORMAT_YAMAHA_ADPCM         = 0020h
WAVE_FORMAT_SONARC               = 0021h
WAVE_FORMAT_DSPGROUP_TRUESPEECH  = 0022h
WAVE_FORMAT_ECHOSC1              = 0023h
WAVE_FORMAT_AUDIOFILE_AF36       = 0024h
WAVE_FORMAT_APTX                 = 0025h
WAVE_FORMAT_AUDIOFILE_AF10       = 0026h
WAVE_FORMAT_PROSODY_1612         = 0027h
WAVE_FORMAT_LRC                  = 0028h
WAVE_FORMAT_DOLBY_AC2            = 0030h
WAVE_FORMAT_GSM610               = 0031h
WAVE_FORMAT_MSNAUDIO             = 0032h
WAVE_FORMAT_ANTEX_ADPCME         = 0033h
WAVE_FORMAT_CONTROL_RES_VQLPC    = 0034h
WAVE_FORMAT_DIGIREAL             = 0035h
WAVE_FORMAT_DIGIADPCM            = 0036h
WAVE_FORMAT_CONTROL_RES_CR10     = 0037h
WAVE_FORMAT_NMS_VBXADPCM         = 0038h
WAVE_FORMAT_CS_IMAADPCM          = 0039h
WAVE_FORMAT_ECHOSC3              = 003Ah
WAVE_FORMAT_ROCKWELL_ADPCM       = 003Bh
WAVE_FORMAT_ROCKWELL_DIGITALK    = 003Ch
WAVE_FORMAT_XEBEC                = 003Dh
WAVE_FORMAT_G721_ADPCM           = 0040h
WAVE_FORMAT_G728_CELP            = 0041h
WAVE_FORMAT_MSG723               = 0042h
WAVE_FORMAT_MPEG                 = 0050h
WAVE_FORMAT_RT24                 = 0052h
WAVE_FORMAT_PAC                  = 0053h
WAVE_FORMAT_MPEGLAYER3           = 0055h
WAVE_FORMAT_LUCENT_G723          = 0059h
WAVE_FORMAT_CIRRUS               = 0060h
WAVE_FORMAT_ESPCM                = 0061h
WAVE_FORMAT_VOXWARE              = 0062h
WAVE_FORMAT_CANOPUS_ATRAC        = 0063h
WAVE_FORMAT_G726_ADPCM           = 0064h
WAVE_FORMAT_G722_ADPCM           = 0065h
WAVE_FORMAT_DSAT_DISPLAY         = 0067h
WAVE_FORMAT_VOXWARE_BYTE_ALIGNED = 0069h
WAVE_FORMAT_VOXWARE_AC8          = 0070h
WAVE_FORMAT_VOXWARE_AC10         = 0071h
WAVE_FORMAT_VOXWARE_AC16         = 0072h
WAVE_FORMAT_VOXWARE_AC20         = 0073h
WAVE_FORMAT_VOXWARE_RT24         = 0074h
WAVE_FORMAT_VOXWARE_RT29         = 0075h
WAVE_FORMAT_VOXWARE_RT29HW       = 0076h
WAVE_FORMAT_VOXWARE_VR12         = 0077h
WAVE_FORMAT_VOXWARE_VR18         = 0078h
WAVE_FORMAT_VOXWARE_TQ40         = 0079h
WAVE_FORMAT_SOFTSOUND            = 0080h
WAVE_FORMAT_VOXWARE_TQ60         = 0081h
WAVE_FORMAT_MSRT24               = 0082h
WAVE_FORMAT_G729A                = 0083h
WAVE_FORMAT_MVI_MVI2             = 0084h
WAVE_FORMAT_DF_G726              = 0085h
WAVE_FORMAT_DF_GSM610            = 0086h
WAVE_FORMAT_ISIAUDIO             = 0088h
WAVE_FORMAT_ONLIVE               = 0089h
WAVE_FORMAT_SBC24                = 0091h
WAVE_FORMAT_DOLBY_AC3_SPDIF      = 0092h
WAVE_FORMAT_MEDIASONIC_G723      = 0093h
WAVE_FORMAT_PROSODY_8KBPS        = 0094h
WAVE_FORMAT_ZYXEL_ADPCM          = 0097h
WAVE_FORMAT_PHILIPS_LPCBB        = 0098h
WAVE_FORMAT_PACKED               = 0099h
WAVE_FORMAT_MALDEN_PHONYTALK     = 00A0h
WAVE_FORMAT_RHETOREX_ADPCM       = 0100h
WAVE_FORMAT_IRAT                 = 0101h
WAVE_FORMAT_VIVO_G723            = 0111h
WAVE_FORMAT_VIVO_SIREN           = 0112h
WAVE_FORMAT_DIGITAL_G723         = 0123h
WAVE_FORMAT_SANYO_LD_ADPCM       = 0125h
WAVE_FORMAT_SIPROLAB_ACEPLNET    = 0130h
WAVE_FORMAT_SIPROLAB_ACELP4800   = 0131h
WAVE_FORMAT_SIPROLAB_ACELP8V3    = 0132h
WAVE_FORMAT_SIPROLAB_G729        = 0133h
WAVE_FORMAT_SIPROLAB_G729A       = 0134h
WAVE_FORMAT_SIPROLAB_KELVIN      = 0135h
WAVE_FORMAT_G726ADPCM            = 0140h
WAVE_FORMAT_QUALCOMM_PUREVOICE   = 0150h
WAVE_FORMAT_QUALCOMM_HALFRATE    = 0151h
WAVE_FORMAT_TUBGSM               = 0155h
WAVE_FORMAT_MSAUDIO1             = 0160h
WAVE_FORMAT_WMAUDIO2             = 0161h
WAVE_FORMAT_WMAUDIO3             = 0162h
WAVE_FORMAT_WMAUDIO_LOSSLESS     = 0163h
WAVE_FORMAT_WMASPDIF             = 0164h
WAVE_FORMAT_UNISYS_NAP_ADPCM     = 0170h
WAVE_FORMAT_UNISYS_NAP_ULAW      = 0171h
WAVE_FORMAT_UNISYS_NAP_ALAW      = 0172h
WAVE_FORMAT_UNISYS_NAP_16K       = 0173h
WAVE_FORMAT_CREATIVE_ADPCM       = 0200h
WAVE_FORMAT_CREATIVE_FASTSPEECH8 = 0202h
WAVE_FORMAT_CREATIVE_FASTSPEECH10 = 0203h
WAVE_FORMAT_UHER_ADPCM           = 0210h
WAVE_FORMAT_QUARTERDECK          = 0220h
WAVE_FORMAT_ILINK_VC             = 0230h
WAVE_FORMAT_RAW_SPORT            = 0240h
WAVE_FORMAT_ESST_AC3             = 0241h
WAVE_FORMAT_GENERIC_PASSTHRU     = 0249h
WAVE_FORMAT_IPI_HSX              = 0250h
WAVE_FORMAT_IPI_RPELP            = 0251h
WAVE_FORMAT_CS2                  = 0260h
WAVE_FORMAT_SONY_SCX             = 0270h
WAVE_FORMAT_FM_TOWNS_SND         = 0300h
WAVE_FORMAT_BTV_DIGITAL          = 0400h
WAVE_FORMAT_QDESIGN_MUSIC        = 0450h
WAVE_FORMAT_VME_VMPCM            = 0680h
WAVE_FORMAT_TPC                  = 0681h
WAVE_FORMAT_OLIGSM               = 1000h
WAVE_FORMAT_OLIADPCM             = 1001h
WAVE_FORMAT_OLICELP              = 1002h
WAVE_FORMAT_OLISBC               = 1003h
WAVE_FORMAT_OLIOPR               = 1004h
WAVE_FORMAT_LH_CODEC             = 1100h
WAVE_FORMAT_NORRIS               = 1400h
WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS = 1500h
WAVE_FORMAT_MPEG_ADTS_AAC        = 1600h
WAVE_FORMAT_MPEG_RAW_AAC         = 1601h
WAVE_FORMAT_NOKIA_MPEG_ADTS_AAC  = 1608h
WAVE_FORMAT_NOKIA_MPEG_RAW_AAC   = 1609h
WAVE_FORMAT_VODAFONE_MPEG_ADTS_AAC = 160Ah
WAVE_FORMAT_VODAFONE_MPEG_RAW_AAC = 160Bh
WAVE_FORMAT_DVM                  = 2000h
WAVE_FORMAT_EXTENSIBLE           = 0FFFEh
WAVE_FORMAT_DEVELOPMENT          = 0FFFFh
SPEAKER_FRONT_LEFT               = 1h
SPEAKER_FRONT_RIGHT              = 2h
SPEAKER_FRONT_CENTER             = 4h
SPEAKER_LOW_FREQUENCY            = 8h
SPEAKER_BACK_LEFT                = 10h
SPEAKER_BACK_RIGHT               = 20h
SPEAKER_FRONT_LEFT_OF_CENTER     = 40h
SPEAKER_FRONT_RIGHT_OF_CENTER    = 80h
SPEAKER_BACK_CENTER              = 100h
SPEAKER_SIDE_LEFT                = 200h
SPEAKER_SIDE_RIGHT               = 400h
SPEAKER_TOP_CENTER               = 800h
SPEAKER_TOP_FRONT_LEFT           = 1000h
SPEAKER_TOP_FRONT_CENTER         = 2000h
SPEAKER_TOP_FRONT_RIGHT          = 4000h
SPEAKER_TOP_BACK_LEFT            = 8000h
SPEAKER_TOP_BACK_CENTER          = 10000h
SPEAKER_TOP_BACK_RIGHT           = 20000h
SPEAKER_RESERVED                 = 7FFC0000h
SPEAKER_ALL                      = 80000000h
ACM_MPEG_LAYER1                  = 0001h
ACM_MPEG_LAYER2                  = 0002h
ACM_MPEG_LAYER3                  = 0004h
ACM_MPEG_STEREO                  = 0001h
ACM_MPEG_JOINTSTEREO             = 0002h
ACM_MPEG_DUALCHANNEL             = 0004h
ACM_MPEG_SINGLECHANNEL           = 0008h
ACM_MPEG_PRIVATEBIT              = 0001h
ACM_MPEG_COPYRIGHT               = 0002h
ACM_MPEG_ORIGINALHOME            = 0004h
ACM_MPEG_PROTECTIONBIT           = 0008h
ACM_MPEG_ID_MPEG1                = 0010h
MPEGLAYER3_WFX_EXTRA_BYTES       = 12
MPEGLAYER3_ID_UNKNOWN            = 0
MPEGLAYER3_ID_MPEG               = 1
MPEGLAYER3_ID_CONSTANTFRAMESIZE  = 2
MPEGLAYER3_FLAG_PADDING_ISO      = 00000000h
MPEGLAYER3_FLAG_PADDING_ON       = 00000001h
MPEGLAYER3_FLAG_PADDING_OFF      = 00000002h
MM_MSFT_ACM_WMAUDIO              = 39
WMAUDIO_BITS_PER_SAMPLE          = 16
WMAUDIO_MAX_CHANNELS             = 2
MM_MSFT_ACM_MSAUDIO1             = 39
MSAUDIO1_BITS_PER_SAMPLE         = WMAUDIO_BITS_PER_SAMPLE
MSAUDIO1_MAX_CHANNELS            = WMAUDIO_MAX_CHANNELS
MM_MSFT_ACM_WMAUDIO2             = 101
WMAUDIO2_BITS_PER_SAMPLE         = WMAUDIO_BITS_PER_SAMPLE
WMAUDIO2_MAX_CHANNELS            = WMAUDIO_MAX_CHANNELS
WAVE_FILTER_UNKNOWN              = 0000h
WAVE_FILTER_DEVELOPMENT          = 0FFFFh
WAVE_FILTER_VOLUME               = 0001h
WAVE_FILTER_ECHO                 = 0002h
JPEG_PROCESS_BASELINE            = 0
AVIIF_CONTROLFRAME               = 00000200h
JIFMK_SOF0                       = 0FFC0h
JIFMK_SOF1                       = 0FFC1h
JIFMK_SOF2                       = 0FFC2h
JIFMK_SOF3                       = 0FFC3h
JIFMK_SOF5                       = 0FFC5h
JIFMK_SOF6                       = 0FFC6h
JIFMK_SOF7                       = 0FFC7h
JIFMK_JPG                        = 0FFC8h
JIFMK_SOF9                       = 0FFC9h
JIFMK_SOF10                      = 0FFCAh
JIFMK_SOF11                      = 0FFCBh
JIFMK_SOF13                      = 0FFCDh
JIFMK_SOF14                      = 0FFCEh
JIFMK_SOF15                      = 0FFCFh
JIFMK_DHT                        = 0FFC4h
JIFMK_DAC                        = 0FFCCh
JIFMK_RST0                       = 0FFD0h
JIFMK_RST1                       = 0FFD1h
JIFMK_RST2                       = 0FFD2h
JIFMK_RST3                       = 0FFD3h
JIFMK_RST4                       = 0FFD4h
JIFMK_RST5                       = 0FFD5h
JIFMK_RST6                       = 0FFD6h
JIFMK_RST7                       = 0FFD7h
JIFMK_SOI                        = 0FFD8h
JIFMK_EOI                        = 0FFD9h
JIFMK_SOS                        = 0FFDAh
JIFMK_DQT                        = 0FFDBh
JIFMK_DNL                        = 0FFDCh
JIFMK_DRI                        = 0FFDDh
JIFMK_DHP                        = 0FFDEh
JIFMK_EXP                        = 0FFDFh
JIFMK_APP0                       = 0FFE0h
JIFMK_APP1                       = 0FFE1h
JIFMK_APP2                       = 0FFE2h
JIFMK_APP3                       = 0FFE3h
JIFMK_APP4                       = 0FFE4h
JIFMK_APP5                       = 0FFE5h
JIFMK_APP6                       = 0FFE6h
JIFMK_APP7                       = 0FFE7h
JIFMK_JPG0                       = 0FFF0h
JIFMK_JPG1                       = 0FFF1h
JIFMK_JPG2                       = 0FFF2h
JIFMK_JPG3                       = 0FFF3h
JIFMK_JPG4                       = 0FFF4h
JIFMK_JPG5                       = 0FFF5h
JIFMK_JPG6                       = 0FFF6h
JIFMK_JPG7                       = 0FFF7h
JIFMK_JPG8                       = 0FFF8h
JIFMK_JPG9                       = 0FFF9h
JIFMK_JPG10                      = 0FFFAh
JIFMK_JPG11                      = 0FFFBh
JIFMK_JPG12                      = 0FFFCh
JIFMK_JPG13                      = 0FFFDh
JIFMK_COM                        = 0FFFEh
JIFMK_TEM                        = 0FF01h
JIFMK_RES                        = 0FF02h
JIFMK_00                         = 0FF00h
JIFMK_FF                         = 0FFFFh
JPEG_Y                           = 1
JPEG_YCbCr                       = 2
JPEG_RGB                         = 3
MIXERCONTROL_CONTROLTYPE_SRS_MTS = MIXERCONTROL_CONTROLTYPE_BOOLEAN + 6
MIXERCONTROL_CONTROLTYPE_SRS_ONOFF = MIXERCONTROL_CONTROLTYPE_BOOLEAN + 7
MIXERCONTROL_CONTROLTYPE_SRS_SYNTHSELECT = MIXERCONTROL_CONTROLTYPE_BOOLEAN + 8

  ; Structures from MMSystem.h

WAVEOUTCAPS2 struct
   wMid                   WORD ?
   wPid                   WORD ?
   vDriverVersion         MMVERSION ?
   szPname TCHAR MAXPNAMELEN dup (?)
   dwFormats              DWORD ?
   wChannels              WORD ?
   wReserved1             WORD ?
   dwSupport              DWORD ?
   ManufacturerGuid       GUID <>
   ProductGuid            GUID <>
   NameGuid               GUID <>
WAVEOUTCAPS2 ends

WAVEINCAPS2 struct
   wMid                   WORD ?
   wPid                   WORD ?
   vDriverVersion         MMVERSION ?
   szPname TCHAR MAXPNAMELEN dup (?)
   dwFormats              DWORD ?
   wChannels              WORD ?
   wReserved1             WORD ?
   ManufacturerGuid       GUID <>
   ProductGuid            GUID <>
   NameGuid               GUID <>
WAVEINCAPS2 ends

MIDIOUTCAPS2W struct
   wMid                   WORD ?
   wPid                   WORD ?
   vDriverVersion         MMVERSION ?
  szPname WORD MAXPNAMELEN dup (?)
   wTechnology            WORD ?
   wVoices                WORD ?
   wNotes                 WORD ?
   wChannelMask           WORD ?
   dwSupport              DWORD ?
   ManufacturerGuid       GUID <>
   ProductGuid            GUID <>
   NameGuid               GUID <>
MIDIOUTCAPS2W ends

MIDIINCAPS2 struct
   wMid                   WORD ?
   wPid                   WORD ?
   vDriverVersion         MMVERSION ?
  szPname TCHAR MAXPNAMELEN dup (?)
   dwSupport              DWORD ?
   ManufacturerGuid       GUID <>
   ProductGuid            GUID <>
   NameGuid               GUID <>
MIDIINCAPS2 ends

AUXCAPS2 struct
   wMid                   WORD ?
   wPid                   WORD ?
   vDriverVersion         MMVERSION ?
  szPname TCHAR MAXPNAMELEN dup (?)
   wTechnology            WORD ?
   wReserved1             WORD ?
   dwSupport              DWORD ?
   ManufacturerGuid       GUID <>
   ProductGuid            GUID <>
   NameGuid               GUID <>
AUXCAPS2 ends

MIXERCAPS2 struct
   wMid                   WORD ?
   wPid                   WORD ?
   vDriverVersion         MMVERSION ?
   szPname TCHAR MAXPNAMELEN dup (?)
   fdwSupport             DWORD ?
   cDestinations          DWORD ?
   ManufacturerGuid       GUID <>
   ProductGuid            GUID <>
   NameGuid               GUID <>
MIXERCAPS2 ends

JOYCAPS2 struct
   wMid                   WORD ?
   wPid                   WORD ?
   szPname TCHAR MAXPNAMELEN dup (?)
   wXmin                  DWORD ?
   wXmax                  DWORD ?
   wYmin                  DWORD ?
   wYmax                  DWORD ?
   wZmin                  DWORD ?
   wZmax                  DWORD ?
   wNumButtons            DWORD ?
   wPeriodMin             DWORD ?
   wPeriodMax             DWORD ?
   wRmin                  DWORD ?
   wRmax                  DWORD ?
   wUmin                  DWORD ?
   wUmax                  DWORD ?
   wVmin                  DWORD ?
   wVmax                  DWORD ?
   wCaps                  DWORD ?
   wMaxAxes               DWORD ?
   wNumAxes               DWORD ?
   wMaxButtons            DWORD ?
   szRegKey TCHAR MAXPNAMELEN dup (?)
   szOEMVxD TCHAR MAX_JOYSTICKOEMVXDNAME dup (?)
   ManufacturerGuid       GUID <>
   ProductGuid            GUID <>
   NameGuid               GUID <>
JOYCAPS2 ends

;;;; end mmreg

;;;; vistalater

    _WIN32_WINNT_NT4                 = 0400h
    _WIN32_WINNT_WIN2K               = 0500h
    _WIN32_WINNT_WINXP               = 0501h
    _WIN32_WINNT_WS03                = 0502h
    _WIN32_WINNT_LONGHORN            = 0600h
    _WIN32_IE_IE20                   = 0200h
    _WIN32_IE_IE30                   = 0300h
    _WIN32_IE_IE302                  = 0302h
    _WIN32_IE_IE40                   = 0400h
    _WIN32_IE_IE401                  = 0401h
    _WIN32_IE_IE50                   = 0500h
    _WIN32_IE_IE501                  = 0501h
    _WIN32_IE_IE55                   = 0550h
    _WIN32_IE_IE60                   = 0600h
    _WIN32_IE_IE60SP1                = 0601h
    _WIN32_IE_IE60SP2                = 0603h
    _WIN32_IE_IE70                   = 0700h
    _WIN32_IE_NT4                    = 0200h
    _WIN32_IE_NT4SP1                 = 0200h
    _WIN32_IE_NT4SP2                 = 0200h
    _WIN32_IE_NT4SP3                 = 0302h
    _WIN32_IE_NT4SP4                 = 0401h
    _WIN32_IE_NT4SP5                 = 0401h
    _WIN32_IE_NT4SP6                 = 0500h
    _WIN32_IE_WIN98                  = 0401h
    _WIN32_IE_WIN98SE                = 0500h
    _WIN32_IE_WINME                  = 0550h
    _WIN32_IE_WIN2K                  = 0501h
    _WIN32_IE_WIN2KSP1               = 0501h
    _WIN32_IE_WIN2KSP2               = 0501h
    _WIN32_IE_WIN2KSP3               = 0501h
    _WIN32_IE_WIN2KSP4               = 0501h
    _WIN32_IE_XP                     = 0600h
    _WIN32_IE_XPSP1                  = 0601h
    _WIN32_IE_XPSP2                  = 0603h
    _WIN32_IE_WS03                   = 0602h
    _WIN32_IE_WS03SP1                = 0603h
    _WIN32_IE_LONGHORN               = 0700h
    NTDDI_WIN2K                      = 05000000h
    NTDDI_WIN2KSP1                   = 05000100h
    NTDDI_WIN2KSP2                   = 05000200h
    NTDDI_WIN2KSP3                   = 05000300h
    NTDDI_WIN2KSP4                   = 05000400h
    NTDDI_WINXP                      = 05010000h
    NTDDI_WINXPSP1                   = 05010100h
    NTDDI_WINXPSP2                   = 05010200h
    NTDDI_WS03                       = 05020000h
    NTDDI_WS03SP1                    = 05020100h
    NTDDI_LONGHORN                   = 06000000h
    _WIN32_WINNT                     = 0600h
    WINVER                           = 0600h
    _WIN32_IE                        = 0500h
    _WIN32_WINDOWS                   = 0410h
;    _CRTIMP                          =
    STRICT                           = 1
    RESTORE_LAST_ERROR_NAME          equ "RestoreLastError"
    FILE_SKIP_COMPLETION_PORT_ON_SUCCESS = 1h
    FILE_SKIP_SET_EVENT_ON_HANDLE    = 2h
    EFSRPC_SECURE_ONLY               = 8
    GET_SYSTEM_WOW64_DIRECTORY_NAME_A equ "GetSystemWow64DirectoryA"
    GET_SYSTEM_WOW64_DIRECTORY_NAME_W equ "GetSystemWow64DirectoryW"
    match =TRUE, UNICODE {
        GET_SYSTEM_WOW64_DIRECTORY_NAME_T equ GET_SYSTEM_WOW64_DIRECTORY_NAME_W }
    match =FAlSE, UNICODE {
        GET_SYSTEM_WOW64_DIRECTORY_NAME_T equ GET_SYSTEM_WOW64_DIRECTORY_NAME_A }
    PRIVATE_NAMESPACE_FLAG_DESTROY   = 00000001h
    VALID_SYMBOLIC_LINK_FLAGS        = 1h
    GDI_OBJ_LAST                     = 14
    CLIP_DFA_DISABLE                 = 4 shl 4
    DMPAPER_114h                     = 16
    DMPAPER_111h                     = 45
    RT_MESSAGETABLE                  = 11
    HIGH_SURROGATE_START             = 0D800h
    HIGH_SURROGATE_END               = 0DBFFh
    LOW_SURROGATE_START              = 0DC00h
    LOW_SURROGATE_END                = 0DFFFh
    MB_ERR_INVALID_CHARS             = 00000008h
    WC_ERR_INVALID_CHARS             = 00000080h
    WC_NO_BEST_FIT_CHARS             = 00000400h
    C1_DEFINED                       = 0200h
    C3_KATAKANA                      = 0010h
    C3_HIRAGANA                      = 0020h
    C3_HALFWIDTH                     = 0040h
    C3_FULLWIDTH                     = 0080h
    C3_IDEOGRAPH                     = 0100h
    C3_KASHIDA                       = 0200h
    C3_LEXICAL                       = 0400h
    C3_HIGHSURROGATE                 = 0800h
    C3_LOWSURROGATE                  = 1000h
    C3_ALPHA                         = 8000h
    LINGUISTIC_IGNORECASE            = 00000010h
    LINGUISTIC_IGNOREDIACRITIC       = 00000020h
    NORM_LINGUISTIC_CASING           = 08000000h
    MAP_EXPAND_LIGATURES             = 00002000h
    LCMAP_HIRAGANA                   = 00100000h
    LCMAP_KATAKANA                   = 00200000h
    LCMAP_HALFWIDTH                  = 00400000h
    LCMAP_FULLWIDTH                  = 00800000h
    LCMAP_LINGUISTIC_CASING          = 01000000h
    LCMAP_SIMPLIFIED_CHINESE         = 02000000h
    LCMAP_TRADITIONAL_CHINESE        = 04000000h
    FIND_STARTSWITH                  = 00100000h
    FIND_ENDSWITH                    = 00200000h
    FIND_FROMSTART                   = 00400000h
    FIND_FROMEND                     = 00800000h
    LGRPID_INSTALLED                 = 00000001h
    LGRPID_SUPPORTED                 = 00000002h
    LCID_INSTALLED                   = 00000001h
    LCID_SUPPORTED                   = 00000002h
    LCID_ALTERNATE_SORTS             = 00000004h
    LOCALE_ALL                       = 0
    LOCALE_WINDOWS                   = 00000001h
    LOCALE_SUPPLEMENTAL              = 00000002h
    LOCALE_ALTERNATE_SORTS           = 00000004h
    LOCALE_REPLACEMENT               = 00000008h
    CP_INSTALLED                     = 00000001h
    CP_SUPPORTED                     = 00000002h
    CSTR_LESS_THAN                   = 1
    CSTR_EQUAL                       = 2
    CSTR_GREATER_THAN                = 3
    CP_MACCP                         = 2
    CP_THREAD_ACP                    = 3
    CP_SYMBOL                        = 42
    CP_UTF7                          = 65000
    CTRY_ALBANIA                     = 355
    CTRY_ALGERIA                     = 213
    CTRY_ARGENTINA                   = 54
    CTRY_ARMENIA                     = 374
    CTRY_AZERBAIJAN                  = 994
    CTRY_BAHRAIN                     = 973
    CTRY_BELARUS                     = 375
    CTRY_BELIZE                      = 501
    CTRY_BOLIVIA                     = 591
    CTRY_BRUNEI_DARUSSALAM           = 673
    CTRY_BULGARIA                    = 359
    CTRY_CARIBBEAN                   = 1
    CTRY_CHILE                       = 56
    CTRY_COLOMBIA                    = 57
    CTRY_COSTA_RICA                  = 506
    CTRY_CROATIA                     = 385
    CTRY_CZECH                       = 420
    CTRY_DOMINICAN_REPUBLIC          = 1
    CTRY_ECUADOR                     = 593
    CTRY_EGYPT                       = 20
    CTRY_EL_SALVADOR                 = 503
    CTRY_ESTONIA                     = 372
    CTRY_FAEROE_ISLANDS              = 298
    CTRY_GEORGIA                     = 995
    CTRY_GREECE                      = 30
    CTRY_GUATEMALA                   = 502
    CTRY_HONDURAS                    = 504
    CTRY_HONG_KONG                   = 852
    CTRY_HUNGARY                     = 36
    CTRY_INDIA                       = 91
    CTRY_INDONESIA                   = 62
    CTRY_IRAN                        = 981
    CTRY_IRAQ                        = 964
    CTRY_ISRAEL                      = 972
    CTRY_JAMAICA                     = 1
    CTRY_JORDAN                      = 962
    CTRY_KAZAKSTAN                   = 7
    CTRY_KENYA                       = 254
    CTRY_KUWAIT                      = 965
    CTRY_KYRGYZSTAN                  = 996
    CTRY_LATVIA                      = 371
    CTRY_LEBANON                     = 961
    CTRY_LIBYA                       = 218
    CTRY_LIECHTENSTEIN               = 41
    CTRY_LITHUANIA                   = 370
    CTRY_LUXEMBOURG                  = 352
    CTRY_MACAU                       = 853
    CTRY_MACEDONIA                   = 389
    CTRY_MALAYSIA                    = 60
    CTRY_MALDIVES                    = 960
    CTRY_MONACO                      = 33
    CTRY_MONGOLIA                    = 976
    CTRY_MOROCCO                     = 212
    CTRY_NICARAGUA                   = 505
    CTRY_OMAN                        = 968
    CTRY_PAKISTAN                    = 92
    CTRY_PANAMA                      = 507
    CTRY_PARAGUAY                    = 595
    CTRY_PERU                        = 51
    CTRY_PHILIPPINES                 = 63
    CTRY_POLAND                      = 48
    CTRY_PUERTO_RICO                 = 1
    CTRY_QATAR                       = 974
    CTRY_ROMANIA                     = 40
    CTRY_RUSSIA                      = 7
    CTRY_SAUDI_ARABIA                = 966
    CTRY_SERBIA                      = 381
    CTRY_SINGAPORE                   = 65
    CTRY_SLOVAK                      = 421
    CTRY_SLOVENIA                    = 386
    CTRY_SOUTH_AFRICA                = 27
    CTRY_SYRIA                       = 963
    CTRY_TATARSTAN                   = 7
    CTRY_THAILAND                    = 66
    CTRY_TRINIDAD_Y_TOBAGO           = 1
    CTRY_TUNISIA                     = 216
    CTRY_TURKEY                      = 90
    CTRY_UAE                         = 971
    CTRY_UKRAINE                     = 380
    CTRY_URUGUAY                     = 598
    CTRY_UZBEKISTAN                  = 7
    CTRY_VENEZUELA                   = 58
    CTRY_VIET_NAM                    = 84
    CTRY_YEMEN                       = 967
    CTRY_ZIMBABWE                    = 263
    LOCALE_USE_CP_ACP                = 40000000h
    LOCALE_RETURN_NUMBER             = 20000000h
    LOCALE_IGEOID                    = 0000005Bh
    LOCALE_IDEFAULTANSICODEPAGE      = 00001004h
    LOCALE_IDEFAULTMACCODEPAGE       = 00001011h
    LOCALE_INEGNUMBER                = 00001010h
    LOCALE_ITIMEMARKPOSN             = 00001005h
    LOCALE_ICALENDARTYPE             = 00001009h
    LOCALE_IOPTIONALCALENDAR         = 0000100Bh
    LOCALE_IFIRSTDAYOFWEEK           = 0000100Ch
    LOCALE_IFIRSTWEEKOFYEAR          = 0000100Dh
    LOCALE_SMONTHNAME13              = 0000100Eh
    LOCALE_FONTSIGNATURE             = 00000058h
    LOCALE_SISO639LANGNAME           = 00000059h
    LOCALE_SISO3166CTRYNAME          = 0000005Ah
    LOCALE_IDEFAULTEBCDICCODEPAGE    = 00001012h
    LOCALE_IPAPERSIZE                = 0000100Ah
    LOCALE_SENGCURRNAME              = 00001007h
    LOCALE_SNATIVECURRNAME           = 00001008h
    LOCALE_SYEARMONTH                = 00001006h
    LOCALE_SSORTNAME                 = 00001013h
    LOCALE_IDIGITSUBSTITUTION        = 00001014h
    LOCALE_SNAME                     = 0000005Ch
    LOCALE_SDURATION                 = 0000005Dh
    LOCALE_SKEYBOARDSTOINSTALL       = 0000005Eh
    LOCALE_SSHORTESTDAYNAME1         = 00000060h
    LOCALE_SSHORTESTDAYNAME2         = 00000061h
    LOCALE_SSHORTESTDAYNAME3         = 00000062h
    LOCALE_SSHORTESTDAYNAME4         = 00000063h
    LOCALE_SSHORTESTDAYNAME5         = 00000064h
    LOCALE_SSHORTESTDAYNAME6         = 00000065h
    LOCALE_SSHORTESTDAYNAME7         = 00000066h
    LOCALE_SISO639LANGNAME2          = 00000067h
    LOCALE_SISO3166CTRYNAME2         = 00000068h
    LOCALE_SNAN                      = 00000069h
    LOCALE_SPOSINFINITY              = 0000006Ah
    LOCALE_SNEGINFINITY              = 0000006Bh
    LOCALE_SSCRIPTS                  = 0000006Ch
    LOCALE_SPARENT                   = 0000006Dh
    LOCALE_SCONSOLEFALLBACKNAME      = 0000006Eh
    LOCALE_SLANGDISPLAYNAME          = 0000006Fh
    DATE_USE_ALT_CALENDAR            = 00000004h
    DATE_YEARMONTH                   = 00000008h
    DATE_LTRREADING                  = 00000010h
    DATE_RTLREADING                  = 00000020h
    CAL_NOUSEROVERRIDE               = 80000000h
    CAL_USE_CP_ACP                   = 40000000h
    CAL_RETURN_NUMBER                = 20000000h
    CAL_SYEARMONTH                   = 0000002Fh
    CAL_ITWODIGITYEARMAX             = 00000030h
    CAL_SSHORTESTDAYNAME1            = 00000031h
    CAL_SSHORTESTDAYNAME2            = 00000032h
    CAL_SSHORTESTDAYNAME3            = 00000033h
    CAL_SSHORTESTDAYNAME4            = 00000034h
    CAL_SSHORTESTDAYNAME5            = 00000035h
    CAL_SSHORTESTDAYNAME6            = 00000036h
    CAL_SSHORTESTDAYNAME7            = 00000037h
    CAL_HIJRI                        = 6
    CAL_THAI                         = 7
    CAL_HEBREW                       = 8
    CAL_GREGORIAN_ME_FRENCH          = 9
    CAL_GREGORIAN_ARABIC             = 10
    CAL_GREGORIAN_XLIT_ENGLISH       = 11
    CAL_GREGORIAN_XLIT_FRENCH        = 12
    CAL_UMALQURA                     = 23
    LGRPID_WESTERN_EUROPE            = 0001h
    LGRPID_CENTRAL_EUROPE            = 0002h
    LGRPID_BALTIC                    = 0003h
    LGRPID_GREEK                     = 0004h
    LGRPID_CYRILLIC                  = 0005h
    LGRPID_TURKIC                    = 0006h
    LGRPID_TURKISH                   = 0006h
    LGRPID_JAPANESE                  = 0007h
    LGRPID_KOREAN                    = 0008h
    LGRPID_TRADITIONAL_CHINESE       = 0009h
    LGRPID_SIMPLIFIED_CHINESE        = 000Ah
    LGRPID_THAI                      = 000Bh
    LGRPID_HEBREW                    = 000Ch
    LGRPID_ARABIC                    = 000Dh
    LGRPID_VIETNAMESE                = 000Eh
    LGRPID_INDIC                     = 000Fh
    LGRPID_GEORGIAN                  = 0010h
    LGRPID_ARMENIAN                  = 0011h
    MUI_LANGUAGE_ID                  = 4h
    MUI_LANGUAGE_NAME                = 8h
    MUI_MERGE_SYSTEM_FALLBACK        = 10h
    MUI_MERGE_USER_FALLBACK          = 20h
    MUI_THREAD_LANGUAGES             = 40h
    MUI_CONSOLE_FILTER               = 100h
    MUI_COMPLEX_SCRIPT_FILTER        = 200h
    MUI_RESET_FILTERS                = 001h
    MUI_USER_PREFERRED_UI_LANGUAGES  = 10h
    MUI_USE_INSTALLED_LANGUAGES      = 20h
    MUI_USE_SEARCH_ALL_LANGUAGES     = 40h
    MUI_LANG_NEUTRAL_PE_FILE         = 100h
    MUI_NON_LANG_NEUTRAL_FILE        = 200h
    MUI_MACHINE_LANGUAGE_SETTINGS    = 400h
    MUI_BYPASS_SESSION_BEHAVIOR      = 80h
    MUI_FILETYPE_NOT_LANGUAGE_NEUTRAL = 001h
    MUI_FILETYPE_LANGUAGE_NEUTRAL_MAIN = 002h
    MUI_FILETYPE_LANGUAGE_NEUTRAL_MUI = 004h
    MUI_QUERY_TYPE                   = 001h
    MUI_QUERY_CHECKSUM               = 002h
    MUI_QUERY_LANGUAGE_NAME          = 004h
    MUI_QUERY_RESOURCE_TYPES         = 008h
    MUI_FILEINFO_VERSION             = 001h
    MUI_SXS_FALLBACK                 = 00010000h
    MUI_FULL_LANGUAGE                = 01h
    MUI_PARTIAL_LANGUAGE             = 02h
    MUI_LIP_LANGUAGE                 = 04h
    MUI_LANGUAGE_INSTALLED           = 20h
    MUI_LANGUAGE_LICENSED            = 40h
    MUI_PUBLIC_LANGUAGE_TYPE_FLAGS_MASK = 67h
    GEOID_NOT_AVAILABLE              = -1
    IDN_ALLOW_UNASSIGNED             = 01h
    IDN_USE_STD3_ASCII_RULES         = 02h
    VS_ALLOW_LATIN                   = 0001h
    GSS_ALLOW_INHERITED_COMMON       = 0001h
    LOCALE_NAME_USER_DEFAULT         = NULL
    LOCALE_NAME_INVARIANT            equ "";L
    LOCALE_NAME_SYSTEM_DEFAULT       equ "!x-sys-default-locale";L
    VS_FILE_INFO                     = 16
    VOS_WINCE                        = 00050000h
    VFT2_DRV_VERSIONED_PRINTER       = 0000000Ch
    VIF_CANNOTLOADLZ32               = 00080000h
    VIF_CANNOTLOADCABINET            = 00100000h
    FILE_VER_GET_LOCALISED           = 01h
    FILE_VER_GET_NEUTRAL             = 02h
    RRF_RT_REG_NONE                  = 00000001h
    RRF_RT_REG_SZ                    = 00000002h
    RRF_RT_REG_EXPAND_SZ             = 00000004h
    RRF_RT_REG_BINARY                = 00000008h
    RRF_RT_REG_DWORD                 = 00000010h
    RRF_RT_REG_MULTI_SZ              = 00000020h
    RRF_RT_REG_QWORD                 = 00000040h
    RRF_RT_ANY                       = 0000FFFFh
    RRF_NOEXPAND                     = 10000000h
    RRF_ZEROONFAILURE                = 20000000h
    REG_PROCESS_APPKEY               = 00000001h
    REG_MUI_STRING_TRUNCATE          = 00000001h
    REG_SECURE_CONNECTION            = 1
    PROVIDER_KEEPS_VALUE_LENGTH      = 1h
    MAX_SHUTDOWN_TIMEOUT             = 10*365*24*60*60
    SHUTDOWN_FORCE_OTHERS            = 00000001h
    SHUTDOWN_FORCE_SELF              = 00000002h
    SHUTDOWN_RESTART                 = 00000004h
    SHUTDOWN_POWEROFF                = 00000008h
    SHUTDOWN_NOREBOOT                = 00000010h
    SHUTDOWN_GRACE_OVERRIDE          = 00000020h
    SHUTDOWN_INSTALL_UPDATES         = 00000040h
    SHUTDOWN_RESTARTAPPS             = 00000080h
    WNNC_NET_MSNET                   = 00010000h
    WNNC_NET_LANMAN                  = 00020000h
    WNNC_NET_NETWARE                 = 00030000h
    WNNC_NET_VINES                   = 00040000h
    WNNC_NET_10NET                   = 00050000h
    WNNC_NET_LOCUS                   = 00060000h
    WNNC_NET_SUN_PC_NFS              = 00070000h
    WNNC_NET_LANSTEP                 = 00080000h
    WNNC_NET_9TILES                  = 00090000h
    WNNC_NET_LANTASTIC               = 000A0000h
    WNNC_NET_AS400                   = 000B0000h
    WNNC_NET_FTP_NFS                 = 000C0000h
    WNNC_NET_PATHWORKS               = 000D0000h
    WNNC_NET_LIFENET                 = 000E0000h
    WNNC_NET_POWERLAN                = 000F0000h
    WNNC_NET_BWNFS                   = 00100000h
    WNNC_NET_COGENT                  = 00110000h
    WNNC_NET_FARALLON                = 00120000h
    WNNC_NET_APPLETALK               = 00130000h
    WNNC_NET_INTERGRAPH              = 00140000h
    WNNC_NET_SYMFONET                = 00150000h
    WNNC_NET_CLEARCASE               = 00160000h
    WNNC_NET_FRONTIER                = 00170000h
    WNNC_NET_BMC                     = 00180000h
    WNNC_NET_DCE                     = 00190000h
    WNNC_NET_AVID                    = 001A0000h
    WNNC_NET_DOCUSPACE               = 001B0000h
    WNNC_NET_MANGOSOFT               = 001C0000h
    WNNC_NET_SERNET                  = 001D0000h
    WNNC_NET_RIVERFRONT1             = 001E0000h
    WNNC_NET_RIVERFRONT2             = 001F0000h
    WNNC_NET_DECORB                  = 00200000h
    WNNC_NET_PROTSTOR                = 00210000h
    WNNC_NET_FJ_REDIR                = 00220000h
    WNNC_NET_DISTINCT                = 00230000h
    WNNC_NET_TWINS                   = 00240000h
    WNNC_NET_RDR2SAMPLE              = 00250000h
    WNNC_NET_CSC                     = 00260000h
    WNNC_NET_3IN1                    = 00270000h
    WNNC_NET_EXTENDNET               = 00290000h
    WNNC_NET_STAC                    = 002A0000h
    WNNC_NET_FOXBAT                  = 002B0000h
    WNNC_NET_YAHOO                   = 002C0000h
    WNNC_NET_EXIFS                   = 002D0000h
    WNNC_NET_DAV                     = 002E0000h
    WNNC_NET_KNOWARE                 = 002F0000h
    WNNC_NET_OBJECT_DIRE             = 00300000h
    WNNC_NET_MASFAX                  = 00310000h
    WNNC_NET_HOB_NFS                 = 00320000h
    WNNC_NET_SHIVA                   = 00330000h
    WNNC_NET_IBMAL                   = 00340000h
    WNNC_NET_LOCK                    = 00350000h
    WNNC_NET_TERMSRV                 = 00360000h
    WNNC_NET_SRT                     = 00370000h
    WNNC_NET_QUINCY                  = 00380000h
    WNNC_NET_OPENAFS                 = 00390000h
    WNNC_NET_AVID1                   = 003A0000h
    WNNC_NET_DFS                     = 003B0000h
    WNNC_NET_KWNP                    = 003C0000h
    WNNC_NET_ZENWORKS                = 003D0000h
    WNNC_NET_DRIVEONWEB              = 003E0000h
    WNNC_NET_VMWARE                  = 003F0000h
    WNNC_NET_RSFX                    = 00400000h
    WNNC_NET_MFILES                  = 00410000h
    WNNC_NET_MS_NFS                  = 00420000h
    WNNC_NET_GOOGLE                  = 00430000h
    WNNC_CRED_MANAGER                = 0FFFF0000h
    RESOURCETYPE_RESERVED            = 00000008h
    RESOURCEUSAGE_NOLOCALDEVICE      = 00000004h
    RESOURCEUSAGE_SIBLING            = 00000008h
    RESOURCEUSAGE_ATTACHED           = 00000010h
    RESOURCEDISPLAYTYPE_NETWORK      = 00000006h
    RESOURCEDISPLAYTYPE_ROOT         = 00000007h
    RESOURCEDISPLAYTYPE_SHAREADMIN   = 00000008h
    RESOURCEDISPLAYTYPE_DIRECTORY    = 00000009h
    RESOURCEDISPLAYTYPE_TREE         = 0000000Ah
    RESOURCEDISPLAYTYPE_NDSCONTAINER = 0000000Bh
    NETPROPERTY_PERSISTENT           = 1
    CONNECT_UPDATE_RECENT            = 00000002h
    CONNECT_TEMPORARY                = 00000004h
    CONNECT_INTERACTIVE              = 00000008h
    CONNECT_PROMPT                   = 00000010h
    CONNECT_NEED_DRIVE               = 00000020h
    CONNECT_REFCOUNT                 = 00000040h
    CONNECT_REDIRECT                 = 00000080h
    CONNECT_LOCALDRIVE               = 00000100h
    CONNECT_CURRENT_MEDIA            = 00000200h
    CONNECT_DEFERRED                 = 00000400h
    CONNECT_RESERVED                 = 0FF000000h
    CONNECT_COMMANDLINE              = 00000800h
    CONNECT_CMD_SAVECRED             = 00001000h
    CONNECT_CRED_RESET               = 00002000h
    CONNDLG_RO_PATH                  = 00000001h
    CONNDLG_CONN_POINT               = 00000002h
    CONNDLG_USE_MRU                  = 00000004h
    CONNDLG_HIDE_BOX                 = 00000008h
    CONNDLG_PERSIST                  = 00000010h
    CONNDLG_NOT_PERSIST              = 00000020h
    DISC_UPDATE_PROFILE              = 00000001h
    DISC_NO_FORCE                    = 00000040h
    UNIVERSAL_NAME_INFO_LEVEL        = 00000001h
    REMOTE_NAME_INFO_LEVEL           = 00000002h
    WNFMT_MULTILINE                  = 01h
    WNFMT_ABBREVIATED                = 02h
    WNFMT_INENUM                     = 10h
    WNFMT_CONNECTION                 = 20h
    NETINFO_DLL16                    = 00000001h
    NETINFO_DISKRED                  = 00000004h
    NETINFO_PRINTERRED               = 00000008h
    WNCON_FORNETCARD                 = 00000001h
    WNCON_NOTROUTED                  = 00000002h
    WNCON_SLOWLINK                   = 00000004h
    WNCON_DYNAMIC                    = 00000008h
    ;EXPENTRY                         = CALLBACK
    MSGF_DDEMGR                      = 8001h
    CP_WINNEUTRAL                    = 1200
    SZDDESYS_TOPIC                   equ "System";L
    SZDDESYS_ITEM_TOPICS             equ "Topics";L
    SZDDESYS_ITEM_SYSITEMS           equ "SysItems";L
    SZDDESYS_ITEM_RTNMSG             equ "ReturnMessage";L
    SZDDESYS_ITEM_STATUS             equ "Status";L
    SZDDESYS_ITEM_FORMATS            equ "Formats";L
    SZDDESYS_ITEM_HELP               equ "Help";L
    SZDDE_ITEM_ITEMLIST              equ "TopicItemList";L
    ctl1                             = 04A0h
    MW_BIG_FILEOPENORD               = 10000
    MW_BIG_MULTIFILEOPENORD          = 10001
    FILEOPENORDMOTIF                 = 10003
    PRINTDLGORDMOTIF                 = 10004
    FINDDLGORDMOTIF                  = 10005
    RUNDLGORD                        = 1545
    PAGESETUPDLGORD                  = 1546
    NEWFILEOPENORD                   = 1547
    PRINTDLGEXORD                    = 1549
    PAGESETUPDLGORDMOTIF             = 1550
    COLORMGMTDLGORD                  = 1551
    NEWFILEOPENV2ORD                 = 1552
    NEWFILEOPENV3ORD                 = 1553
    LZERROR_GLOBALLOC                = -5
    SND_SENTRY                       = 00080000h
    SND_SYSTEM                       = 00200000h
    ALL_TRANSPORTS                   equ "M\0\0\0"
    MS_NBF                           equ "MNBF"
    WC_NETADDRESS                    equ "msctls_netaddress";L
    PERF_COUNTER_PRECISION           = 00070000h
    MAX_PERF_OBJECTS_IN_QUERY_FUNCTION = 64
    WINPERF_LOG_NONE                 = 0
    WINPERF_LOG_USER                 = 1
    WINPERF_LOG_DEBUG                = 2
    WINPERF_LOG_VERBOSE              = 3
    IP_OPTIONS                       = 1
    IP_MULTICAST_IF                  = 2
    IP_MULTICAST_TTL                 = 3
    IP_MULTICAST_LOOP                = 4
    IP_ADD_MEMBERSHIP                = 5
    IP_DROP_MEMBERSHIP               = 6
    IP_TTL                           = 7
    IP_TOS                           = 8
    IP_DONTFRAGMENT                  = 9
    IP_DEFAULT_MULTICAST_TTL         = 1
    IP_DEFAULT_MULTICAST_LOOP        = 1
    IP_MAX_MEMBERSHIPS               = 20
    SO_CONNDATA                      = 7000h
    SO_CONNOPT                       = 7001h
    SO_DISCDATA                      = 7002h
    SO_DISCOPT                       = 7003h
    SO_CONNDATALEN                   = 7004h
    SO_CONNOPTLEN                    = 7005h
    SO_DISCDATALEN                   = 7006h
    SO_DISCOPTLEN                    = 7007h
    SO_OPENTYPE                      = 7008h
    SO_SYNCHRONOUS_ALERT             = 10h
    SO_SYNCHRONOUS_NONALERT          = 20h
    SO_MAXDG                         = 7009h
    SO_MAXPATHDG                     = 700Ah
    SO_UPDATE_ACCEPT_CONTEXT         = 700Bh
    SO_CONNECT_TIME                  = 700Ch
    TCP_BSDURGENT                    = 7000h
    h_errno                          fix WSAGetLastError
    TF_DISCONNECT                    = 01h
    TF_REUSE_SOCKET                  = 02h
    TF_WRITE_BEHIND                  = 04h
    ALG_SID_ECDSA                    = 3
    ALG_SID_ECDH                     = 5
    ALG_SID_ECMQV                    = 1
    SIGNATURE_RESOURCE_NUMBER        = 29Ah
    CRYPT_DEFAULT_CONTAINER_OPTIONAL = 00000080h
    CRYPT_FORCE_KEY_PROTECTION_HIGH  = 00008000h
    KEYSTATEBLOB                     = 0Ch
    PP_USER_CERTSTORE                = 42
    PP_SMARTCARD_READER              = 43
    PP_SMARTCARD_GUID                = 45
    PP_ROOT_CERTSTORE                = 46
    PP_PIN_PROMPT_STRING             = 44
    PROV_STT_MER                     = 7
    PROV_STT_ACQ                     = 8
    PROV_STT_BRND                    = 9
    PROV_STT_ROOT                    = 10
    PROV_STT_ISS                     = 11
    EXPO_OFFLOAD_REG_VALUE           equ "ExpoOffload"
    EXPO_OFFLOAD_FUNC_NAME           equ "OffloadModExpo"
    szKEY_CRYPTOAPI_PRIVATE_KEY_OPTIONS equ "Software\\Policies\\Microsoft\\Cryptography"
    szFORCE_KEY_PROTECTION           equ "ForceKeyProtection"
    szKEY_CACHE_ENABLED              equ "CachePrivateKeys"
    szKEY_CACHE_SECONDS              equ "PrivateKeyLifetimeSeconds"
    szPRIV_KEY_CACHE_MAX_ITEMS       equ "PrivKeyCacheMaxItems"
    cPRIV_KEY_CACHE_MAX_ITEMS_DEFAULT = 20
    szPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS equ "PrivKeyCachePurgeIntervalSeconds"
    cPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS_DEFAULT = 86400
    CRYPTLIMIT_USING_PCT             = 0001h
    CRYPTLIMIT_USING_SGC             = 0002h
    szOID_RSA                        equ "1.2.840.113549"
    szOID_PKCS                       equ "1.2.840.113549.1"
    szOID_RSA_HASH                   equ "1.2.840.113549.2"
    szOID_RSA_ENCRYPT                equ "1.2.840.113549.3"
    szOID_PKCS_1                     equ "1.2.840.113549.1.1"
    szOID_PKCS_2                     equ "1.2.840.113549.1.2"
    szOID_PKCS_3                     equ "1.2.840.113549.1.3"
    szOID_PKCS_4                     equ "1.2.840.113549.1.4"
    szOID_PKCS_5                     equ "1.2.840.113549.1.5"
    szOID_PKCS_6                     equ "1.2.840.113549.1.6"
    szOID_PKCS_7                     equ "1.2.840.113549.1.7"
    szOID_PKCS_8                     equ "1.2.840.113549.1.8"
    szOID_PKCS_9                     equ "1.2.840.113549.1.9"
    szOID_PKCS_10                    equ "1.2.840.113549.1.10"
    szOID_PKCS_12                    equ "1.2.840.113549.1.12"
    szOID_RSA_RSA                    equ "1.2.840.113549.1.1.1"
    szOID_RSA_MD2RSA                 equ "1.2.840.113549.1.1.2"
    szOID_RSA_MD4RSA                 equ "1.2.840.113549.1.1.3"
    szOID_RSA_MD5RSA                 equ "1.2.840.113549.1.1.4"
    szOID_RSA_SHA1RSA                equ "1.2.840.113549.1.1.5"
    szOID_RSA_SETOAEP_RSA            equ "1.2.840.113549.1.1.6"
    szOID_RSAES_OAEP                 equ "1.2.840.113549.1.1.7"
    szOID_RSA_MGF1                   equ "1.2.840.113549.1.1.8"
    szOID_RSA_PSPECIFIED             equ "1.2.840.113549.1.1.9"
    szOID_RSA_SSA_PSS                equ "1.2.840.113549.1.1.10"
    szOID_RSA_SHA256RSA              equ "1.2.840.113549.1.1.11"
    szOID_RSA_SHA384RSA              equ "1.2.840.113549.1.1.12"
    szOID_RSA_SHA512RSA              equ "1.2.840.113549.1.1.13"
    szOID_RSA_DH                     equ "1.2.840.113549.1.3.1"
    szOID_RSA_data                   equ "1.2.840.113549.1.7.1"
    szOID_RSA_signedData             equ "1.2.840.113549.1.7.2"
    szOID_RSA_envelopedData          equ "1.2.840.113549.1.7.3"
    szOID_RSA_signEnvData            equ "1.2.840.113549.1.7.4"
    szOID_RSA_digestedData           equ "1.2.840.113549.1.7.5"
    szOID_RSA_hashedData             equ "1.2.840.113549.1.7.5"
    szOID_RSA_encryptedData          equ "1.2.840.113549.1.7.6"
    szOID_RSA_emailAddr              equ "1.2.840.113549.1.9.1"
    szOID_RSA_unstructName           equ "1.2.840.113549.1.9.2"
    szOID_RSA_contentType            equ "1.2.840.113549.1.9.3"
    szOID_RSA_messageDigest          equ "1.2.840.113549.1.9.4"
    szOID_RSA_signingTime            equ "1.2.840.113549.1.9.5"
    szOID_RSA_counterSign            equ "1.2.840.113549.1.9.6"
    szOID_RSA_challengePwd           equ "1.2.840.113549.1.9.7"
    szOID_RSA_unstructAddr           equ "1.2.840.113549.1.9.8"
    szOID_RSA_extCertAttrs           equ "1.2.840.113549.1.9.9"
    szOID_RSA_certExtensions         equ "1.2.840.113549.1.9.14"
    szOID_RSA_SMIMECapabilities      equ "1.2.840.113549.1.9.15"
    szOID_RSA_preferSignedData       equ "1.2.840.113549.1.9.15.1"
    szOID_RSA_SMIMEalg               equ "1.2.840.113549.1.9.16.3"
    szOID_RSA_SMIMEalgESDH           equ "1.2.840.113549.1.9.16.3.5"
    szOID_RSA_SMIMEalgCMS3DESwrap    equ "1.2.840.113549.1.9.16.3.6"
    szOID_RSA_SMIMEalgCMSRC2wrap     equ "1.2.840.113549.1.9.16.3.7"
    szOID_RSA_MD2                    equ "1.2.840.113549.2.2"
    szOID_RSA_MD4                    equ "1.2.840.113549.2.4"
    szOID_RSA_MD5                    equ "1.2.840.113549.2.5"
    szOID_RSA_RC2CBC                 equ "1.2.840.113549.3.2"
    szOID_RSA_RC4                    equ "1.2.840.113549.3.4"
    szOID_RSA_DES_EDE3_CBC           equ "1.2.840.113549.3.7"
    szOID_RSA_RC5_CBCPad             equ "1.2.840.113549.3.9"
    szOID_ANSI_X942                  equ "1.2.840.10046"
    szOID_ANSI_X942_DH               equ "1.2.840.10046.2.1"
    szOID_X957                       equ "1.2.840.10040"
    szOID_X957_DSA                   equ "1.2.840.10040.4.1"
    szOID_X957_SHA1DSA               equ "1.2.840.10040.4.3"
    szOID_ECC_PUBLIC_KEY             equ "1.2.840.10045.2.1"
    szOID_ECC_CURVE_P256             equ "1.2.840.10045.3.1.7"
    szOID_ECC_CURVE_P384             equ "1.3.132.0.34"
    szOID_ECC_CURVE_P521             equ "1.3.132.0.35"
    szOID_ECDSA_SHA1                 equ "1.2.840.10045.4.1"
    szOID_ECDSA_SPECIFIED            equ "1.2.840.10045.4.3"
    szOID_ECDSA_SHA256               equ "1.2.840.10045.4.3.2"
    szOID_ECDSA_SHA384               equ "1.2.840.10045.4.3.3"
    szOID_ECDSA_SHA512               equ "1.2.840.10045.4.3.4"
    szOID_NIST_AES128_CBC            equ "2.16.840.1.101.3.4.1.2"
    szOID_NIST_AES192_CBC            equ "2.16.840.1.101.3.4.1.22"
    szOID_NIST_AES256_CBC            equ "2.16.840.1.101.3.4.1.42"
    szOID_NIST_AES128_WRAP           equ "2.16.840.1.101.3.4.1.5"
    szOID_NIST_AES192_WRAP           equ "2.16.840.1.101.3.4.1.25"
    szOID_NIST_AES256_WRAP           equ "2.16.840.1.101.3.4.1.45"
    szOID_DH_SINGLE_PASS_STDDH_SHA1_KDF equ "1.3.133.16.840.63.0.2"
    szOID_DS                         equ "2.5"
    szOID_DSALG                      equ "2.5.8"
    szOID_DSALG_CRPT                 equ "2.5.8.1"
    szOID_DSALG_HASH                 equ "2.5.8.2"
    szOID_DSALG_SIGN                 equ "2.5.8.3"
    szOID_DSALG_RSA                  equ "2.5.8.1.1"
    szOID_OIW                        equ "1.3.14"
    szOID_OIWSEC                     equ "1.3.14.3.2"
    szOID_OIWSEC_md4RSA              equ "1.3.14.3.2.2"
    szOID_OIWSEC_md5RSA              equ "1.3.14.3.2.3"
    szOID_OIWSEC_md4RSA2             equ "1.3.14.3.2.4"
    szOID_OIWSEC_desECB              equ "1.3.14.3.2.6"
    szOID_OIWSEC_desCBC              equ "1.3.14.3.2.7"
    szOID_OIWSEC_desOFB              equ "1.3.14.3.2.8"
    szOID_OIWSEC_desCFB              equ "1.3.14.3.2.9"
    szOID_OIWSEC_desMAC              equ "1.3.14.3.2.10"
    szOID_OIWSEC_rsaSign             equ "1.3.14.3.2.11"
    szOID_OIWSEC_dsa                 equ "1.3.14.3.2.12"
    szOID_OIWSEC_shaDSA              equ "1.3.14.3.2.13"
    szOID_OIWSEC_mdc2RSA             equ "1.3.14.3.2.14"
    szOID_OIWSEC_shaRSA              equ "1.3.14.3.2.15"
    szOID_OIWSEC_dhCommMod           equ "1.3.14.3.2.16"
    szOID_OIWSEC_desEDE              equ "1.3.14.3.2.17"
    szOID_OIWSEC_sha                 equ "1.3.14.3.2.18"
    szOID_OIWSEC_mdc2                equ "1.3.14.3.2.19"
    szOID_OIWSEC_dsaComm             equ "1.3.14.3.2.20"
    szOID_OIWSEC_dsaCommSHA          equ "1.3.14.3.2.21"
    szOID_OIWSEC_rsaXchg             equ "1.3.14.3.2.22"
    szOID_OIWSEC_keyHashSeal         equ "1.3.14.3.2.23"
    szOID_OIWSEC_md2RSASign          equ "1.3.14.3.2.24"
    szOID_OIWSEC_md5RSASign          equ "1.3.14.3.2.25"
    szOID_OIWSEC_sha1                equ "1.3.14.3.2.26"
    szOID_OIWSEC_dsaSHA1             equ "1.3.14.3.2.27"
    szOID_OIWSEC_dsaCommSHA1         equ "1.3.14.3.2.28"
    szOID_OIWSEC_sha1RSASign         equ "1.3.14.3.2.29"
    szOID_OIWDIR                     equ "1.3.14.7.2"
    szOID_OIWDIR_CRPT                equ "1.3.14.7.2.1"
    szOID_OIWDIR_HASH                equ "1.3.14.7.2.2"
    szOID_OIWDIR_SIGN                equ "1.3.14.7.2.3"
    szOID_OIWDIR_md2                 equ "1.3.14.7.2.2.1"
    szOID_OIWDIR_md2RSA              equ "1.3.14.7.2.3.1"
    szOID_INFOSEC                    equ "2.16.840.1.101.2.1"
    szOID_INFOSEC_sdnsSignature      equ "2.16.840.1.101.2.1.1.1"
    szOID_INFOSEC_mosaicSignature    equ "2.16.840.1.101.2.1.1.2"
    szOID_INFOSEC_sdnsConfidentiality equ "2.16.840.1.101.2.1.1.3"
    szOID_INFOSEC_mosaicConfidentiality equ "2.16.840.1.101.2.1.1.4"
    szOID_INFOSEC_sdnsIntegrity      equ "2.16.840.1.101.2.1.1.5"
    szOID_INFOSEC_mosaicIntegrity    equ "2.16.840.1.101.2.1.1.6"
    szOID_INFOSEC_sdnsTokenProtection equ "2.16.840.1.101.2.1.1.7"
    szOID_INFOSEC_mosaicTokenProtection equ "2.16.840.1.101.2.1.1.8"
    szOID_INFOSEC_sdnsKeyManagement  equ "2.16.840.1.101.2.1.1.9"
    szOID_INFOSEC_mosaicKeyManagement equ "2.16.840.1.101.2.1.1.10"
    szOID_INFOSEC_sdnsKMandSig       equ "2.16.840.1.101.2.1.1.11"
    szOID_INFOSEC_mosaicKMandSig     equ "2.16.840.1.101.2.1.1.12"
    szOID_INFOSEC_SuiteASignature    equ "2.16.840.1.101.2.1.1.13"
    szOID_INFOSEC_SuiteAConfidentiality equ "2.16.840.1.101.2.1.1.14"
    szOID_INFOSEC_SuiteAIntegrity    equ "2.16.840.1.101.2.1.1.15"
    szOID_INFOSEC_SuiteATokenProtection equ "2.16.840.1.101.2.1.1.16"
    szOID_INFOSEC_SuiteAKeyManagement equ "2.16.840.1.101.2.1.1.17"
    szOID_INFOSEC_SuiteAKMandSig     equ "2.16.840.1.101.2.1.1.18"
    szOID_INFOSEC_mosaicUpdatedSig   equ "2.16.840.1.101.2.1.1.19"
    szOID_INFOSEC_mosaicKMandUpdSig  equ "2.16.840.1.101.2.1.1.20"
    szOID_INFOSEC_mosaicUpdatedInteg equ "2.16.840.1.101.2.1.1.21"
    szOID_NIST_sha256                equ "2.16.840.1.101.3.4.2.1"
    szOID_NIST_sha384                equ "2.16.840.1.101.3.4.2.2"
    szOID_NIST_sha512                equ "2.16.840.1.101.3.4.2.3"
    szOID_COMMON_NAME                equ "2.5.4.3"
    szOID_SUR_NAME                   equ "2.5.4.4"
    szOID_DEVICE_SERIAL_NUMBER       equ "2.5.4.5"
    szOID_COUNTRY_NAME               equ "2.5.4.6"
    szOID_LOCALITY_NAME              equ "2.5.4.7"
    szOID_STATE_OR_PROVINCE_NAME     equ "2.5.4.8"
    szOID_STREET_ADDRESS             equ "2.5.4.9"
    szOID_ORGANIZATION_NAME          equ "2.5.4.10"
    szOID_ORGANIZATIONAL_UNIT_NAME   equ "2.5.4.11"
    szOID_TITLE                      equ "2.5.4.12"
    szOID_DESCRIPTION                equ "2.5.4.13"
    szOID_SEARCH_GUIDE               equ "2.5.4.14"
    szOID_BUSINESS_CATEGORY          equ "2.5.4.15"
    szOID_POSTAL_ADDRESS             equ "2.5.4.16"
    szOID_POSTAL_CODE                equ "2.5.4.17"
    szOID_POST_OFFICE_BOX            equ "2.5.4.18"
    szOID_PHYSICAL_DELIVERY_OFFICE_NAME equ "2.5.4.19"
    szOID_TELEPHONE_NUMBER           equ "2.5.4.20"
    szOID_TELEX_NUMBER               equ "2.5.4.21"
    szOID_TELETEXT_TERMINAL_IDENTIFIER equ "2.5.4.22"
    szOID_FACSIMILE_TELEPHONE_NUMBER equ "2.5.4.23"
    szOID_X21_ADDRESS                equ "2.5.4.24"
    szOID_INTERNATIONAL_ISDN_NUMBER  equ "2.5.4.25"
    szOID_REGISTERED_ADDRESS         equ "2.5.4.26"
    szOID_DESTINATION_INDICATOR      equ "2.5.4.27"
    szOID_PREFERRED_DELIVERY_METHOD  equ "2.5.4.28"
    szOID_PRESENTATION_ADDRESS       equ "2.5.4.29"
    szOID_SUPPORTED_APPLICATION_CONTEXT equ "2.5.4.30"
    szOID_MEMBER                     equ "2.5.4.31"
    szOID_OWNER                      equ "2.5.4.32"
    szOID_ROLE_OCCUPANT              equ "2.5.4.33"
    szOID_SEE_ALSO                   equ "2.5.4.34"
    szOID_USER_PASSWORD              equ "2.5.4.35"
    szOID_USER_CERTIFICATE           equ "2.5.4.36"
    szOID_CA_CERTIFICATE             equ "2.5.4.37"
    szOID_AUTHORITY_REVOCATION_LIST  equ "2.5.4.38"
    szOID_CERTIFICATE_REVOCATION_LIST equ "2.5.4.39"
    szOID_CROSS_CERTIFICATE_PAIR     equ "2.5.4.40"
    szOID_GIVEN_NAME                 equ "2.5.4.42"
    szOID_INITIALS                   equ "2.5.4.43"
    szOID_DN_QUALIFIER               equ "2.5.4.46"
    szOID_DOMAIN_COMPONENT           equ "0.9.2342.19200300.100.1.25"
    szOID_PKCS_12_FRIENDLY_NAME_ATTR equ "1.2.840.113549.1.9.20"
    szOID_PKCS_12_LOCAL_KEY_ID       equ "1.2.840.113549.1.9.21"
    szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR equ "1.3.6.1.4.1.311.17.1"
    szOID_LOCAL_MACHINE_KEYSET       equ "1.3.6.1.4.1.311.17.2"
    szOID_PKCS_12_EXTENDED_ATTRIBUTES equ "1.3.6.1.4.1.311.17.3"
    szOID_KEYID_RDN                  equ "1.3.6.1.4.1.311.10.7.1"
    CERT_RDN_FORCE_UTF8_UNICODE_FLAG = 10000000h
    CERT_RSA_PUBLIC_KEY_OBJID        equ "1.2.840.113549.1.1.1"
    CERT_DEFAULT_OID_PUBLIC_KEY_SIGN equ "1.2.840.113549.1.1.1"
    CERT_DEFAULT_OID_PUBLIC_KEY_XCHG equ "1.2.840.113549.1.1.1"
    CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG = 80000000h
    CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG = 20000000h
    CRYPT_UNICODE_NAME_ENCODE_FORCE_UTF8_UNICODE_FLAG = 10000000h
    CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG = 40000000h
    CRYPT_UNICODE_NAME_DECODE_DISABLE_IE4_UTF8_FLAG = 01000000h
    szOID_AUTHORITY_KEY_IDENTIFIER   equ "2.5.29.1"
    szOID_KEY_ATTRIBUTES             equ "2.5.29.2"
    szOID_CERT_POLICIES_95           equ "2.5.29.3"
    szOID_KEY_USAGE_RESTRICTION      equ "2.5.29.4"
    szOID_SUBJECT_ALT_NAME           equ "2.5.29.7"
    szOID_ISSUER_ALT_NAME            equ "2.5.29.8"
    szOID_KEY_USAGE                  equ "2.5.29.15"
    szOID_PRIVATEKEY_USAGE_PERIOD    equ "2.5.29.16"
    szOID_CERT_POLICIES              equ "2.5.29.32"
    szOID_ANY_CERT_POLICY            equ "2.5.29.32.0"
    szOID_INHIBIT_ANY_POLICY         equ "2.5.29.54"
    szOID_AUTHORITY_KEY_IDENTIFIER2  equ "2.5.29.35"
    szOID_SUBJECT_KEY_IDENTIFIER     equ "2.5.29.14"
    szOID_SUBJECT_ALT_NAME2          equ "2.5.29.17"
    szOID_ISSUER_ALT_NAME2           equ "2.5.29.18"
    szOID_CRL_REASON_CODE            equ "2.5.29.21"
    szOID_REASON_CODE_HOLD           equ "2.5.29.23"
    szOID_CRL_DIST_POINTS            equ "2.5.29.31"
    szOID_ENHANCED_KEY_USAGE         equ "2.5.29.37"
    szOID_ANY_ENHANCED_KEY_USAGE     equ "2.5.29.37.0"
    szOID_CRL_NUMBER                 equ "2.5.29.20"
    szOID_DELTA_CRL_INDICATOR        equ "2.5.29.27"
    szOID_ISSUING_DIST_POINT         equ "2.5.29.28"
    szOID_FRESHEST_CRL               equ "2.5.29.46"
    szOID_POLICY_MAPPINGS            equ "2.5.29.33"
    szOID_LEGACY_POLICY_MAPPINGS     equ "2.5.29.5"
    szOID_RENEWAL_CERTIFICATE        equ "1.3.6.1.4.1.311.13.1"
    szOID_ENROLLMENT_NAME_VALUE_PAIR equ "1.3.6.1.4.1.311.13.2.1"
    szOID_ENROLLMENT_CSP_PROVIDER    equ "1.3.6.1.4.1.311.13.2.2"
    szOID_OS_VERSION                 equ "1.3.6.1.4.1.311.13.2.3"
    szOID_ENROLLMENT_AGENT           equ "1.3.6.1.4.1.311.20.2.1"
    szOID_PKIX                       equ "1.3.6.1.5.5.7"
    szOID_PKIX_PE                    equ "1.3.6.1.5.5.7.1"
    szOID_AUTHORITY_INFO_ACCESS      equ "1.3.6.1.5.5.7.1.1"
    szOID_SUBJECT_INFO_ACCESS        equ "1.3.6.1.5.5.7.1.11"
    szOID_BIOMETRIC_EXT              equ "1.3.6.1.5.5.7.1.2"
    szOID_QC_STATEMENTS_EXT          equ "1.3.6.1.5.5.7.1.3"
    szOID_LOGOTYPE_EXT               equ "1.3.6.1.5.5.7.1.12"
    szOID_CERT_EXTENSIONS            equ "1.3.6.1.4.1.311.2.1.14"
    szOID_NEXT_UPDATE_LOCATION       equ "1.3.6.1.4.1.311.10.2"
    szOID_REMOVE_CERTIFICATE         equ "1.3.6.1.4.1.311.10.8.1"
    szOID_CROSS_CERT_DIST_POINTS     equ "1.3.6.1.4.1.311.10.9.1"
    szOID_CTL                        equ "1.3.6.1.4.1.311.10.1"
    szOID_SORTED_CTL                 equ "1.3.6.1.4.1.311.10.1.1"
    szOID_SERIALIZED                 equ "1.3.6.1.4.1.311.10.3.3.1"
    szOID_NT_PRINCIPAL_NAME          equ "1.3.6.1.4.1.311.20.2.3"
    szOID_PRODUCT_UPDATE             equ "1.3.6.1.4.1.311.31.1"
    szOID_ANY_APPLICATION_POLICY     equ "1.3.6.1.4.1.311.10.12.1"
    szOID_AUTO_ENROLL_CTL_USAGE      equ "1.3.6.1.4.1.311.20.1"
    szOID_ENROLL_CERTTYPE_EXTENSION  equ "1.3.6.1.4.1.311.20.2"
    szOID_CERT_MANIFOLD              equ "1.3.6.1.4.1.311.20.3"
    szOID_CERTSRV_CA_VERSION         equ "1.3.6.1.4.1.311.21.1"
    szOID_CERTSRV_PREVIOUS_CERT_HASH equ "1.3.6.1.4.1.311.21.2"
    szOID_CRL_VIRTUAL_BASE           equ "1.3.6.1.4.1.311.21.3"
    szOID_CRL_NEXT_PUBLISH           equ "1.3.6.1.4.1.311.21.4"
    szOID_KP_CA_EXCHANGE             equ "1.3.6.1.4.1.311.21.5"
    szOID_KP_KEY_RECOVERY_AGENT      equ "1.3.6.1.4.1.311.21.6"
    szOID_CERTIFICATE_TEMPLATE       equ "1.3.6.1.4.1.311.21.7"
    szOID_ENTERPRISE_OID_ROOT        equ "1.3.6.1.4.1.311.21.8"
    szOID_RDN_DUMMY_SIGNER           equ "1.3.6.1.4.1.311.21.9"
    szOID_APPLICATION_CERT_POLICIES  equ "1.3.6.1.4.1.311.21.10"
    szOID_APPLICATION_POLICY_MAPPINGS equ "1.3.6.1.4.1.311.21.11"
    szOID_ARCHIVED_KEY_ATTR          equ "1.3.6.1.4.1.311.21.13"
    szOID_CRL_SELF_CDP               equ "1.3.6.1.4.1.311.21.14"
    szOID_REQUIRE_CERT_CHAIN_POLICY  equ "1.3.6.1.4.1.311.21.15"
    szOID_ARCHIVED_KEY_CERT_HASH     equ "1.3.6.1.4.1.311.21.16"
    szOID_ISSUED_CERT_HASH           equ "1.3.6.1.4.1.311.21.17"
    szOID_DS_EMAIL_REPLICATION       equ "1.3.6.1.4.1.311.21.19"
    szOID_REQUEST_CLIENT_INFO        equ "1.3.6.1.4.1.311.21.20"
    szOID_ENCRYPTED_KEY_HASH         equ "1.3.6.1.4.1.311.21.21"
    szOID_CERTSRV_CROSSCA_VERSION    equ "1.3.6.1.4.1.311.21.22"
    szOID_NTDS_REPLICATION           equ "1.3.6.1.4.1.311.25.1"
    szOID_SUBJECT_DIR_ATTRS          equ "2.5.29.9"
    szOID_PKIX_KP                    equ "1.3.6.1.5.5.7.3"
    szOID_PKIX_KP_SERVER_AUTH        equ "1.3.6.1.5.5.7.3.1"
    szOID_PKIX_KP_CLIENT_AUTH        equ "1.3.6.1.5.5.7.3.2"
    szOID_PKIX_KP_CODE_SIGNING       equ "1.3.6.1.5.5.7.3.3"
    szOID_PKIX_KP_EMAIL_PROTECTION   equ "1.3.6.1.5.5.7.3.4"
    szOID_PKIX_KP_IPSEC_END_SYSTEM   equ "1.3.6.1.5.5.7.3.5"
    szOID_PKIX_KP_IPSEC_TUNNEL       equ "1.3.6.1.5.5.7.3.6"
    szOID_PKIX_KP_IPSEC_USER         equ "1.3.6.1.5.5.7.3.7"
    szOID_PKIX_KP_TIMESTAMP_SIGNING  equ "1.3.6.1.5.5.7.3.8"
    szOID_PKIX_KP_OCSP_SIGNING       equ "1.3.6.1.5.5.7.3.9"
    szOID_PKIX_OCSP_NOCHECK          equ "1.3.6.1.5.5.7.48.1.5"
    szOID_PKIX_OCSP_NONCE            equ "1.3.6.1.5.5.7.48.1.2"
    szOID_IPSEC_KP_IKE_INTERMEDIATE  equ "1.3.6.1.5.5.8.2.2"
    szOID_PKINIT_KP_KDC              equ "1.3.6.1.5.2.3.5"
    szOID_KP_CTL_USAGE_SIGNING       equ "1.3.6.1.4.1.311.10.3.1"
    szOID_KP_TIME_STAMP_SIGNING      equ "1.3.6.1.4.1.311.10.3.2"
    szOID_SERVER_GATED_CRYPTO        equ "1.3.6.1.4.1.311.10.3.3"
    szOID_SGC_NETSCAPE               equ "2.16.840.1.113730.4.1"
    szOID_KP_EFS                     equ "1.3.6.1.4.1.311.10.3.4"
    szOID_EFS_RECOVERY               equ "1.3.6.1.4.1.311.10.3.4.1"
    szOID_WHQL_CRYPTO                equ "1.3.6.1.4.1.311.10.3.5"
    szOID_NT5_CRYPTO                 equ "1.3.6.1.4.1.311.10.3.6"
    szOID_OEM_WHQL_CRYPTO            equ "1.3.6.1.4.1.311.10.3.7"
    szOID_EMBEDDED_NT_CRYPTO         equ "1.3.6.1.4.1.311.10.3.8"
    szOID_ROOT_LIST_SIGNER           equ "1.3.6.1.4.1.311.10.3.9"
    szOID_KP_QUALIFIED_SUBORDINATION equ "1.3.6.1.4.1.311.10.3.10"
    szOID_KP_KEY_RECOVERY            equ "1.3.6.1.4.1.311.10.3.11"
    szOID_KP_DOCUMENT_SIGNING        equ "1.3.6.1.4.1.311.10.3.12"
    szOID_KP_LIFETIME_SIGNING        equ "1.3.6.1.4.1.311.10.3.13"
    szOID_KP_MOBILE_DEVICE_SOFTWARE  equ "1.3.6.1.4.1.311.10.3.14"
    szOID_KP_SMART_DISPLAY           equ "1.3.6.1.4.1.311.10.3.15"
    szOID_KP_CSP_SIGNATURE           equ "1.3.6.1.4.1.311.10.3.16"
    szOID_DRM                        equ "1.3.6.1.4.1.311.10.5.1"
    szOID_DRM_INDIVIDUALIZATION      equ "1.3.6.1.4.1.311.10.5.2"
    szOID_LICENSES                   equ "1.3.6.1.4.1.311.10.6.1"
    szOID_LICENSE_SERVER             equ "1.3.6.1.4.1.311.10.6.2"
    szOID_KP_SMARTCARD_LOGON         equ "1.3.6.1.4.1.311.20.2.2"
    szOID_KP_KERNEL_MODE_CODE_SIGNING equ "1.3.6.1.4.1.311.61.1.1"
    szOID_YESNO_TRUST_ATTR           equ "1.3.6.1.4.1.311.10.4.1"
    szOID_PKIX_POLICY_QUALIFIER_CPS  equ "1.3.6.1.5.5.7.2.1"
    szOID_PKIX_POLICY_QUALIFIER_USERNOTICE equ "1.3.6.1.5.5.7.2.2"
    szOID_ROOT_PROGRAM_FLAGS         equ "1.3.6.1.4.1.311.60.1.1"
    szOID_CERT_POLICIES_95_QUALIFIER1 equ "2.16.840.1.113733.1.7.1.1"
    szOID_PKIX_ACC_DESCR             equ "1.3.6.1.5.5.7.48"
    szOID_PKIX_OCSP                  equ "1.3.6.1.5.5.7.48.1"
    szOID_PKIX_CA_ISSUERS            equ "1.3.6.1.5.5.7.48.2"
    szOID_PKIX_TIME_STAMPING         equ "1.3.6.1.5.5.7.48.3"
    szOID_PKIX_CA_REPOSITORY         equ "1.3.6.1.5.5.7.48.5"
    CRYPT_ECC_CMS_SHARED_INFO_SUPPPUBINFO_BYTE_LENGTH = 4
    szOID_QC_EU_COMPLIANCE           equ "0.4.0.1862.1.1"
    szOID_QC_SSCD                    equ "0.4.0.1862.1.4"
    PKCS_RSA_SSA_PSS_TRAILER_FIELD_BC = 1
    szOID_VERISIGN_PRIVATE_6_9       equ "2.16.840.1.113733.1.6.9"
    szOID_VERISIGN_ONSITE_JURISDICTION_HASH equ "2.16.840.1.113733.1.6.11"
    szOID_VERISIGN_BITSTRING_6_13    equ "2.16.840.1.113733.1.6.13"
    szOID_VERISIGN_ISS_STRONG_CRYPTO equ "2.16.840.1.113733.1.8.1"
    szOID_NETSCAPE                   equ "2.16.840.1.113730"
    szOID_NETSCAPE_CERT_EXTENSION    equ "2.16.840.1.113730.1"
    szOID_NETSCAPE_CERT_TYPE         equ "2.16.840.1.113730.1.1"
    szOID_NETSCAPE_BASE_URL          equ "2.16.840.1.113730.1.2"
    szOID_NETSCAPE_REVOCATION_URL    equ "2.16.840.1.113730.1.3"
    szOID_NETSCAPE_CA_REVOCATION_URL equ "2.16.840.1.113730.1.4"
    szOID_NETSCAPE_CERT_RENEWAL_URL  equ "2.16.840.1.113730.1.7"
    szOID_NETSCAPE_CA_POLICY_URL     equ "2.16.840.1.113730.1.8"
    szOID_NETSCAPE_SSL_SERVER_NAME   equ "2.16.840.1.113730.1.12"
    szOID_NETSCAPE_COMMENT           equ "2.16.840.1.113730.1.13"
    szOID_NETSCAPE_DATA_TYPE         equ "2.16.840.1.113730.2"
    szOID_NETSCAPE_CERT_SEQUENCE     equ "2.16.840.1.113730.2.5"
    szOID_CT_PKI_DATA                equ "1.3.6.1.5.5.7.12.2"
    szOID_CT_PKI_RESPONSE            equ "1.3.6.1.5.5.7.12.3"
    szOID_PKIX_NO_SIGNATURE          equ "1.3.6.1.5.5.7.6.2"
    szOID_CMC                        equ "1.3.6.1.5.5.7.7"
    szOID_CMC_STATUS_INFO            equ "1.3.6.1.5.5.7.7.1"
    szOID_CMC_IDENTIFICATION         equ "1.3.6.1.5.5.7.7.2"
    szOID_CMC_IDENTITY_PROOF         equ "1.3.6.1.5.5.7.7.3"
    szOID_CMC_DATA_RETURN            equ "1.3.6.1.5.5.7.7.4"
    szOID_CMC_TRANSACTION_ID         equ "1.3.6.1.5.5.7.7.5"
    szOID_CMC_SENDER_NONCE           equ "1.3.6.1.5.5.7.7.6"
    szOID_CMC_RECIPIENT_NONCE        equ "1.3.6.1.5.5.7.7.7"
    szOID_CMC_ADD_EXTENSIONS         equ "1.3.6.1.5.5.7.7.8"
    szOID_CMC_ENCRYPTED_POP          equ "1.3.6.1.5.5.7.7.9"
    szOID_CMC_DECRYPTED_POP          equ "1.3.6.1.5.5.7.7.10"
    szOID_CMC_LRA_POP_WITNESS        equ "1.3.6.1.5.5.7.7.11"
    szOID_CMC_GET_CERT               equ "1.3.6.1.5.5.7.7.15"
    szOID_CMC_GET_CRL                equ "1.3.6.1.5.5.7.7.16"
    szOID_CMC_REVOKE_REQUEST         equ "1.3.6.1.5.5.7.7.17"
    szOID_CMC_REG_INFO               equ "1.3.6.1.5.5.7.7.18"
    szOID_CMC_RESPONSE_INFO          equ "1.3.6.1.5.5.7.7.19"
    szOID_CMC_QUERY_PENDING          equ "1.3.6.1.5.5.7.7.21"
    szOID_CMC_ID_POP_LINK_RANDOM     equ "1.3.6.1.5.5.7.7.22"
    szOID_CMC_ID_POP_LINK_WITNESS    equ "1.3.6.1.5.5.7.7.23"
    szOID_CMC_ID_CONFIRM_CERT_ACCEPTANCE equ "1.3.6.1.5.5.7.7.24"
    szOID_CMC_ADD_ATTRIBUTES         equ "1.3.6.1.4.1.311.10.10.1"
    CERT_LOGOTYPE_GRAY_SCALE_IMAGE_INFO_CHOICE = 1
    CERT_LOGOTYPE_COLOR_IMAGE_INFO_CHOICE = 2
    CERT_LOGOTYPE_NO_IMAGE_RESOLUTION_CHOICE = 0
    CERT_LOGOTYPE_BITS_IMAGE_RESOLUTION_CHOICE = 1
    CERT_LOGOTYPE_TABLE_SIZE_IMAGE_RESOLUTION_CHOICE = 2
    CERT_LOGOTYPE_DIRECT_INFO_CHOICE = 1
    CERT_LOGOTYPE_INDIRECT_INFO_CHOICE = 2
    szOID_LOYALTY_OTHER_LOGOTYPE     equ "1.3.6.1.5.5.7.20.1"
    szOID_BACKGROUND_OTHER_LOGOTYPE  equ "1.3.6.1.5.5.7.20.2"
    CERT_BIOMETRIC_PREDEFINED_DATA_CHOICE = 1
    CERT_BIOMETRIC_OID_DATA_CHOICE   = 2
    CERT_BIOMETRIC_PICTURE_TYPE      = 0
    CERT_BIOMETRIC_SIGNATURE_TYPE    = 1
    OCSP_REQUEST_V1                  = 0
    OCSP_SUCCESSFUL_RESPONSE         = 0
    OCSP_MALFORMED_REQUEST_RESPONSE  = 1
    OCSP_INTERNAL_ERROR_RESPONSE     = 2
    OCSP_TRY_LATER_RESPONSE          = 3
    OCSP_SIG_REQUIRED_RESPONSE       = 5
    OCSP_UNAUTHORIZED_RESPONSE       = 6
    szOID_PKIX_OCSP_BASIC_SIGNED_RESPONSE equ "1.3.6.1.5.5.7.48.1.1"
    OCSP_BASIC_GOOD_CERT_STATUS      = 0
    OCSP_BASIC_REVOKED_CERT_STATUS   = 1
    OCSP_BASIC_UNKNOWN_CERT_STATUS   = 2
    OCSP_BASIC_RESPONSE_V1           = 0
    OCSP_BASIC_BY_NAME_RESPONDER_ID  = 1
    OCSP_BASIC_BY_KEY_RESPONDER_ID   = 2
    CRYPT_OID_ENCODE_OBJECT_FUNC     equ "CryptDllEncodeObject"
    CRYPT_OID_DECODE_OBJECT_FUNC     equ "CryptDllDecodeObject"
    CRYPT_OID_ENCODE_OBJECT_EX_FUNC  equ "CryptDllEncodeObjectEx"
    CRYPT_OID_DECODE_OBJECT_EX_FUNC  equ "CryptDllDecodeObjectEx"
    CRYPT_OID_CREATE_COM_OBJECT_FUNC equ "CryptDllCreateCOMObject"
    CRYPT_OID_VERIFY_REVOCATION_FUNC equ "CertDllVerifyRevocation"
    CRYPT_OID_VERIFY_CTL_USAGE_FUNC  equ "CertDllVerifyCTLUsage"
    CRYPT_OID_FORMAT_OBJECT_FUNC     equ "CryptDllFormatObject"
    CRYPT_OID_FIND_OID_INFO_FUNC     equ "CryptDllFindOIDInfo"
    CRYPT_OID_FIND_LOCALIZED_NAME_FUNC equ "CryptDllFindLocalizedName"
    CRYPT_OID_REGPATH                equ "Software\\Microsoft\\Cryptography\\OID"
    CRYPT_OID_REG_DLL_VALUE_NAME     equ "Dll";L
    CRYPT_OID_REG_FUNC_NAME_VALUE_NAME equ "FuncName";L
    CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A equ "FuncName"
    CRYPT_OID_REG_FLAGS_VALUE_NAME   equ "CryptFlags";L
    CRYPT_DEFAULT_OID                equ "DEFAULT"
    CALG_OID_INFO_CNG_ONLY           = 0FFFFFFFFh
    CALG_OID_INFO_PARAMETERS         = 0FFFFFFFEh
    CRYPT_OID_INFO_HASH_PARAMETERS_ALGORITHM equ "CryptOIDInfoHashParameters";L
    CRYPT_OID_INFO_ECC_PARAMETERS_ALGORITHM equ "CryptOIDInfoECCParameters";L
    CRYPT_OID_INFO_MGF1_PARAMETERS_ALGORITHM equ "CryptOIDInfoMgf1Parameters";L
    CRYPT_OID_INFO_NO_SIGN_ALGORITHM equ "CryptOIDInfoNoSign";L
    CRYPT_OID_INFO_OAEP_PARAMETERS_ALGORITHM equ "CryptOIDInfoOAEPParameters";L
    CRYPT_OID_INFO_ECC_WRAP_PARAMETERS_ALGORITHM equ "CryptOIDInfoECCWrapParameters";L
    CRYPT_OID_PUBKEY_SIGN_ONLY_FLAG  = 80000000h
    CRYPT_OID_PUBKEY_ENCRYPT_ONLY_FLAG = 40000000h
    CRYPT_OID_INFO_CNG_ALGID_KEY     = 5
    CRYPT_OID_INFO_CNG_SIGN_KEY      = 6
    CRYPT_OID_INFO_OID_KEY_FLAGS_MASK = 0FFFF0000h
    CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG = 80000000h
    CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG = 40000000h
    CRYPT_OID_DISABLE_SEARCH_DS_FLAG = 80000000h
    CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK = 0FFF0000h
    CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT = 16
    CRYPT_LOCALIZED_NAME_OID         equ "LocalizedNames"
    szOID_PKCS_7_DATA                equ "1.2.840.113549.1.7.1"
    szOID_PKCS_7_SIGNED              equ "1.2.840.113549.1.7.2"
    szOID_PKCS_7_ENVELOPED           equ "1.2.840.113549.1.7.3"
    szOID_PKCS_7_SIGNEDANDENVELOPED  equ "1.2.840.113549.1.7.4"
    szOID_PKCS_7_DIGESTED            equ "1.2.840.113549.1.7.5"
    szOID_PKCS_7_ENCRYPTED           equ "1.2.840.113549.1.7.6"
    szOID_PKCS_9_CONTENT_TYPE        equ "1.2.840.113549.1.9.3"
    szOID_PKCS_9_MESSAGE_DIGEST      equ "1.2.840.113549.1.9.4"
    CMSG_ALL_FLAGS                   = 0
    CMSG_OID_GEN_ENCRYPT_KEY_FUNC    equ "CryptMsgDllGenEncryptKey"
    CMSG_OID_EXPORT_ENCRYPT_KEY_FUNC equ "CryptMsgDllExportEncryptKey"
    CMSG_OID_IMPORT_ENCRYPT_KEY_FUNC equ "CryptMsgDllImportEncryptKey"
    CMSG_CONTENT_ENCRYPT_FREE_OBJID_FLAG = 00000002h
    CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC equ "CryptMsgDllGenContentEncryptKey"
    CMSG_OID_CAPI1_GEN_CONTENT_ENCRYPT_KEY_FUNC equ "CryptMsgDllGenContentEncryptKey"
    CMSG_OID_CNG_GEN_CONTENT_ENCRYPT_KEY_FUNC equ "CryptMsgDllCNGGenContentEncryptKey"
    CMSG_KEY_TRANS_ENCRYPT_FREE_OBJID_FLAG = 00000002h
    CMSG_OID_EXPORT_KEY_TRANS_FUNC   equ "CryptMsgDllExportKeyTrans"
    CMSG_OID_CAPI1_EXPORT_KEY_TRANS_FUNC equ "CryptMsgDllExportKeyTrans"
    CMSG_OID_CNG_EXPORT_KEY_TRANS_FUNC equ "CryptMsgDllCNGExportKeyTrans"
    CMSG_KEY_AGREE_ENCRYPT_FREE_OBJID_FLAG = 00000020h
    CMSG_OID_EXPORT_KEY_AGREE_FUNC   equ "CryptMsgDllExportKeyAgree"
    CMSG_OID_CAPI1_EXPORT_KEY_AGREE_FUNC equ "CryptMsgDllExportKeyAgree"
    CMSG_OID_CNG_EXPORT_KEY_AGREE_FUNC equ "CryptMsgDllCNGExportKeyAgree"
    CMSG_MAIL_LIST_ENCRYPT_FREE_OBJID_FLAG = 00000002h
    CMSG_OID_EXPORT_MAIL_LIST_FUNC   equ "CryptMsgDllExportMailList"
    CMSG_OID_CAPI1_EXPORT_MAIL_LIST_FUNC equ "CryptMsgDllExportMailList"
    CMSG_OID_IMPORT_KEY_TRANS_FUNC   equ "CryptMsgDllImportKeyTrans"
    CMSG_OID_CAPI1_IMPORT_KEY_TRANS_FUNC equ "CryptMsgDllImportKeyTrans"
    CMSG_OID_IMPORT_KEY_AGREE_FUNC   equ "CryptMsgDllImportKeyAgree"
    CMSG_OID_CAPI1_IMPORT_KEY_AGREE_FUNC equ "CryptMsgDllImportKeyAgree"
    CMSG_OID_IMPORT_MAIL_LIST_FUNC   equ "CryptMsgDllImportMailList"
    CMSG_OID_CAPI1_IMPORT_MAIL_LIST_FUNC equ "CryptMsgDllImportMailList"
    CMSG_OID_CNG_IMPORT_KEY_TRANS_FUNC equ "CryptMsgDllCNGImportKeyTrans"
    CMSG_OID_CNG_IMPORT_KEY_AGREE_FUNC equ "CryptMsgDllCNGImportKeyAgree"
    CMSG_OID_CNG_IMPORT_CONTENT_ENCRYPT_KEY_FUNC equ "CryptMsgDllCNGImportContentEncryptKey"
    CERT_AUTHORITY_INFO_ACCESS_PROP_ID = 68
    CERT_BACKED_UP_PROP_ID           = 69
    CERT_OCSP_RESPONSE_PROP_ID       = 70
    CERT_REQUEST_ORIGINATOR_PROP_ID  = 71
    CERT_SOURCE_LOCATION_PROP_ID     = 72
    CERT_SOURCE_URL_PROP_ID          = 73
    CERT_NEW_KEY_PROP_ID             = 74
    CERT_OCSP_CACHE_PREFIX_PROP_ID   = 75
    CERT_SMART_CARD_ROOT_INFO_PROP_ID = 76
    CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID = 77
    CERT_NCRYPT_KEY_HANDLE_PROP_ID   = 78
    CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID = 79
    CERT_SUBJECT_INFO_ACCESS_PROP_ID = 80
    CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID = 81
    CERT_CA_DISABLE_CRL_PROP_ID      = 82
    CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID = 83
    szOID_CERT_PROP_ID_PREFIX        equ "1.3.6.1.4.1.311.10.11."
    szOID_CERT_KEY_IDENTIFIER_PROP_ID equ "1.3.6.1.4.1.311.10.11.20"
    szOID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID equ "1.3.6.1.4.1.311.10.11.28"
    szOID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID equ "1.3.6.1.4.1.311.10.11.29"
    szOID_CERT_MD5_HASH_PROP_ID      equ "1.3.6.1.4.1.311.10.11.4"
    CERT_ACCESS_STATE_GP_SYSTEM_STORE_FLAG = 8h
    CERT_NCRYPT_KEY_SPEC             = 0FFFFFFFFh
    sz_CERT_STORE_PROV_MEMORY        equ "Memory"
    sz_CERT_STORE_PROV_FILENAME_W    equ "File"
    sz_CERT_STORE_PROV_FILENAME      equ "File"
    sz_CERT_STORE_PROV_SYSTEM_W      equ "System"
    sz_CERT_STORE_PROV_SYSTEM        equ "System"
    sz_CERT_STORE_PROV_PKCS7         equ "PKCS7"
    sz_CERT_STORE_PROV_PKCS12        equ "PKCS12"
    sz_CERT_STORE_PROV_SERIALIZED    equ "Serialized"
    sz_CERT_STORE_PROV_COLLECTION    equ "Collection"
    sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W equ "SystemRegistry"
    sz_CERT_STORE_PROV_SYSTEM_REGISTRY equ "SystemRegistry"
    sz_CERT_STORE_PROV_PHYSICAL_W    equ "Physical"
    sz_CERT_STORE_PROV_PHYSICAL      equ "Physical"
    sz_CERT_STORE_PROV_SMART_CARD_W  equ "SmartCard"
    sz_CERT_STORE_PROV_SMART_CARD    equ "SmartCard"
    sz_CERT_STORE_PROV_LDAP_W        equ "Ldap"
    sz_CERT_STORE_PROV_LDAP          equ "Ldap"
    CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH equ "Software\\Policies\\Microsoft\\SystemCertificates";L
    CERT_EFSBLOB_VALUE_NAME          equ "EFSBlob";L;L
    CERT_PROT_ROOT_FLAGS_VALUE_NAME  equ "Flags";L
    CERT_PROT_ROOT_DISABLE_PEER_TRUST = 10000h
    CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME equ "PeerUsages"
    CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH equ "Software\\Microsoft\\SystemCertificates";L
    CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME equ "AuthenticodeFlags";L
    CERT_OCM_SUBCOMPONENTS_ROOT_AUTO_UPDATE_VALUE_NAME equ "RootAutoUpdate";L
    CERT_DISABLE_ROOT_AUTO_UPDATE_VALUE_NAME equ "DisableRootAutoUpdate";L
    CERT_AUTH_ROOT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME equ "RootDirUrl";L
    CERT_AUTH_ROOT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME equ "SyncDeltaTime";L
    CERT_AUTH_ROOT_AUTO_UPDATE_FLAGS_VALUE_NAME equ "Flags";L
    CERT_AUTH_ROOT_CTL_FILENAME    equ "authroot.stl"
    CERT_AUTH_ROOT_CAB_FILENAME      equ "authrootstl.cab";L
    CERT_AUTH_ROOT_SEQ_FILENAME      equ "authrootseq.txt";L
    CERT_AUTH_ROOT_CERT_EXT          equ ".crt";L
    CERT_IE_DIRTY_FLAGS_REGPATH      equ "Software\\Microsoft\\Cryptography\\IEDirtyFlags";L
    CRYPT_OID_OPEN_STORE_PROV_FUNC   equ "CertDllOpenStoreProv"
    CERT_STORE_PROV_GP_SYSTEM_STORE_FLAG = 20h
    CERT_STORE_SAVE_AS_PKCS12        = 3
    CERT_COMPARE_SUBJECT_INFO_ACCESS = 19
    CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG = 2h
    CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG = 4h
    CERT_PHYSICAL_STORE_DEFAULT_NAME equ ".Default";L
    CERT_PHYSICAL_STORE_GROUP_POLICY_NAME equ ".GroupPolicy";L
    CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME equ ".LocalMachine";L
    CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME equ ".UserCertificate";L
    CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME equ ".LocalMachineGroupPolicy";L
    CERT_PHYSICAL_STORE_ENTERPRISE_NAME equ ".Enterprise";L
    CERT_PHYSICAL_STORE_AUTH_ROOT_NAME equ ".AuthRoot";L
    CERT_PHYSICAL_STORE_SMART_CARD_NAME equ ".SmartCard";L
    CRYPT_OID_OPEN_SYSTEM_STORE_PROV_FUNC equ "CertDllOpenSystemStoreProv"
    CRYPT_OID_REGISTER_SYSTEM_STORE_FUNC equ "CertDllRegisterSystemStore"
    CRYPT_OID_UNREGISTER_SYSTEM_STORE_FUNC equ "CertDllUnregisterSystemStore"
    CRYPT_OID_ENUM_SYSTEM_STORE_FUNC equ "CertDllEnumSystemStore"
    CRYPT_OID_REGISTER_PHYSICAL_STORE_FUNC equ "CertDllRegisterPhysicalStore"
    CRYPT_OID_UNREGISTER_PHYSICAL_STORE_FUNC equ "CertDllUnregisterPhysicalStore"
    CRYPT_OID_ENUM_PHYSICAL_STORE_FUNC equ "CertDllEnumPhysicalStore"
    CRYPT_OID_SYSTEM_STORE_LOCATION_VALUE_NAME equ "SystemStoreLocation";L
    CERT_VERIFY_REV_SERVER_OCSP_FLAG = 00000008h
    CRYPT_VERIFY_CERT_SIGN_SUBJECT_OCSP_BASIC_SIGNED_RESPONSE = 4
    CRYPT_OID_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC equ "CryptDllExtractEncodedSignatureParameters"
    CRYPT_OID_SIGN_AND_ENCODE_HASH_FUNC equ "CryptDllSignAndEncodeHash"
    CRYPT_OID_VERIFY_ENCODED_SIGNATURE_FUNC equ "CryptDllVerifyEncodedSignature"
    CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC equ "CryptDllExportPublicKeyInfoEx"
    CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC equ "CryptDllExportPublicKeyInfoEx2"
    CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC equ "CryptDllImportPublicKeyInfoEx"
    CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC equ "CryptDllImportPublicKeyInfoEx2"
    CRYPT_ACQUIRE_NO_HEALING         = 00000008h
    CRYPT_ACQUIRE_NCRYPT_KEY_FLAGS_MASK = 00070000h
    CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG = 00010000h
    CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG = 00020000h
    CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG = 00040000h
    CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC equ "CryptDllImportPrivateKeyInfoEx"
    CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC equ "CryptDllExportPrivateKeyInfoEx"
    CERT_XML_NAME_STR                = 4
    CERT_NAME_STR_FORWARD_FLAG       = 01000000h
    CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG = 00080000h
    CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG = 00100000h
    CERT_QUERY_CONTENT_PFX_AND_LOAD  = 14
    CREDENTIAL_OID_PASSWORD_CREDENTIALS = CREDENTIAL_OID_PASSWORD_CREDENTIALS_W
    SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC equ "SchemeDllRetrieveEncodedObject"
    SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC equ "SchemeDllRetrieveEncodedObjectW"
    CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC equ "ContextDllCreateObjectContext"
    CRYPT_HTTP_POST_RETRIEVAL        = 00100000h
    CRYPT_PROXY_CACHE_RETRIEVAL      = 00200000h
    CRYPT_NOT_MODIFIED_RETRIEVAL     = 00400000h
    CRYPT_OCSP_ONLY_RETRIEVAL        = 01000000h
    CRYPTNET_URL_CACHE_PRE_FETCH_NONE = 0
    CRYPTNET_URL_CACHE_PRE_FETCH_BLOB = 1
    CRYPTNET_URL_CACHE_PRE_FETCH_CRL = 2
    CRYPTNET_URL_CACHE_PRE_FETCH_OCSP = 3
    CRYPTNET_URL_CACHE_PRE_FETCH_AUTOROOT_CAB = 5
    CRYPTNET_URL_CACHE_DEFAULT_FLUSH = 0
    CRYPTNET_URL_CACHE_DISABLE_FLUSH = 0FFFFFFFFh
    CRYPTNET_URL_CACHE_RESPONSE_NONE = 0
    CRYPTNET_URL_CACHE_RESPONSE_HTTP = 1
    CRYPTNET_URL_CACHE_RESPONSE_VALIDATED = 8000h
    URL_OID_GET_OBJECT_URL_FUNC      equ "UrlDllGetObjectUrl"
    TIME_VALID_OID_GET_OBJECT_FUNC   equ "TimeValidDllGetObject"
    TIME_VALID_OID_FLUSH_OBJECT_FUNC equ "TimeValidDllFlushObject"
    CERT_CHAIN_CACHE_RESYNC_FILETIME_VALUE_NAME equ "ChainCacheResyncFiletime";L
    CERT_CHAIN_DISABLE_UNSUPPORTED_CRITICAL_EXTENSIONS_VALUE_NAME equ "DisableUnsupportedCriticalExtensions";L
    CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_VALUE_NAME equ "MaxAIAUrlCountInCert";L
    CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_VALUE_NAME equ "MaxAIAUrlRetrievalCountPerChain";L
    CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME equ "MaxAIAUrlRetrievalByteCount";L
    CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_VALUE_NAME equ "MaxAIAUrlRetrievalCertCount";L
    CERT_CHAIN_OCSP_VALIDITY_SECONDS_VALUE_NAME equ "OcspValiditySeconds";L
    CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_VALUE_NAME equ "SrvOcspRespMinValiditySeconds"
    CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME equ "SrvOcspRespUrlRetrievalTimeoutMilliseconds";L
    CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME equ "SrvOcspRespMaxBeforeNextUpdateSeconds";L
    CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME equ "SrvOcspRespMinBeforeNextUpdateSeconds";L
    CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME equ "SrvOcspRespMinAfterNextUpdateSeconds";L
    CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_VALUE_NAME equ "CryptnetMaxCachedOcspPerCrlCount";L
    CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_DEFAULT = 500
    CRYPTNET_OCSP_AFTER_CRL_DISABLE  = 0FFFFFFFFh
    CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME equ "CryptnetDefaultFlushExemptSeconds";L
    CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_VALUE_NAME equ "CryptnetPreFetchMinMaxAgeSeconds";L
    CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_VALUE_NAME equ "CryptnetPreFetchMaxMaxAgeSeconds";L
    CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_VALUE_NAME equ "CryptnetPreFetchAfterPublishPreFetchDivisor";L
    CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_DEFAULT = 10
    CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME equ "CryptnetPreFetchBeforeNextUpdatePreFetchDivisor";L
    CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT = 20
    CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME equ "CryptnetPreFetchMinBeforeNextUpdatePreFetchSeconds";L
    CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME equ "CryptnetPreFetchValidityPeriodAfterNextUpdatePreFetchDivisor";L
    CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT = 10
    CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME equ "CryptnetPreFetchMaxAfterNextUpdatePreFetchPeriodSeconds";L
    CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME equ "CryptnetPreFetchMinAfterNextUpdatePreFetchPeriodSeconds";L
    CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME equ "CryptnetPreFetchAfterCurrentTimePreFetchPeriodSeconds";L
    CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_VALUE_NAME equ "CryptnetPreFetchTriggerPeriodSeconds";L
    CRYPTNET_PRE_FETCH_TRIGGER_DISABLE = 0FFFFFFFFh
    CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_VALUE_NAME equ "CryptnetPreFetchScanAfterTriggerDelaySeconds";L
    CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_DEFAULT = 30
    CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_VALUE_NAME equ "CryptnetPreFetchRetrievalTimeoutSeconds";L
    CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME equ "ChainUrlRetrievalTimeoutMilliseconds";L
    CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME equ "ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds";L
    CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_VALUE_NAME equ "CryptnetCachedOcspSwitchToCrlCount";L
    CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_DEFAULT = 50
    CRYPTNET_CRL_BEFORE_OCSP_ENABLE  = 0FFFFFFFFh
    CERT_CHAIN_DISABLE_AIA_URL_RETRIEVAL_VALUE_NAME equ "DisableAIAUrlRetrieval";L
    CERT_CHAIN_OPTIONS_VALUE_NAME    equ "Options";L
    CERT_CHAIN_OPTION_DISABLE_AIA_URL_RETRIEVAL = 2h
    CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_VALUE_NAME equ "CrossCertDownloadIntervalHours";L
    CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_VALUE_NAME equ "CRLValidityExtensionPeriod";L
    CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_DEFAULT = 12
    CERT_TRUST_IS_EXPLICIT_DISTRUST  = 04000000h
    CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT = 08000000h
    CERT_TRUST_IS_PEER_TRUSTED       = 00000800h
    CERT_TRUST_HAS_CRL_VALIDITY_EXTENDED = 00001000h
    CERT_CHAIN_ENABLE_PEER_TRUST     = 00000400h
    CERT_CHAIN_DISABLE_MY_PEER_TRUST = 00000800h
    CERT_CHAIN_POLICY_IGNORE_NOT_SUPPORTED_CRITICAL_EXT_FLAG = 00002000h
    CERT_CHAIN_POLICY_IGNORE_PEER_TRUST_FLAG = 00001000h
    CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC equ "CertDllVerifyCertificateChainPolicy"
    CRYPT_STRING_HEXRAW              = 0000000Ch
    CRYPT_STRING_NOCRLF              = 40000000h
    szOID_PKCS_12_PbeIds             equ "1.2.840.113549.1.12.1"
    szOID_PKCS_12_pbeWithSHA1And128BitRC4 equ "1.2.840.113549.1.12.1.1"
    szOID_PKCS_12_pbeWithSHA1And40BitRC4 equ "1.2.840.113549.1.12.1.2"
    szOID_PKCS_12_pbeWithSHA1And3KeyTripleDES equ "1.2.840.113549.1.12.1.3"
    szOID_PKCS_12_pbeWithSHA1And2KeyTripleDES equ "1.2.840.113549.1.12.1.4"
    szOID_PKCS_12_pbeWithSHA1And128BitRC2 equ "1.2.840.113549.1.12.1.5"
    szOID_PKCS_12_pbeWithSHA1And40BitRC2 equ "1.2.840.113549.1.12.1.6"
    PKCS12_PREFER_CNG_KSP            = 00000100h
    PKCS12_ALWAYS_CNG_KSP            = 00000200h
    PKCS12_ALLOW_OVERWRITE_KEY       = 00004000h
    PKCS12_NO_PERSIST_KEY            = 00008000h
    PKCS12_INCLUDE_EXTENDED_PROPERTIES = 0010h
    WINEFS_SETUSERKEY_SET_CAPABILITIES = 00000001h
    WINEFS_SETUSERKEY_BLOCK_CACHE_FLUSH = 00000002h
    MAX_SID_SIZE                     = 256
    EFS_METADATA_ADD_USER            = 00000001h
    EFS_METADATA_REMOVE_USER         = 00000002h
    EFS_METADATA_REPLACE_USER        = 00000004h
    EFS_METADATA_GENERAL_OP          = 00000008h
    SCARD_AUTOALLOCATE               = -1
    SCARD_SCOPE_USER                 = 0
    SCARD_SCOPE_TERMINAL             = 1
    SCARD_SCOPE_SYSTEM               = 2
    SCARD_ALL_READERS                equ "SCard$AllReaders\000"
    SCARD_DEFAULT_READERS            equ "SCard$DefaultReaders\000"
    SCARD_LOCAL_READERS              equ "SCard$LocalReaders\000"
    SCARD_SYSTEM_READERS             equ "SCard$SystemReaders\000"
    SCARD_PROVIDER_PRIMARY           = 1
    SCARD_PROVIDER_CSP               = 2
    SCARD_PROVIDER_KSP               = 3
    SCARD_STATE_UNAWARE              = 00000000h
    SCARD_STATE_IGNORE               = 00000001h
    SCARD_STATE_CHANGED              = 00000002h
    SCARD_STATE_UNKNOWN              = 00000004h
    SCARD_STATE_UNAVAILABLE          = 00000008h
    SCARD_STATE_EMPTY                = 00000010h
    SCARD_STATE_PRESENT              = 00000020h
    SCARD_STATE_ATRMATCH             = 00000040h
    SCARD_STATE_EXCLUSIVE            = 00000080h
    SCARD_STATE_INUSE                = 00000100h
    SCARD_STATE_MUTE                 = 00000200h
    SCARD_STATE_UNPOWERED            = 00000400h
    SCARD_SHARE_EXCLUSIVE            = 1
    SCARD_SHARE_SHARED               = 2
    SCARD_SHARE_DIRECT               = 3
    SCARD_LEAVE_CARD                 = 0
    SCARD_RESET_CARD                 = 1
    SCARD_UNPOWER_CARD               = 2
    SCARD_EJECT_CARD                 = 3
    SC_DLG_MINIMAL_UI                = 01h
    SC_DLG_NO_UI                     = 02h
    SC_DLG_FORCE_UI                  = 04h
    SCERR_NOCARDNAME                 = 4000h
    SCERR_NOGUIDS                    = 8000h
    BIDI_ACTION_ENUM_SCHEMA          equ "EnumSchema";L
    BIDI_ACTION_GET                  equ "Get";L
    BIDI_ACTION_SET                  equ "Set";L
    BIDI_ACTION_GET_ALL              equ "GetAll";L
    SPLREG_DEFAULT_SPOOL_DIRECTORY   equ "DefaultSpoolDirectory"
    SPLREG_PORT_THREAD_PRIORITY_DEFAULT equ "PortThreadPriorityDefault"
    SPLREG_PORT_THREAD_PRIORITY      equ "PortThreadPriority"
    SPLREG_SCHEDULER_THREAD_PRIORITY_DEFAULT equ "SchedulerThreadPriorityDefault"
    SPLREG_SCHEDULER_THREAD_PRIORITY equ "SchedulerThreadPriority"
    SPLREG_BEEP_ENABLED              equ "BeepEnabled"
    SPLREG_NET_POPUP                 equ "NetPopup"
    SPLREG_RETRY_POPUP               equ "RetryPopup"
    SPLREG_NET_POPUP_TO_COMPUTER     equ "NetPopupToComputer"
    SPLREG_EVENT_LOG                 equ "EventLog"
    SPLREG_MAJOR_VERSION             equ "MajorVersion"
    SPLREG_MINOR_VERSION             equ "MinorVersion"
    SPLREG_ARCHITECTURE              equ "Architecture"
    SPLREG_OS_VERSION                equ "OSVersion"
    SPLREG_OS_VERSIONEX              equ "OSVersionEx"
    SPLREG_DS_PRESENT                equ "DsPresent"
    SPLREG_DS_PRESENT_FOR_USER       equ "DsPresentForUser"
    SPLREG_REMOTE_FAX                equ "RemoteFax"
    SPLREG_RESTART_JOB_ON_POOL_ERROR equ "RestartJobOnPoolError"
    SPLREG_RESTART_JOB_ON_POOL_ENABLED equ "RestartJobOnPoolEnabled"
    SPLREG_DNS_MACHINE_NAME          equ "DNSMachineName"
    SPLREG_ALLOW_USER_MANAGEFORMS    equ "AllowUserManageForms"
    SPLREG_WEBSHAREMGMT              equ "WebShareMgmt"
    SPLDS_SPOOLER_KEY                equ "DsSpooler"
    SPLDS_DRIVER_KEY                 equ "DsDriver"
    SPLDS_USER_KEY                   equ "DsUser"
    SPLDS_ASSET_NUMBER               equ "assetNumber"
    SPLDS_BYTES_PER_MINUTE           equ "bytesPerMinute"
    SPLDS_DESCRIPTION                equ "description"
    SPLDS_DRIVER_NAME                equ "driverName"
    SPLDS_DRIVER_VERSION             equ "driverVersion"
    SPLDS_LOCATION                   equ "location"
    SPLDS_PORT_NAME                  equ "portName"
    SPLDS_PRINT_ATTRIBUTES           equ "printAttributes"
    SPLDS_PRINT_BIN_NAMES            equ "printBinNames"
    SPLDS_PRINT_COLLATE              equ "printCollate"
    SPLDS_PRINT_COLOR                equ "printColor"
    SPLDS_PRINT_DUPLEX_SUPPORTED     equ "printDuplexSupported"
    SPLDS_PRINT_END_TIME             equ "printEndTime"
    SPLDS_PRINTER_CLASS              equ "printQueue"
    SPLDS_PRINTER_NAME               equ "printerName"
    SPLDS_PRINT_KEEP_PRINTED_JOBS    equ "printKeepPrintedJobs"
    SPLDS_PRINT_LANGUAGE             equ "printLanguage"
    SPLDS_PRINT_MAC_ADDRESS          equ "printMACAddress"
    SPLDS_PRINT_MAX_X_EXTENT         equ "printMaxXExtent"
    SPLDS_PRINT_MAX_Y_EXTENT         equ "printMaxYExtent"
    SPLDS_PRINT_MAX_RESOLUTION_SUPPORTED equ "printMaxResolutionSupported"
    SPLDS_PRINT_MEDIA_READY          equ "printMediaReady"
    SPLDS_PRINT_MEDIA_SUPPORTED      equ "printMediaSupported"
    SPLDS_PRINT_MEMORY               equ "printMemory"
    SPLDS_PRINT_MIN_X_EXTENT         equ "printMinXExtent"
    SPLDS_PRINT_MIN_Y_EXTENT         equ "printMinYExtent"
    SPLDS_PRINT_NETWORK_ADDRESS      equ "printNetworkAddress"
    SPLDS_PRINT_NOTIFY               equ "printNotify"
    SPLDS_PRINT_NUMBER_UP            equ "printNumberUp"
    SPLDS_PRINT_ORIENTATIONS_SUPPORTED equ "printOrientationsSupported"
    SPLDS_PRINT_OWNER                equ "printOwner"
    SPLDS_PRINT_PAGES_PER_MINUTE     equ "printPagesPerMinute"
    SPLDS_PRINT_RATE                 equ "printRate"
    SPLDS_PRINT_RATE_UNIT            equ "printRateUnit"
    SPLDS_PRINT_SEPARATOR_FILE       equ "printSeparatorFile"
    SPLDS_PRINT_SHARE_NAME           equ "printShareName"
    SPLDS_PRINT_SPOOLING             equ "printSpooling"
    SPLDS_PRINT_STAPLING_SUPPORTED   equ "printStaplingSupported"
    SPLDS_PRINT_START_TIME           equ "printStartTime"
    SPLDS_PRINT_STATUS               equ "printStatus"
    SPLDS_PRIORITY                   equ "priority"
    SPLDS_SERVER_NAME                equ "serverName"
    SPLDS_SHORT_SERVER_NAME          equ "shortServerName"
    SPLDS_UNC_NAME                   equ "uNCName"
    SPLDS_URL                        equ "url"
    SPLDS_FLAGS                      equ "flags"
    SPLDS_VERSION_NUMBER             equ "versionNumber"
    SPLDS_PRINTER_NAME_ALIASES       equ "printerNameAliases"
    SPLDS_PRINTER_LOCATIONS          equ "printerLocations"
    SPLDS_PRINTER_MODEL              equ "printerModel"
    TYPEDEF OLE_LPCSTR, CONST
    OT_LINK                          = 1
    OT_EMBEDDED                      = 2
    OT_STATIC                        = 3
    OLEVERB_PRIMARY                  = 0
    OF_SET                           = 0001h
    OF_GET                           = 0002h
    OF_HANDLER                       = 0004h
    WIN32                            = 100
    OLEIVERB_PRIMARY                 = 0
    OLEIVERB_SHOW                    = -1
    OLEIVERB_OPEN                    = -2
    OLEIVERB_HIDE                    = -3
    OLEIVERB_UIACTIVATE              = -4
    OLEIVERB_INPLACEACTIVATE         = -5
    OLEIVERB_DISCARDUNDOSTATE        = -6
    EMBDHLP_INPROC_HANDLER           = 0000h
    EMBDHLP_INPROC_SERVER            = 0001h
    EMBDHLP_CREATENOW                = 00000000h
    EMBDHLP_DELAYCREATE              = 00010000h
    OLECREATE_LEAVERUNNING           = 00000001h
    CF_SCRIPTSONLY                   = 00000400h
    LBSELCHSTRING                   equ "commdlg_LBSelChangedNotify"
    SHAREVISTRING                   equ "commdlg_ShareViolation"
    FILEOKSTRING                    equ "commdlg_FileNameOK"
    COLOROKSTRING                   equ "commdlg_ColorOK">
    SETRGBSTRING                    equ "commdlg_SetRGBColor"
    HELPMSGSTRING                   equ "commdlg_help"
    FINDMSGSTRING                   equ "commdlg_FindReplace"
    _STRALIGN_USE_SECURE_CRT         = 0
    SERVICES_ACTIVE_DATABASE        equ "ServicesActive"
    SERVICES_FAILED_DATABASE        equ "ServicesFailed"
    SC_GROUP_IDENTIFIER             equ '+'
    SERVICE_CONTROL_PARAMCHANGE      = 00000006h
    SERVICE_CONTROL_NETBINDADD       = 00000007h
    SERVICE_CONTROL_NETBINDREMOVE    = 00000008h
    SERVICE_CONTROL_NETBINDENABLE    = 00000009h
    SERVICE_CONTROL_NETBINDDISABLE   = 0000000Ah
    SERVICE_CONTROL_DEVICEEVENT      = 0000000Bh
    SERVICE_CONTROL_HARDWAREPROFILECHANGE = 0000000Ch
    SERVICE_CONTROL_POWEREVENT       = 0000000Dh
    SERVICE_CONTROL_SESSIONCHANGE    = 0000000Eh
    SERVICE_CONTROL_PRESHUTDOWN      = 0000000Fh
    SERVICE_ACCEPT_PARAMCHANGE       = 00000008h
    SERVICE_ACCEPT_NETBINDCHANGE     = 00000010h
    SERVICE_ACCEPT_HARDWAREPROFILECHANGE = 00000020h
    SERVICE_ACCEPT_POWEREVENT        = 00000040h
    SERVICE_ACCEPT_SESSIONCHANGE     = 00000080h
    SERVICE_ACCEPT_PRESHUTDOWN       = 00000100h
    SERVICE_RUNS_IN_SYSTEM_PROCESS   = 00000001h
    SERVICE_CONFIG_DESCRIPTION       = 1
    SERVICE_CONFIG_FAILURE_ACTIONS   = 2
    SERVICE_CONFIG_DELAYED_AUTO_START_INFO = 3
    SERVICE_CONFIG_FAILURE_ACTIONS_FLAG = 4
    SERVICE_CONFIG_SERVICE_SID_INFO  = 5
    SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO = 6
    SERVICE_CONFIG_PRESHUTDOWN_INFO  = 7
    SERVICE_NOTIFY_STATUS_CHANGE_1   = 1
    SERVICE_NOTIFY_STATUS_CHANGE_2   = 2
    SERVICE_NOTIFY_STATUS_CHANGE     = 2
    SERVICE_NOTIFY_STOPPED           = 00000001h
    SERVICE_NOTIFY_START_PENDING     = 00000002h
    SERVICE_NOTIFY_STOP_PENDING      = 00000004h
    SERVICE_NOTIFY_RUNNING           = 00000008h
    SERVICE_NOTIFY_CONTINUE_PENDING  = 00000010h
    SERVICE_NOTIFY_PAUSE_PENDING     = 00000020h
    SERVICE_NOTIFY_PAUSED            = 00000040h
    SERVICE_NOTIFY_CREATED           = 00000080h
    SERVICE_NOTIFY_DELETED           = 00000100h
    SERVICE_NOTIFY_DELETE_PENDING    = 00000200h
    SERVICE_STOP_REASON_FLAG_MIN     = 00000000h
    SERVICE_STOP_REASON_FLAG_UNPLANNED = 10000000h
    SERVICE_STOP_REASON_FLAG_CUSTOM  = 20000000h
    SERVICE_STOP_REASON_FLAG_PLANNED = 40000000h
    SERVICE_STOP_REASON_FLAG_MAX     = 80000000h
    SERVICE_STOP_REASON_MAJOR_MIN    = 00000000h
    SERVICE_STOP_REASON_MAJOR_OTHER  = 00010000h
    SERVICE_STOP_REASON_MAJOR_HARDWARE = 00020000h
    SERVICE_STOP_REASON_MAJOR_OPERATINGSYSTEM = 00030000h
    SERVICE_STOP_REASON_MAJOR_SOFTWARE = 00040000h
    SERVICE_STOP_REASON_MAJOR_APPLICATION = 00050000h
    SERVICE_STOP_REASON_MAJOR_NONE   = 00060000h
    SERVICE_STOP_REASON_MAJOR_MAX    = 00070000h
    SERVICE_STOP_REASON_MAJOR_MIN_CUSTOM = 00400000h
    SERVICE_STOP_REASON_MAJOR_MAX_CUSTOM = 00FF0000h
    SERVICE_STOP_REASON_MINOR_MIN    = 00000000h
    SERVICE_STOP_REASON_MINOR_OTHER  = 00000001h
    SERVICE_STOP_REASON_MINOR_MAINTENANCE = 00000002h
    SERVICE_STOP_REASON_MINOR_INSTALLATION = 00000003h
    SERVICE_STOP_REASON_MINOR_UPGRADE = 00000004h
    SERVICE_STOP_REASON_MINOR_RECONFIG = 00000005h
    SERVICE_STOP_REASON_MINOR_HUNG   = 00000006h
    SERVICE_STOP_REASON_MINOR_UNSTABLE = 00000007h
    SERVICE_STOP_REASON_MINOR_DISK   = 00000008h
    SERVICE_STOP_REASON_MINOR_NETWORKCARD = 00000009h
    SERVICE_STOP_REASON_MINOR_ENVIRONMENT = 0000000Ah
    SERVICE_STOP_REASON_MINOR_HARDWARE_DRIVER = 0000000Bh
    SERVICE_STOP_REASON_MINOR_OTHERDRIVER = 0000000Ch
    SERVICE_STOP_REASON_MINOR_SERVICEPACK = 0000000Dh
    SERVICE_STOP_REASON_MINOR_SOFTWARE_UPDATE = 0000000Eh
    SERVICE_STOP_REASON_MINOR_SECURITYFIX = 0000000Fh
    SERVICE_STOP_REASON_MINOR_SECURITY = 00000010h
    SERVICE_STOP_REASON_MINOR_NETWORK_CONNECTIVITY = 00000011h
    SERVICE_STOP_REASON_MINOR_WMI    = 00000012h
    SERVICE_STOP_REASON_MINOR_SERVICEPACK_UNINSTALL = 00000013h
    SERVICE_STOP_REASON_MINOR_SOFTWARE_UPDATE_UNINSTALL = 00000014h
    SERVICE_STOP_REASON_MINOR_SECURITYFIX_UNINSTALL = 00000015h
    SERVICE_STOP_REASON_MINOR_MMC    = 00000016h
    SERVICE_STOP_REASON_MINOR_NONE   = 00000017h
    SERVICE_STOP_REASON_MINOR_MAX    = 00000018h
    SERVICE_STOP_REASON_MINOR_MIN_CUSTOM = 00000100h
    SERVICE_STOP_REASON_MINOR_MAX_CUSTOM = 0000FFFFh
    SERVICE_CONTROL_STATUS_REASON_INFO = 1
    SERVICE_SID_TYPE_NONE            = 00000000h
    SERVICE_SID_TYPE_UNRESTRICTED    = 00000001h
    MDM_DIAGNOSTICS                  = 00000800h
    MDM_MASK_BEARERMODE              = 0000F000h
    MDM_SHIFT_BEARERMODE             = 12
    MDM_MASK_PROTOCOLID              = 000F0000h
    MDM_SHIFT_PROTOCOLID             = 16
    MDM_MASK_PROTOCOLDATA            = 0FF00000h
    MDM_SHIFT_PROTOCOLDATA           = 20
    MDM_MASK_PROTOCOLINFO            = MDM_MASK_PROTOCOLID or MDM_MASK_PROTOCOLDATA
    MDM_SHIFT_PROTOCOLINFO           = 16
    MDM_MASK_EXTENDEDINFO            = MDM_MASK_BEARERMODE or MDM_MASK_PROTOCOLINFO
    MDM_SHIFT_EXTENDEDINFO           = 12
    MDM_BEARERMODE_ANALOG            = 0h
    MDM_BEARERMODE_ISDN              = 1h
    MDM_BEARERMODE_GSM               = 2h
    MDM_PROTOCOLID_DEFAULT           = 0h
    MDM_PROTOCOLID_HDLCPPP           = 1h
    MDM_PROTOCOLID_V128              = 2h
    MDM_PROTOCOLID_X75               = 3h
    MDM_PROTOCOLID_V110              = 4h
    MDM_PROTOCOLID_V120              = 5h
    MDM_PROTOCOLID_AUTO              = 6h
    MDM_PROTOCOLID_ANALOG            = 7h
    MDM_PROTOCOLID_GPRS              = 8h
    MDM_PROTOCOLID_PIAFS             = 9h
    MDM_SHIFT_HDLCPPP_SPEED          = 0h
    MDM_MASK_HDLCPPP_SPEED           = 7h
    MDM_HDLCPPP_SPEED_DEFAULT        = 0h
    MDM_HDLCPPP_SPEED_64K            = 1h
    MDM_HDLCPPP_SPEED_56K            = 2h
    MDM_SHIFT_HDLCPPP_AUTH           = 3h
    MDM_MASK_HDLCPPP_AUTH            = 7h shl 3
    MDM_HDLCPPP_AUTH_DEFAULT         = 0h
    MDM_HDLCPPP_AUTH_NONE            = 1h
    MDM_HDLCPPP_AUTH_PAP             = 2h
    MDM_HDLCPPP_AUTH_CHAP            = 3h
    MDM_HDLCPPP_AUTH_MSCHAP          = 4h
    MDM_SHIFT_HDLCPPP_ML             = 6h
    MDM_MASK_HDLCPPP_ML              = 3h shl 6
    MDM_HDLCPPP_ML_DEFAULT           = 0h
    MDM_HDLCPPP_ML_NONE              = 1h
    MDM_HDLCPPP_ML_2                 = 2h
    MDM_SHIFT_V120_SPEED             = 0h
    MDM_MASK_V120_SPEED              = 7h
    MDM_V120_SPEED_DEFAULT           = 0h
    MDM_V120_SPEED_64K               = 1h
    MDM_V120_SPEED_56K               = 2h
    MDM_SHIFT_V120_ML                = 6h
    MDM_MASK_V120_ML                 = 3h shl 6
    MDM_V120_ML_DEFAULT              = 0h
    MDM_V120_ML_NONE                 = 1h
    MDM_V120_ML_2                    = 2h
    MDM_SHIFT_X75_DATA               = 0h
    MDM_MASK_X75_DATA                = 7h
    MDM_X75_DATA_DEFAULT             = 0h
    MDM_X75_DATA_64K                 = 1h
    MDM_X75_DATA_128K                = 2h
    MDM_X75_DATA_T_70                = 3h
    MDM_X75_DATA_BTX                 = 4h
    MDM_SHIFT_V110_SPEED             = 0h
    MDM_MASK_V110_SPEED              = 0Fh
    MDM_V110_SPEED_DEFAULT           = 0h
    MDM_V110_SPEED_1DOT2K            = 1h
    MDM_V110_SPEED_2DOT4K            = 2h
    MDM_V110_SPEED_4DOT8K            = 3h
    MDM_V110_SPEED_9DOT6K            = 4h
    MDM_V110_SPEED_12DOT0K           = 5h
    MDM_V110_SPEED_14DOT4K           = 6h
    MDM_V110_SPEED_19DOT2K           = 7h
    MDM_V110_SPEED_28DOT8K           = 8h
    MDM_V110_SPEED_38DOT4K           = 9h
    MDM_V110_SPEED_57DOT6K           = 0Ah
    MDM_SHIFT_AUTO_SPEED             = 0h
    MDM_MASK_AUTO_SPEED              = 7h
    MDM_AUTO_SPEED_DEFAULT           = 0h
    MDM_SHIFT_AUTO_ML                = 6h
    MDM_MASK_AUTO_ML                 = 3h shl 6
    MDM_AUTO_ML_DEFAULT              = 0h
    MDM_AUTO_ML_NONE                 = 1h
    MDM_AUTO_ML_2                    = 2h
    MDM_ANALOG_RLP_ON                = 0h
    MDM_ANALOG_RLP_OFF               = 1h
    MDM_ANALOG_V34                   = 2h
    MDM_PIAFS_INCOMING               = 0
    MDM_PIAFS_OUTGOING               = 1
    IMEMENUITEM_STRING_SIZE          = 80
    NI_IMEMENUSELECTED               = 0018h
    MOD_LEFT                         = 8000h
    MOD_RIGHT                        = 4000h
    MOD_ON_KEYUP                     = 0800h
    MOD_IGNORE_ALL_MODIFIER          = 0400h
    IME_HOTKEY_PRIVATE_FIRST         = 200h
    IME_ITHOTKEY_RECONVERTSTRING     = 203h
    IME_HOTKEY_PRIVATE_LAST          = 21Fh
    IMEVER_0310                      = 0003000Ah
    IMEVER_0400                      = 00040000h
    IME_PROP_COMPLETE_ON_UNSELECT    = 00100000h
    SCS_CAP_SETRECONVERTSTRING       = 00000004h
    IGP_GETIMEVERSION                = -4
    SCS_SETRECONVERTSTRING           = 00010000h
    SCS_QUERYRECONVERTSTRING         = 00020000h
    ATTR_FIXEDCONVERTED              = 05h
    IME_CMODE_HANGUL                 = 0001h
    IME_CMODE_FIXED                  = 0800h
    IME_CMODE_RESERVED               = 0F0000000h
    IME_SMODE_CONVERSATION           = 0010h
    IME_SMODE_RESERVED               = 0000F000h
    IMR_COMPOSITIONWINDOW            = 0001h
    IMR_CANDIDATEWINDOW              = 0002h
    IMR_COMPOSITIONFONT              = 0003h
    IMR_RECONVERTSTRING              = 0004h
    IMR_CONFIRMRECONVERTSTRING       = 0005h
    IMR_QUERYCHARPOSITION            = 0006h
    IMR_DOCUMENTFEED                 = 0007h
    IME_ESC_AUTOMATA                 = 1009h
    IME_ESC_PRIVATE_HOTKEY           = 100Ah
    IME_ESC_GETHELPFILENAME          = 100Bh
    IACE_CHILDREN                    = 0001h
    IACE_DEFAULT                     = 0010h
    IACE_IGNORENOCONTEXT             = 0020h
    IGIMIF_RIGHTMENU                 = 0001h
    IGIMII_CMODE                     = 0001h
    IGIMII_SMODE                     = 0002h
    IGIMII_CONFIGURE                 = 0004h
    IGIMII_TOOLS                     = 0008h
    IGIMII_HELP                      = 0010h
    IGIMII_OTHER                     = 0020h
    IGIMII_INPUTTOOLS                = 0040h
    IMFT_RADIOCHECK                  = 00001h
    IMFT_SEPARATOR                   = 00002h
    IMFT_SUBMENU                     = 00004h
    IMFS_GRAYED                      = 00000003h
    IMFS_DISABLED                    = 00000003h
    IMFS_CHECKED                     = 00000008h
    IMFS_HILITE                      = 00000080h
    IMFS_ENABLED                     = 00000000h
    IMFS_UNCHECKED                   = 00000000h
    IMFS_UNHILITE                    = 00000000h
    IMFS_DEFAULT                     = 00001000h

;;;; end vistalater


;;;; vc2010

_WIN32_WINNT_WIN6                = 0600h
_WIN32_WINNT_VISTA               = 0600h
_WIN32_WINNT_WS08                = 0600h
_WIN32_WINNT_WIN7                = 0601h
_WIN32_IE_IE80                   = 0800h
_WIN32_IE_WIN6                   = _WIN32_IE_IE70
_WIN32_IE_WIN7                   = _WIN32_IE_IE80
NTDDI_WINXPSP3                   = 05010300h
NTDDI_WINXPSP4                   = 05010400h
NTDDI_WS03SP2                    = 05020200h
NTDDI_WS03SP3                    = 05020300h
NTDDI_WS03SP4                    = 05020400h
NTDDI_WIN6                       = 06000000h
NTDDI_WIN6SP1                    = 06000100h
NTDDI_WIN6SP2                    = 06000200h
NTDDI_WIN6SP3                    = 06000300h
NTDDI_WIN6SP4                    = 06000400h
NTDDI_VISTA                      = NTDDI_WIN6
NTDDI_VISTASP1                   = NTDDI_WIN6SP1
NTDDI_VISTASP2                   = NTDDI_WIN6SP2
NTDDI_VISTASP3                   = NTDDI_WIN6SP3
NTDDI_VISTASP4                   = NTDDI_WIN6SP4
NTDDI_WS08                       = NTDDI_WIN6SP1
NTDDI_WS08SP2                    = NTDDI_WIN6SP2
NTDDI_WS08SP3                    = NTDDI_WIN6SP3
NTDDI_WS08SP4                    = NTDDI_WIN6SP4
NTDDI_WIN7                       = 06010000h
PSAPI_VERSION                    = 1
NTDDI_VERSION                    = 06010000h
_USE_DECLSPECS_FOR_SAL           = 0
_USE_ATTRIBUTES_FOR_SAL          = 0
_CRT_PACKING                     = 8
__STDC_SECURE_LIB__              = 200411
__STDC_WANT_SECURE_LIB__         = 1
_SECURECRT_FILL_BUFFER_PATTERN   = 0FEh
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0
_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 1
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0
_CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0
_ARGMAX                          = 100
_UPPER                           = 1h
_LOWER                           = 2h
_DIGIT                           = 4h
_SPACE                           = 8h
_PUNCT                           = 10h
_CONTROL                         = 20h
_BLANK                           = 40h
_HEX                             = 80h
_LEADBYTE                        = 8000h
_ALPHA                           = 0100h
;DUMMYUNIONNAME6                  = u6
;DUMMYUNIONNAME7                  = u7
;DUMMYUNIONNAME8                  = u8
;DUMMYUNIONNAME9                  = u9
;DUMMYSTRUCTNAME                  = s
;DUMMYSTRUCTNAME2                 = s2
;DUMMYSTRUCTNAME3                 = s3
;DUMMYSTRUCTNAME4                 = s4
;DUMMYSTRUCTNAME5                 = s5
DISPATCH_LEVEL                   = 2
APC_LEVEL                        = 1
PASSIVE_LEVEL                    = 0
ALL_PROCESSOR_GROUPS             = 0FFFFh
VER_SUITE_WH_SERVER              = 00008000h
PRODUCT_HOME_PREMIUM_N           = 0000001Ah
PRODUCT_ENTERPRISE_N             = 0000001Bh
PRODUCT_ULTIMATE_N               = 0000001Ch
PRODUCT_WEB_SERVER_CORE          = 0000001Dh
PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT = 0000001Eh
PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY = 0000001Fh
PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING = 00000020h
PRODUCT_SERVER_FOUNDATION        = 00000021h
PRODUCT_HOME_PREMIUM_SERVER      = 00000022h
PRODUCT_SERVER_FOR_SMALLBUSINESS_V = 00000023h
PRODUCT_STANDARD_SERVER_V        = 00000024h
PRODUCT_DATACENTER_SERVER_V      = 00000025h
PRODUCT_ENTERPRISE_SERVER_V      = 00000026h
PRODUCT_DATACENTER_SERVER_CORE_V = 00000027h
PRODUCT_STANDARD_SERVER_CORE_V   = 00000028h
PRODUCT_ENTERPRISE_SERVER_CORE_V = 00000029h
PRODUCT_HYPERV                   = 0000002Ah
PRODUCT_STORAGE_EXPRESS_SERVER_CORE = 0000002Bh
PRODUCT_STORAGE_STANDARD_SERVER_CORE = 0000002Ch
PRODUCT_STORAGE_WORKGROUP_SERVER_CORE = 0000002Dh
PRODUCT_STORAGE_ENTERPRISE_SERVER_CORE = 0000002Eh
PRODUCT_STARTER_N                = 0000002Fh
PRODUCT_PROFESSIONAL             = 00000030h
PRODUCT_PROFESSIONAL_N           = 00000031h
PRODUCT_SB_SOLUTION_SERVER       = 00000032h
PRODUCT_SERVER_FOR_SB_SOLUTIONS  = 00000033h
PRODUCT_STANDARD_SERVER_SOLUTIONS = 00000034h
PRODUCT_STANDARD_SERVER_SOLUTIONS_CORE = 00000035h
PRODUCT_SB_SOLUTION_SERVER_EM    = 00000036h
PRODUCT_SERVER_FOR_SB_SOLUTIONS_EM = 00000037h
PRODUCT_SOLUTION_EMBEDDEDSERVER  = 00000038h
PRODUCT_SOLUTION_EMBEDDEDSERVER_CORE = 00000039h
PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_CORE = 0000003Fh
PRODUCT_ESSENTIALBUSINESS_SERVER_MGMT = 0000003Bh
PRODUCT_ESSENTIALBUSINESS_SERVER_ADDL = 0000003Ch
PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVC = 0000003Dh
PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVC = 0000003Eh
PRODUCT_CLUSTER_SERVER_V         = 00000040h
PRODUCT_EMBEDDED                 = 00000041h
PRODUCT_STARTER_E                = 00000042h
PRODUCT_HOME_BASIC_E             = 00000043h
PRODUCT_HOME_PREMIUM_E           = 00000044h
PRODUCT_PROFESSIONAL_E           = 00000045h
PRODUCT_ENTERPRISE_E             = 00000046h
PRODUCT_ULTIMATE_E               = 00000047h
LANG_SCOTTISH_GAELIC             = 91h
SUBLANG_SCOTTISH_GAELIC          = 01h
SUBLANG_SERBIAN_MONTENEGRO_LATIN = 0Bh
SUBLANG_SERBIAN_MONTENEGRO_CYRILLIC = 0Ch
SUBLANG_SERBIAN_SERBIA_LATIN     = 09h
SUBLANG_SERBIAN_SERBIA_CYRILLIC  = 0Ah
SORT_CHINESE_RADICALSTROKE       = 4h
XSAVE_ALIGN                      = 64
SECURITY_LOCAL_LOGON_RID         = 00000001h
SECURITY_CRED_TYPE_BASE_RID      = 00000041h
SECURITY_CRED_TYPE_RID_COUNT     = 2
SECURITY_CRED_TYPE_THIS_ORG_CERT_RID = 00000001h
SECURITY_MIN_BASE_RID            = 00000050h
SECURITY_APPPOOL_ID_BASE_RID     = 00000052h
SECURITY_APPPOOL_ID_RID_COUNT    = 6
SECURITY_VIRTUALSERVER_ID_BASE_RID = 00000053h
SECURITY_VIRTUALSERVER_ID_RID_COUNT = 6
SECURITY_USERMODEDRIVERHOST_ID_BASE_RID = 00000054h
SECURITY_USERMODEDRIVERHOST_ID_RID_COUNT = 6
SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID = 00000055h
SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_RID_COUNT = 6
SECURITY_WMIHOST_ID_BASE_RID     = 00000056h
SECURITY_WMIHOST_ID_RID_COUNT    = 6
SECURITY_TASK_ID_BASE_RID        = 00000057h
SECURITY_NFS_ID_BASE_RID         = 00000058h
SECURITY_COM_ID_BASE_RID         = 00000059h
SECURITY_VIRTUALACCOUNT_ID_RID_COUNT = 6
SECURITY_MAX_BASE_RID            = 0000006Fh
SECURITY_WINDOWSMOBILE_ID_BASE_RID = 00000070h
DOMAIN_GROUP_RID_ENTERPRISE_READONLY_DOMAIN_CONTROLLERS = 000001F2h
DOMAIN_ALIAS_RID_CERTSVC_DCOM_ACCESS_GROUP = 0000023Eh
ACCESS_REASON_TYPE_MASK          = 0FFFF0000h
ACCESS_REASON_DATA_MASK          = 0000FFFFh
SE_SECURITY_DESCRIPTOR_FLAG_NO_OWNER_ACE = 00000001h
SE_SECURITY_DESCRIPTOR_FLAG_NO_LABEL_ACE = 00000002h
SE_SECURITY_DESCRIPTOR_VALID_FLAGS = 00000003h
MAXIMUM_PROC_PER_GROUP           = 32
MAX_HW_COUNTERS                  = 16
THREAD_PROFILING_FLAG_DISPATCH   = 00000001h
JOB_OBJECT_LIMIT_SUBSET_AFFINITY = 00004000h
PF_XSAVE_ENABLED                 = 17
XSTATE_LEGACY_FLOATING_POINT     = 0
XSTATE_LEGACY_SSE                = 1
XSTATE_GSSE                      = 2
MAXIMUM_XSTATE_FEATURES          = 64
FILE_SUPPORTS_HARD_LINKS         = 00400000h
FILE_SUPPORTS_EXTENDED_ATTRIBUTES = 00800000h
FILE_SUPPORTS_OPEN_BY_FILE_ID    = 01000000h
FILE_SUPPORTS_USN_JOURNAL        = 02000000h
IO_REPARSE_TAG_HSM2              = 80000006h
IO_REPARSE_TAG_WIM               = 80000008h
IO_REPARSE_TAG_CSV               = 80000009h
PROCESSOR_PERF_BOOST_POLICY_DISABLED = 0
PROCESSOR_PERF_BOOST_POLICY_MAX  = 100
CORE_PARKING_POLICY_CHANGE_IDEAL = 0
CORE_PARKING_POLICY_CHANGE_SINGLE = 1
CORE_PARKING_POLICY_CHANGE_ROCKET = 2
CORE_PARKING_POLICY_CHANGE_MAX   = CORE_PARKING_POLICY_CHANGE_ROCKET
POWER_DEVICE_IDLE_POLICY_PERFORMANCE = 0
POWER_DEVICE_IDLE_POLICY_CONSERVATIVE = 1
DIAGNOSTIC_REASON_VERSION        = 0
DIAGNOSTIC_REASON_SIMPLE_STRING  = 00000001h
DIAGNOSTIC_REASON_DETAILED_STRING = 00000002h
DIAGNOSTIC_REASON_NOT_SPECIFIED  = 80000000h
DIAGNOSTIC_REASON_INVALID_FLAGS  = 80000003h
POWER_REQUEST_CONTEXT_VERSION    = 0
POWER_REQUEST_CONTEXT_SIMPLE_STRING = 00000001h
POWER_REQUEST_CONTEXT_DETAILED_STRING = 00000002h
PowerRequestMaximum              = 3
PROC_IDLE_BUCKET_COUNT_EX        = 16
PPM_FIRMWARE_ACPI1C2             = 00000001h
PPM_FIRMWARE_ACPI1C3             = 00000002h
PPM_FIRMWARE_ACPI1TSTATES        = 00000004h
PPM_FIRMWARE_CST                 = 00000008h
PPM_FIRMWARE_CSD                 = 00000010h
PPM_FIRMWARE_PCT                 = 00000020h
PPM_FIRMWARE_PSS                 = 00000040h
PPM_FIRMWARE_XPSS                = 00000080h
PPM_FIRMWARE_PPC                 = 00000100h
PPM_FIRMWARE_PSD                 = 00000200h
PPM_FIRMWARE_PTC                 = 00000400h
PPM_FIRMWARE_TSS                 = 00000800h
PPM_FIRMWARE_TPC                 = 00001000h
PPM_FIRMWARE_TSD                 = 00002000h
PPM_FIRMWARE_PCCH                = 00004000h
PPM_FIRMWARE_PCCP                = 00008000h
POWER_ACTION_PSEUDO_TRANSITION   = 08000000h
POWER_USER_NOTIFY_FORCED_SHUTDOWN = 00000020h
_NLSCMPERROR                     = 2147483647
RTL_UMS_VERSION                  = 0100h
MAX_SUPPORTED_OS_NUM             = 4
INVALID_OS_COUNT                 = 0FFFFh
PERFORMANCE_DATA_VERSION         = 1
READ_THREAD_PROFILING_FLAG_DISPATCHING = 00000001h
READ_THREAD_PROFILING_FLAG_HARDWARE_COUNTERS = 00000002h
REG_BOOT_HIVE                    = 00000400h
CM_SERVICE_NETWORK_BOOT_LOAD     = 00000001h
CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD = 00000002h
CM_SERVICE_USB_DISK_BOOT_LOAD    = 00000004h
TRANSACTION_MANAGER_VOLATILE     = 00000001h
TRANSACTION_MANAGER_COMMIT_DEFAULT = 00000000h
TRANSACTION_MANAGER_COMMIT_SYSTEM_VOLUME = 00000002h
TRANSACTION_MANAGER_COMMIT_SYSTEM_HIVES = 00000004h
TRANSACTION_MANAGER_COMMIT_LOWEST = 00000008h
TRANSACTION_MANAGER_CORRUPT_FOR_RECOVERY = 00000010h
TRANSACTION_MANAGER_CORRUPT_FOR_PROGRESS = 00000020h
TRANSACTION_MANAGER_MAXIMUM_OPTION = 0000003Fh
TRANSACTION_DO_NOT_PROMOTE       = 00000001h
TRANSACTION_MAXIMUM_OPTION       = 00000001h
RESOURCE_MANAGER_VOLATILE        = 00000001h
RESOURCE_MANAGER_COMMUNICATION   = 00000002h
RESOURCE_MANAGER_MAXIMUM_OPTION  = 00000003h
CRM_PROTOCOL_EXPLICIT_MARSHAL_ONLY = 00000001h
CRM_PROTOCOL_DYNAMIC_MARSHAL_INFO = 00000002h
CRM_PROTOCOL_MAXIMUM_OPTION      = 00000003h
ENLISTMENT_SUPERIOR              = 00000001h
ENLISTMENT_MAXIMUM_OPTION        = 00000001h
TRANSACTION_NOTIFY_MASK          = 3FFFFFFFh
TRANSACTION_NOTIFY_PREPREPARE    = 00000001h
TRANSACTION_NOTIFY_PREPARE       = 00000002h
TRANSACTION_NOTIFY_COMMIT        = 00000004h
TRANSACTION_NOTIFY_ROLLBACK      = 00000008h
TRANSACTION_NOTIFY_PREPREPARE_COMPLETE = 00000010h
TRANSACTION_NOTIFY_PREPARE_COMPLETE = 00000020h
TRANSACTION_NOTIFY_COMMIT_COMPLETE = 00000040h
TRANSACTION_NOTIFY_ROLLBACK_COMPLETE = 00000080h
TRANSACTION_NOTIFY_RECOVER       = 00000100h
TRANSACTION_NOTIFY_SINGLE_PHASE_COMMIT = 00000200h
TRANSACTION_NOTIFY_DELEGATE_COMMIT = 00000400h
TRANSACTION_NOTIFY_RECOVER_QUERY = 00000800h
TRANSACTION_NOTIFY_ENLIST_PREPREPARE = 00001000h
TRANSACTION_NOTIFY_LAST_RECOVER  = 00002000h
TRANSACTION_NOTIFY_INDOUBT       = 00004000h
TRANSACTION_NOTIFY_PROPAGATE_PULL = 00008000h
TRANSACTION_NOTIFY_PROPAGATE_PUSH = 00010000h
TRANSACTION_NOTIFY_MARSHAL       = 00020000h
TRANSACTION_NOTIFY_ENLIST_MASK   = 00040000h
TRANSACTION_NOTIFY_RM_DISCONNECTED = 01000000h
TRANSACTION_NOTIFY_TM_ONLINE     = 02000000h
TRANSACTION_NOTIFY_COMMIT_REQUEST = 04000000h
TRANSACTION_NOTIFY_PROMOTE       = 08000000h
TRANSACTION_NOTIFY_PROMOTE_NEW   = 10000000h
TRANSACTION_NOTIFY_REQUEST_OUTCOME = 20000000h
TRANSACTION_NOTIFY_COMMIT_FINALIZE = 40000000h
TRANSACTION_NOTIFICATION_TM_ONLINE_FLAG_IS_CLUSTERED = 1h
KTM_MARSHAL_BLOB_VERSION_MAJOR   = 1
KTM_MARSHAL_BLOB_VERSION_MINOR   = 1
MAX_TRANSACTION_DESCRIPTION_LENGTH = 64
MAX_RESOURCEMANAGER_DESCRIPTION_LENGTH = 64
TRANSACTION_RIGHT_RESERVED1      = 0040h
ACTIVATION_CONTEXT_SECTION_COMPATIBILITY_INFO = 11
__SAL_H_FULL_VER                 = 140050727
__SPECSTRINGS_STRICT_LEVEL       = 1
GetCurrentTime                   fix GetTickCount
COPY_FILE_NO_BUFFERING           = 00001000h
REPLACEFILE_IGNORE_ACL_ERRORS    = 00000004h
FAIL_FAST_GENERATE_EXCEPTION_ADDRESS = 1h
FAIL_FAST_NO_HARD_ERROR_DLG      = 2h
INHERIT_PARENT_AFFINITY          = 00010000h
PROCESS_AFFINITY_ENABLE_AUTO_UPDATE = 00000001h
PROCESS_DEP_ENABLE               = 00000001h
PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION = 00000002h
FILE_CACHE_MAX_HARD_ENABLE       = 00000001h
FILE_CACHE_MAX_HARD_DISABLE      = 00000002h
FILE_CACHE_MIN_HARD_ENABLE       = 00000004h
FILE_CACHE_MIN_HARD_DISABLE      = 00000008h
STARTF_TITLEISLINKNAME           = 00000800h
STARTF_TITLEISAPPID              = 00001000h
STARTF_PREVENTPINNING            = 00002000h
LOAD_LIBRARY_REQUIRE_SIGNED_TARGET = 00000080h
PROCESS_CREATION_MITIGATION_POLICY_DEP_ENABLE = 01h
PROCESS_CREATION_MITIGATION_POLICY_DEP_ATL_THUNK_ENABLE = 02h
PROCESS_CREATION_MITIGATION_POLICY_SEHOP_ENABLE = 04h
RESOURCE_ENUM_VALIDATE           = 0008h
RESOURCE_ENUM_MODULE_EXACT       = 0010h
BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE = 1h
BASE_SEARCH_PATH_DISABLE_SAFE_SEARCHMODE = 10000h
BASE_SEARCH_PATH_PERMANENT       = 8000h
BASE_SEARCH_PATH_INVALID_FLAGS   = 18001h
FIND_FIRST_EX_LARGE_FETCH        = 00000002h
LOGON32_PROVIDER_VIRTUAL         = 4
FACILITY_XPS                     = 82
FACILITY_USERMODE_VOLMGR         = 56
FACILITY_USERMODE_VIRTUALIZATION = 55
FACILITY_USERMODE_VHD            = 58
FACILITY_UI                      = 42
FACILITY_SDIAG                   = 60
FACILITY_RAS                     = 83
FACILITY_OPC                     = 81
FACILITY_WEBSERVICES             = 61
FACILITY_MBN                     = 84
FACILITY_BCD                     = 57
ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING = 304
ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME = 305
ERROR_SECURITY_STREAM_IS_INCONSISTENT = 306
ERROR_INVALID_LOCK_RANGE         = 307
ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT = 308
ERROR_NOTIFICATION_GUID_ALREADY_DEFINED = 309
ERROR_OPLOCK_SWITCHED_TO_NEW_HANDLE = 800
ERROR_CANNOT_GRANT_REQUESTED_OPLOCK = 801
ERROR_CANNOT_BREAK_OPLOCK        = 802
ERROR_OPLOCK_HANDLE_CLOSED       = 803
ERROR_NO_ACE_CONDITION           = 804
ERROR_INVALID_ACE_CONDITION      = 805
ERROR_APP_HANG                   = 1298
ERROR_NO_NVRAM_RESOURCES         = 1470
ERROR_FAIL_FAST_EXCEPTION        = 1653
RPC_S_COOKIE_AUTH_FAILED         = 1833
PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED = 4050
PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO = 4051
PEERDIST_ERROR_MISSING_DATA      = 4052
PEERDIST_ERROR_NO_MORE           = 4053
PEERDIST_ERROR_NOT_INITIALIZED   = 4054
PEERDIST_ERROR_ALREADY_INITIALIZED = 4055
PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS = 4056
PEERDIST_ERROR_INVALIDATED       = 4057
PEERDIST_ERROR_ALREADY_EXISTS    = 4058
PEERDIST_ERROR_OPERATION_NOTFOUND = 4059
PEERDIST_ERROR_ALREADY_COMPLETED = 4060
PEERDIST_ERROR_OUT_OF_BOUNDS     = 4061
PEERDIST_ERROR_VERSION_UNSUPPORTED = 4062
PEERDIST_ERROR_INVALID_CONFIGURATION = 4063
PEERDIST_ERROR_NOT_LICENSED      = 4064
PEERDIST_ERROR_SERVICE_UNAVAILABLE = 4065
ERROR_CLUSTER_MAX_NODES_IN_CLUSTER = 5934
ERROR_CLUSTER_TOO_MANY_NODES     = 5935
ERROR_CLUSTER_OBJECT_ALREADY_USED = 5936
ERROR_NONCORE_GROUPS_FOUND       = 5937
ERROR_FILE_SHARE_RESOURCE_CONFLICT = 5938
ERROR_CLUSTER_EVICT_INVALID_REQUEST = 5939
ERROR_CLUSTER_SINGLETON_RESOURCE = 5940
ERROR_CLUSTER_GROUP_SINGLETON_RESOURCE = 5941
ERROR_CLUSTER_RESOURCE_PROVIDER_FAILED = 5942
ERROR_CLUSTER_RESOURCE_CONFIGURATION_ERROR = 5943
ERROR_CLUSTER_GROUP_BUSY         = 5944
ERROR_CLUSTER_NOT_SHARED_VOLUME  = 5945
ERROR_CLUSTER_INVALID_SECURITY_DESCRIPTOR = 5946
ERROR_CLUSTER_SHARED_VOLUMES_IN_USE = 5947
ERROR_CLUSTER_USE_SHARED_VOLUMES_API = 5948
ERROR_CLUSTER_BACKUP_IN_PROGRESS = 5949
ERROR_NON_CSV_PATH               = 5950
ERROR_CSV_VOLUME_NOT_LOCAL       = 5951
ERROR_CLUSTER_WATCHDOG_TERMINATING = 5952
ERROR_ENCRYPTION_POLICY_DENIES_OPERATION = 6022
ERROR_TRANSACTIONMANAGER_IDENTITY_MISMATCH = 6727
ERROR_RM_CANNOT_BE_FROZEN_FOR_SNAPSHOT = 6728
ERROR_TRANSACTION_MUST_WRITETHROUGH = 6729
ERROR_TRANSACTION_NO_SUPERIOR    = 6730
ERROR_HEURISTIC_DAMAGE_POSSIBLE  = 6731
ERROR_EXPIRED_HANDLE             = 6854
ERROR_TRANSACTION_NOT_ENLISTED   = 6855
ERROR_TS_VIDEO_SUBSYSTEM_ERROR   = 7070
ERROR_DS_DRA_CORRUPT_UTD_VECTOR  = 8629
ERROR_DS_DRA_SECRETS_DENIED      = 8630
ERROR_DS_RESERVED_MAPI_ID        = 8631
ERROR_DS_MAPI_ID_NOT_AVAILABLE   = 8632
ERROR_DS_DRA_MISSING_KRBTGT_SECRET = 8633
ERROR_DS_DOMAIN_NAME_EXISTS_IN_FOREST = 8634
ERROR_DS_FLAT_NAME_EXISTS_IN_FOREST = 8635
ERROR_INVALID_USER_PRINCIPAL_NAME = 8636
ERROR_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS = 8637
ERROR_DS_OID_NOT_FOUND           = 8638
ERROR_DS_DRA_RECYCLED_TARGET     = 8639
DNS_ERROR_DELEGATION_REQUIRED    = 9571
DNS_ERROR_INVALID_POLICY_TABLE   = 9572
WSA_SECURE_HOST_NOT_FOUND        = 11032
WSA_IPSEC_NAME_POLICY_ERROR      = 11033
ERROR_IPSEC_IKE_SIMULTANEOUS_REKEY = 13821
ERROR_IPSEC_IKE_CRITICAL_PAYLOAD_NOT_RECOGNIZED = 13823
ERROR_IPSEC_IKE_INVALID_MAJOR_VERSION = 13880
ERROR_IPSEC_IKE_KILL_DUMMY_NAP_TUNNEL = 13898
ERROR_IPSEC_IKE_INNER_IP_ASSIGNMENT_FAILURE = 13899
ERROR_IPSEC_IKE_REQUIRE_CP_PAYLOAD_MISSING = 13900
ERROR_IPSEC_KEY_MODULE_IMPERSONATION_NEGOTIATION_PENDING = 13901
ERROR_IPSEC_IKE_COEXISTENCE_SUPPRESS = 13902
ERROR_IPSEC_IKE_RATELIMIT_DROP   = 13903
ERROR_IPSEC_IKE_PEER_DOESNT_SUPPORT_MOBIKE = 13904
ERROR_IPSEC_IKE_AUTHORIZATION_FAILURE = 13905
ERROR_IPSEC_IKE_STRONG_CRED_AUTHORIZATION_FAILURE = 13906
ERROR_IPSEC_IKE_AUTHORIZATION_FAILURE_WITH_OPTIONAL_RETRY = 13907
ERROR_IPSEC_IKE_STRONG_CRED_AUTHORIZATION_AND_CERTMAP_FAILURE = 13908
ERROR_IPSEC_IKE_NEG_STATUS_EXTENDED_END = 13909
ERROR_IPSEC_AUTH_FIREWALL_DROP   = 13917
ERROR_IPSEC_THROTTLE_DROP        = 13918
ERROR_IPSEC_DOSP_BLOCK           = 13925
ERROR_IPSEC_DOSP_RECEIVED_MULTICAST = 13926
ERROR_IPSEC_DOSP_INVALID_PACKET  = 13927
ERROR_IPSEC_DOSP_STATE_LOOKUP_FAILED = 13928
ERROR_IPSEC_DOSP_MAX_ENTRIES     = 13929
ERROR_IPSEC_DOSP_KEYMOD_NOT_ALLOWED = 13930
ERROR_IPSEC_DOSP_NOT_INSTALLED   = 13931
ERROR_IPSEC_DOSP_MAX_PER_IP_RATELIMIT_QUEUES = 13932
ERROR_HASH_NOT_SUPPORTED         = 15300
ERROR_HASH_NOT_PRESENT           = 15301
REMOTE_PROTOCOL_INFO_FLAG_LOOPBACK = 00000001h
REMOTE_PROTOCOL_INFO_FLAG_OFFLINE = 00000002h
MICROSOFT_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS = 0
PSINJECT_DLFONT                  = 0DDDDDDDDh
DISPLAYCONFIG_MAXPATH            = 1024
DISPLAYCONFIG_PATH_MODE_IDX_INVALID = 0FFFFFFFFh
DISPLAYCONFIG_SOURCE_IN_USE      = 00000001h
DISPLAYCONFIG_TARGET_IN_USE      = 00000001h
DISPLAYCONFIG_TARGET_FORCIBLE    = 00000002h
DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_BOOT = 00000004h
DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_PATH = 00000008h
DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_SYSTEM = 00000010h
DISPLAYCONFIG_PATH_ACTIVE        = 00000001h
QDC_ALL_PATHS                    = 00000001h
QDC_ONLY_ACTIVE_PATHS            = 00000002h
QDC_DATABASE_CURRENT             = 00000004h
SDC_TOPOLOGY_INTERNAL            = 00000001h
SDC_TOPOLOGY_CLONE               = 00000002h
SDC_TOPOLOGY_EXTEND              = 00000004h
SDC_TOPOLOGY_EXTERNAL            = 00000008h
SDC_TOPOLOGY_SUPPLIED            = 00000010h
SDC_USE_SUPPLIED_DISPLAY_CONFIG  = 00000020h
SDC_VALIDATE                     = 00000040h
SDC_APPLY                        = 00000080h
SDC_NO_OPTIMIZATION              = 00000100h
SDC_SAVE_TO_DATABASE             = 00000200h
SDC_ALLOW_CHANGES                = 00000400h
SDC_PATH_PERSIST_IF_REQUIRED     = 00000800h
SDC_FORCE_MODE_ENUMERATION       = 00001000h
SDC_ALLOW_PATH_ORDER_CHANGES     = 00002000h
WM_GESTURE                       = 0119h
WM_GESTURENOTIFY                 = 011Ah
WM_TOUCH                         = 0240h
WM_DWMSENDICONICTHUMBNAIL        = 0323h
WM_DWMSENDICONICLIVEPREVIEWBITMAP = 0326h
MOD_NOREPEAT                     = 4000h
WDA_NONE                         = 00000000h
WDA_MONITOR                      = 00000001h
TOUCHEVENTF_MOVE                 = 0001h
TOUCHEVENTF_DOWN                 = 0002h
TOUCHEVENTF_UP                   = 0004h
TOUCHEVENTF_INRANGE              = 0008h
TOUCHEVENTF_PRIMARY              = 0010h
TOUCHEVENTF_NOCOALESCE           = 0020h
TOUCHEVENTF_PEN                  = 0040h
TOUCHEVENTF_PALM                 = 0080h
TOUCHINPUTMASKF_TIMEFROMSYSTEM   = 0001h
TOUCHINPUTMASKF_EXTRAINFO        = 0002h
TOUCHINPUTMASKF_CONTACTAREA      = 0004h
TWF_FINETOUCH                    = 00000001h
TWF_WANTPALM                     = 00000002h
SM_DIGITIZER                     = 94
SM_MAXIMUMTOUCHES                = 95
TPM_WORKAREA                     = 10000h
GR_GDIOBJECTS_PEAK               = 2
GR_USEROBJECTS_PEAK              = 4
GR_GLOBAL                        = -2
SPI_GETHUNGAPPTIMEOUT            = 0078h
SPI_SETHUNGAPPTIMEOUT            = 0079h
SPI_GETWAITTOKILLTIMEOUT         = 007Ah
SPI_SETWAITTOKILLTIMEOUT         = 007Bh
SPI_GETWAITTOKILLSERVICETIMEOUT  = 007Ch
SPI_SETWAITTOKILLSERVICETIMEOUT  = 007Dh
SPI_GETMOUSEDOCKTHRESHOLD        = 007Eh
SPI_SETMOUSEDOCKTHRESHOLD        = 007Fh
SPI_GETPENDOCKTHRESHOLD          = 0080h
SPI_SETPENDOCKTHRESHOLD          = 0081h
SPI_GETWINARRANGING              = 0082h
SPI_SETWINARRANGING              = 0083h
SPI_GETMOUSEDRAGOUTTHRESHOLD     = 0084h
SPI_SETMOUSEDRAGOUTTHRESHOLD     = 0085h
SPI_GETPENDRAGOUTTHRESHOLD       = 0086h
SPI_SETPENDRAGOUTTHRESHOLD       = 0087h
SPI_GETMOUSESIDEMOVETHRESHOLD    = 0088h
SPI_SETMOUSESIDEMOVETHRESHOLD    = 0089h
SPI_GETPENSIDEMOVETHRESHOLD      = 008Ah
SPI_SETPENSIDEMOVETHRESHOLD      = 008Bh
SPI_GETDRAGFROMMAXIMIZE          = 008Ch
SPI_SETDRAGFROMMAXIMIZE          = 008Dh
SPI_GETSNAPSIZING                = 008Eh
SPI_SETSNAPSIZING                = 008Fh
SPI_GETDOCKMOVING                = 0090h
SPI_SETDOCKMOVING                = 0091h
CDS_RESET_EX                     = 20000000h
VP_COMMAND_GET                   = 0001h
VP_COMMAND_SET                   = 0002h
VP_FLAGS_TV_MODE                 = 0001h
VP_FLAGS_TV_STANDARD             = 0002h
VP_FLAGS_FLICKER                 = 0004h
VP_FLAGS_OVERSCAN                = 0008h
VP_FLAGS_MAX_UNSCALED            = 0010h
VP_FLAGS_POSITION                = 0020h
VP_FLAGS_BRIGHTNESS              = 0040h
VP_FLAGS_CONTRAST                = 0080h
VP_FLAGS_COPYPROTECT             = 0100h
VP_MODE_WIN_GRAPHICS             = 0001h
VP_MODE_TV_PLAYBACK              = 0002h
VP_TV_STANDARD_NTSC_M            = 0001h
VP_TV_STANDARD_NTSC_M_J          = 0002h
VP_TV_STANDARD_PAL_B             = 0004h
VP_TV_STANDARD_PAL_D             = 0008h
VP_TV_STANDARD_PAL_H             = 0010h
VP_TV_STANDARD_PAL_I             = 0020h
VP_TV_STANDARD_PAL_M             = 0040h
VP_TV_STANDARD_PAL_N             = 0080h
VP_TV_STANDARD_SECAM_B           = 0100h
VP_TV_STANDARD_SECAM_D           = 0200h
VP_TV_STANDARD_SECAM_G           = 0400h
VP_TV_STANDARD_SECAM_H           = 0800h
VP_TV_STANDARD_SECAM_K           = 1000h
VP_TV_STANDARD_SECAM_K1          = 2000h
VP_TV_STANDARD_SECAM_L           = 4000h
VP_TV_STANDARD_WIN_VGA           = 8000h
VP_TV_STANDARD_NTSC_433          = 00010000h
VP_TV_STANDARD_PAL_G             = 00020000h
VP_TV_STANDARD_PAL_60            = 00040000h
VP_TV_STANDARD_SECAM_L1          = 00080000h
VP_CP_TYPE_APS_TRIGGER           = 0001h
VP_CP_TYPE_MACROVISION           = 0002h
VP_CP_CMD_ACTIVATE               = 0001h
VP_CP_CMD_DEACTIVATE             = 0002h
VP_CP_CMD_CHANGE                 = 0004h
EVENT_SYSTEM_END                 = 00FFh
EVENT_OEM_DEFINED_START          = 0101h
EVENT_OEM_DEFINED_END            = 01FFh
EVENT_UIA_EVENTID_START          = 4E00h
EVENT_UIA_EVENTID_END            = 4EFFh
EVENT_UIA_PROPID_START           = 7500h
EVENT_UIA_PROPID_END             = 75FFh
EVENT_CONSOLE_END                = 40FFh
EVENT_SYSTEM_ARRANGMENTPREVIEW   = 8016h
EVENT_OBJECT_END                 = 80FFh
EVENT_AIA_START                  = 0A000h
EVENT_AIA_END                    = 0AFFFh
MSGFLTINFO_NONE                  = 0
MSGFLTINFO_ALREADYALLOWED_FORWND = 1
MSGFLTINFO_ALREADYDISALLOWED_FORWND = 2
MSGFLTINFO_ALLOWED_HIGHER        = 3
MSGFLT_RESET                     = 0
MSGFLT_ALLOW                     = 1
MSGFLT_DISALLOW                  = 2
GF_BEGIN                         = 00000001h
GF_INERTIA                       = 00000002h
GF_END                           = 00000004h
GID_BEGIN                        = 1
GID_END                          = 2
GID_ZOOM                         = 3
GID_PAN                          = 4
GID_ROTATE                       = 5
GID_TWOFINGERTAP                 = 6
GID_PRESSANDTAP                  = 7
GID_ROLLOVER                     = GID_PRESSANDTAP
GC_ALLGESTURES                   = 00000001h
GC_ZOOM                          = 00000001h
GC_PAN                           = 00000001h
GC_PAN_WITH_SINGLE_FINGER_VERTICALLY = 00000002h
GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY = 00000004h
GC_PAN_WITH_GUTTER               = 00000008h
GC_PAN_WITH_INERTIA              = 00000010h
GC_ROTATE                        = 00000001h
GC_TWOFINGERTAP                  = 00000001h
GC_PRESSANDTAP                   = 00000001h
GC_ROLLOVER                      = GC_PRESSANDTAP
GESTURECONFIGMAXCOUNT            = 256
GCF_INCLUDE_ANCESTORS            = 00000001h
NID_INTEGRATED_TOUCH             = 00000001h
NID_EXTERNAL_TOUCH               = 00000002h
NID_INTEGRATED_PEN               = 00000004h
NID_EXTERNAL_PEN                 = 00000008h
NID_MULTI_INPUT                  = 00000040h
NID_READY                        = 00000080h
LCMAP_TITLECASE                  = 00000300h
LOCALE_NEUTRALDATA               = 00000010h
LOCALE_SPECIFICDATA              = 00000020h
SORT_DIGITSASNUMBERS             = 00000008h
LOCALE_RETURN_GENITIVE_NAMES     = 10000000h
LOCALE_ALLOW_NEUTRAL_NAMES       = 08000000h
LOCALE_SLOCALIZEDDISPLAYNAME     = 00000002h
LOCALE_SENGLISHDISPLAYNAME       = 00000072h
LOCALE_SNATIVEDISPLAYNAME        = 00000073h
LOCALE_SLOCALIZEDLANGUAGENAME    = 0000006Fh
LOCALE_SENGLISHLANGUAGENAME      = 00001001h
LOCALE_SNATIVELANGUAGENAME       = 00000004h
LOCALE_SLOCALIZEDCOUNTRYNAME     = 00000006h
LOCALE_SENGLISHCOUNTRYNAME       = 00001002h
LOCALE_SNATIVECOUNTRYNAME        = 00000008h
LOCALE_IREADINGLAYOUT            = 00000070h
LOCALE_INEUTRAL                  = 00000071h
LOCALE_INEGATIVEPERCENT          = 00000074h
LOCALE_IPOSITIVEPERCENT          = 00000075h
LOCALE_SPERCENT                  = 00000076h
LOCALE_SPERMILLE                 = 00000077h
LOCALE_SMONTHDAY                 = 00000078h
LOCALE_SSHORTTIME                = 00000079h
LOCALE_SOPENTYPELANGUAGETAG      = 0000007Ah
LOCALE_SSORTLOCALE               = 0000007Bh
DATE_AUTOLAYOUT                  = 00000040h
CAL_RETURN_GENITIVE_NAMES        = LOCALE_RETURN_GENITIVE_NAMES
CAL_SMONTHDAY                    = 00000038h
CAL_SABBREVERASTRING             = 00000039h
;MUI_CALLBACK_ALL_FLAGS           = MUI_CALLBACK_FLAG_UPGRADED_INSTALLATION
FILE_VER_GET_PREFETCHED          = 04h
REASON_SWINSTALL                 = SHTDN_REASON_MAJOR_SOFTWARE or SHTDN_REASON_MINOR_INSTALLATION
REASON_HWINSTALL                 = SHTDN_REASON_MAJOR_HARDWARE or SHTDN_REASON_MINOR_INSTALLATION
REASON_SERVICEHANG               = SHTDN_REASON_MAJOR_SOFTWARE or SHTDN_REASON_MINOR_HUNG
REASON_UNSTABLE                  = SHTDN_REASON_MAJOR_SYSTEM or SHTDN_REASON_MINOR_UNSTABLE
REASON_SWHWRECONF                = SHTDN_REASON_MAJOR_SOFTWARE or SHTDN_REASON_MINOR_RECONFIG
REASON_OTHER                     = SHTDN_REASON_MAJOR_OTHER or SHTDN_REASON_MINOR_OTHER
REASON_UNKNOWN                   = SHTDN_REASON_UNKNOWN
;REASON_LEGACY_API                = SHTDN_REASON_LEGACY_API
REASON_PLANNED_FLAG              = SHTDN_REASON_FLAG_PLANNED
SHUTDOWN_SKIP_SVC_PRESHUTDOWN    = 00000100h
WNNC_NET_SMB                     = 00020000h
NEWFORMATDLGWITHLINK             = 1591
IDC_MANAGE_LINK                  = 1592
SND_RING                         = 00100000h
WAVE_MAPPED_DEFAULT_COMMUNICATION_DEVICE = 0010h
ADDRESS_TAG_BIT                  = 80000000h
_JBLEN                           = 16
RPC_C_BINDING_INFINITE_TIMEOUT   = 10
RPC_C_BINDING_MIN_TIMEOUT        = 0
RPC_C_BINDING_DEFAULT_TIMEOUT    = 5
RPC_C_BINDING_MAX_TIMEOUT        = 9
RPC_C_CANCEL_INFINITE_TIMEOUT    = -1
RPC_C_LISTEN_MAX_CALLS_DEFAULT   = 1234
RPC_C_PROTSEQ_MAX_REQS_DEFAULT   = 10
RPC_C_BIND_TO_ALL_NICS           = 1
RPC_C_USE_INTERNET_PORT          = 1h
RPC_C_USE_INTRANET_PORT          = 2h
RPC_C_DONT_FAIL                  = 4h
RPC_C_RPCHTTP_USE_LOAD_BALANCE   = 8h
RPC_C_MQ_TEMPORARY               = 0000h
RPC_C_MQ_PERMANENT               = 0001h
RPC_C_MQ_CLEAR_ON_OPEN           = 0002h
RPC_C_MQ_USE_EXISTING_SECURITY   = 0004h
RPC_C_MQ_AUTHN_LEVEL_NONE        = 0000h
RPC_C_MQ_AUTHN_LEVEL_PKT_INTEGRITY = 0008h
RPC_C_MQ_AUTHN_LEVEL_PKT_PRIVACY = 0010h
RPC_C_MQ_EXPRESS                 = 0
RPC_C_MQ_RECOVERABLE             = 1
RPC_C_MQ_JOURNAL_NONE            = 0
RPC_C_MQ_JOURNAL_DEADLETTER      = 1
RPC_C_MQ_JOURNAL_ALWAYS          = 2
RPC_C_OPT_MQ_DELIVERY            = 1
RPC_C_OPT_MQ_PRIORITY            = 2
RPC_C_OPT_MQ_JOURNAL             = 3
RPC_C_OPT_MQ_ACKNOWLEDGE         = 4
RPC_C_OPT_MQ_AUTHN_SERVICE       = 5
RPC_C_OPT_MQ_AUTHN_LEVEL         = 6
RPC_C_OPT_MQ_TIME_TO_REACH_QUEUE = 7
RPC_C_OPT_MQ_TIME_TO_BE_RECEIVED = 8
RPC_C_OPT_BINDING_NONCAUSAL      = 9
RPC_C_OPT_SECURITY_CALLBACK      = 10
RPC_C_OPT_UNIQUE_BINDING         = 11
RPC_C_OPT_MAX_OPTIONS            = 12
RPC_C_OPT_CALL_TIMEOUT           = 12
RPC_C_OPT_DONT_LINGER            = 13
RPC_C_OPT_TRANS_SEND_BUFFER_SIZE = 5
RPC_C_OPT_TRUST_PEER             = 14
RPC_C_OPT_ASYNC_BLOCK            = 15
RPC_C_OPT_OPTIMIZE_TIME          = 16
RPC_C_FULL_CERT_CHAIN            = 0001h
TYPEDEF RPC_MGR_EPV, void
RPC_C_STATS_CALLS_IN             = 0
RPC_C_STATS_CALLS_OUT            = 1
RPC_C_STATS_PKTS_IN              = 2
RPC_C_STATS_PKTS_OUT             = 3
RPC_C_AUTHN_LEVEL_DEFAULT        = 0
RPC_C_AUTHN_LEVEL_NONE           = 1
RPC_C_AUTHN_LEVEL_CONNECT        = 2
RPC_C_AUTHN_LEVEL_CALL           = 3
RPC_C_AUTHN_LEVEL_PKT            = 4
RPC_C_AUTHN_LEVEL_PKT_INTEGRITY  = 5
RPC_C_AUTHN_LEVEL_PKT_PRIVACY    = 6
RPC_C_IMP_LEVEL_DEFAULT          = 0
RPC_C_IMP_LEVEL_ANONYMOUS        = 1
RPC_C_IMP_LEVEL_IDENTIFY         = 2
RPC_C_IMP_LEVEL_IMPERSONATE      = 3
RPC_C_IMP_LEVEL_DELEGATE         = 4
RPC_C_QOS_IDENTITY_STATIC        = 0
RPC_C_QOS_IDENTITY_DYNAMIC       = 1
RPC_C_QOS_CAPABILITIES_DEFAULT   = 0h
RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH = 1h
RPC_C_QOS_CAPABILITIES_MAKE_FULLSIC = 2h
RPC_C_QOS_CAPABILITIES_ANY_AUTHORITY = 4h
RPC_C_QOS_CAPABILITIES_IGNORE_DELEGATE_FAILURE = 8h
RPC_C_QOS_CAPABILITIES_LOCAL_MA_HINT = 10h
RPC_C_QOS_CAPABILITIES_SCHANNEL_FULL_AUTH_IDENTITY = 20h
RPC_C_AUTHN_NONE                 = 0
RPC_C_AUTHN_DCE_PRIVATE          = 1
RPC_C_AUTHN_DCE_PUBLIC           = 2
RPC_C_AUTHN_DEC_PUBLIC           = 4
RPC_C_AUTHN_GSS_NEGOTIATE        = 9
RPC_C_AUTHN_WINNT                = 10
RPC_C_AUTHN_GSS_SCHANNEL         = 14
RPC_C_AUTHN_GSS_KERBEROS         = 16
RPC_C_AUTHN_DPA                  = 17
RPC_C_AUTHN_MSN                  = 18
RPC_C_AUTHN_DIGEST               = 21
RPC_C_AUTHN_KERNEL               = 20
RPC_C_AUTHN_NEGO_EXTENDER        = 30
RPC_C_AUTHN_PKU2U                = 31
RPC_C_AUTHN_MQ                   = 100
RPC_C_AUTHN_DEFAULT              = 0FFFFFFFFh
RPC_C_SECURITY_QOS_VERSION       = 1
RPC_C_SECURITY_QOS_VERSION_1     = 1
SEC_WINNT_AUTH_IDENTITY_ANSI     = 1h
SEC_WINNT_AUTH_IDENTITY_UNICODE  = 2h
RPC_C_SECURITY_QOS_VERSION_2     = 2
RPC_C_AUTHN_INFO_TYPE_HTTP       = 1
RPC_C_HTTP_AUTHN_TARGET_SERVER   = 1
RPC_C_HTTP_AUTHN_TARGET_PROXY    = 2
RPC_C_HTTP_AUTHN_SCHEME_BASIC    = 00000001h
RPC_C_HTTP_AUTHN_SCHEME_NTLM     = 00000002h
RPC_C_HTTP_AUTHN_SCHEME_PASSPORT = 00000004h
RPC_C_HTTP_AUTHN_SCHEME_DIGEST   = 00000008h
RPC_C_HTTP_AUTHN_SCHEME_NEGOTIATE = 00000010h
RPC_C_HTTP_AUTHN_SCHEME_CERT     = 00010000h
RPC_C_HTTP_FLAG_USE_SSL          = 1
RPC_C_HTTP_FLAG_USE_FIRST_AUTH_SCHEME = 2
RPC_C_HTTP_FLAG_IGNORE_CERT_CN_INVALID = 8
RPC_C_HTTP_FLAG_ENABLE_CERT_REVOCATION_CHECK = 16
RPC_C_SECURITY_QOS_VERSION_3     = 3
RPC_C_SECURITY_QOS_VERSION_4     = 4
RPC_PROTSEQ_TCP                  = 1h
RPC_PROTSEQ_NMP                  = 2h
RPC_PROTSEQ_LRPC                 = 3h
RPC_PROTSEQ_HTTP                 = 4h
RPC_BHT_OBJECT_UUID_VALID        = 1h
RPC_BHO_NONCAUSAL                = 1h
RPC_BHO_DONTLINGER               = 2h
RPC_BHO_EXCLUSIVE_AND_GUARANTEED = 4h
RPC_C_AUTHZ_NONE                 = 0
RPC_C_AUTHZ_NAME                 = 1
RPC_C_AUTHZ_DCE                  = 2
RPC_C_AUTHZ_DEFAULT              = 0FFFFFFFFh
DCE_C_ERROR_STRING_LEN           = 256
RPC_C_EP_ALL_ELTS                = 0
RPC_C_EP_MATCH_BY_IF             = 1
RPC_C_EP_MATCH_BY_OBJ            = 2
RPC_C_EP_MATCH_BY_BOTH           = 3
RPC_C_VERS_ALL                   = 1
RPC_C_VERS_COMPATIBLE            = 2
RPC_C_VERS_EXACT                 = 3
RPC_C_VERS_MAJOR_ONLY            = 4
RPC_C_VERS_UPTO                  = 5
RPC_C_MGMT_INQ_IF_IDS            = 0
RPC_C_MGMT_INQ_PRINC_NAME        = 1
RPC_C_MGMT_INQ_STATS             = 2
RPC_C_MGMT_IS_SERVER_LISTEN      = 3
RPC_C_MGMT_STOP_SERVER_LISTEN    = 4
RPC_C_PARM_MAX_PACKET_LENGTH     = 1
RPC_C_PARM_BUFFER_LENGTH         = 2
RPC_IF_AUTOLISTEN                = 0001h
RPC_IF_OLE                       = 0002h
RPC_IF_ALLOW_UNKNOWN_AUTHORITY   = 0004h
RPC_IF_ALLOW_SECURE_ONLY         = 0008h
RPC_IF_ALLOW_CALLBACKS_WITH_NO_AUTH = 0010h
RPC_IF_ALLOW_LOCAL_ONLY          = 0020h
RPC_IF_SEC_NO_CACHE              = 0040h
RPC_IF_SEC_CACHE_PER_PROC        = 0080h
RPC_IF_ASYNC_CALLBACK            = 0100h
RPC_FW_IF_FLAG_DCOM              = 0001h
RPC_CONTEXT_HANDLE_DEFAULT_FLAGS = 00000000h
RPC_CONTEXT_HANDLE_FLAGS         = 30000000h
RPC_CONTEXT_HANDLE_SERIALIZE     = 10000000h
RPC_CONTEXT_HANDLE_DONT_SERIALIZE = 20000000h
RPC_TYPE_STRICT_CONTEXT_HANDLE   = 40000000h
RPC_NCA_FLAGS_DEFAULT            = 00000000h
RPC_NCA_FLAGS_IDEMPOTENT         = 00000001h
RPC_NCA_FLAGS_BROADCAST          = 00000002h
RPC_NCA_FLAGS_MAYBE              = 00000004h
RPCFLG_HAS_GUARANTEE             = 00000010h
RPC_BUFFER_COMPLETE              = 00001000h
RPC_BUFFER_PARTIAL               = 00002000h
RPC_BUFFER_EXTRA                 = 00004000h
RPC_BUFFER_ASYNC                 = 00008000h
RPC_BUFFER_NONOTIFY              = 00010000h
RPCFLG_MESSAGE                   = 01000000h
RPCFLG_AUTO_COMPLETE             = 08000000h
RPCFLG_LOCAL_CALL                = 10000000h
RPCFLG_INPUT_SYNCHRONOUS         = 20000000h
RPCFLG_ASYNCHRONOUS              = 40000000h
RPCFLG_NON_NDR                   = 80000000h
RPCFLG_HAS_MULTI_SYNTAXES        = 02000000h
RPCFLG_HAS_CALLBACK              = 04000000h
RPCFLG_ACCESSIBILITY_BIT1        = 00100000h
RPCFLG_ACCESSIBILITY_BIT2        = 00200000h
RPCFLG_ACCESS_LOCAL              = 00400000h
NDR_CUSTOM_OR_DEFAULT_ALLOCATOR  = 10000000h
NDR_DEFAULT_ALLOCATOR            = 20000000h
RPC_FLAGS_VALID_BIT              = 00008000h
NT351_INTERFACE_SIZE             = 40h
RPC_INTERFACE_HAS_PIPES          = 0001h
TRANSPORT_TYPE_CN                = 01h
TRANSPORT_TYPE_DG                = 02h
TRANSPORT_TYPE_LPC               = 04h
TRANSPORT_TYPE_WMSG              = 08h
RPC_P_ADDR_FORMAT_TCP_IPV4       = 1
RPC_P_ADDR_FORMAT_TCP_IPV6       = 2
RPC_C_OPT_SESSION_ID             = 6
RPC_C_OPT_COOKIE_AUTH            = 7
RPC_C_OPT_RESOURCE_TYPE_UUID     = 8
RPC_PROXY_CONNECTION_TYPE_IN_PROXY = 0
RPC_PROXY_CONNECTION_TYPE_OUT_PROXY = 1
RPC_C_NS_SYNTAX_DEFAULT          = 0
RPC_C_NS_SYNTAX_DCE              = 3
RPC_C_PROFILE_DEFAULT_ELT        = 0
RPC_C_PROFILE_ALL_ELT            = 1
RPC_C_PROFILE_ALL_ELTS           = RPC_C_PROFILE_ALL_ELT
RPC_C_PROFILE_MATCH_BY_IF        = 2
RPC_C_PROFILE_MATCH_BY_MBR       = 3
RPC_C_PROFILE_MATCH_BY_BOTH      = 4
RPC_C_NS_DEFAULT_EXP_AGE         = -1
RPC_S_OK                         = ERROR_SUCCESS
RPC_S_INVALID_ARG                = ERROR_INVALID_PARAMETER
RPC_S_OUT_OF_MEMORY              = ERROR_OUTOFMEMORY
RPC_S_OUT_OF_THREADS             = ERROR_MAX_THRDS_REACHED
RPC_S_INVALID_LEVEL              = ERROR_INVALID_PARAMETER
RPC_S_BUFFER_TOO_SMALL           = ERROR_INSUFFICIENT_BUFFER
RPC_S_INVALID_SECURITY_DESC      = ERROR_INVALID_SECURITY_DESCR
RPC_S_ACCESS_DENIED              = ERROR_ACCESS_DENIED
RPC_S_SERVER_OUT_OF_MEMORY       = ERROR_NOT_ENOUGH_SERVER_MEMORY
RPC_S_ASYNC_CALL_PENDING         = ERROR_IO_PENDING
RPC_S_UNKNOWN_PRINCIPAL          = ERROR_NONE_MAPPED
RPC_S_TIMEOUT                    = ERROR_TIMEOUT
RPC_S_NOT_ENOUGH_QUOTA           = ERROR_NOT_ENOUGH_QUOTA
RPC_X_NO_MEMORY                  = RPC_S_OUT_OF_MEMORY
RPC_X_INVALID_BOUND              = RPC_S_INVALID_BOUND
RPC_X_INVALID_TAG                = RPC_S_INVALID_TAG
RPC_X_ENUM_VALUE_TOO_LARGE       = RPC_X_ENUM_VALUE_OUT_OF_RANGE
RPC_X_SS_CONTEXT_MISMATCH        = ERROR_INVALID_HANDLE
RPC_X_INVALID_BUFFER             = ERROR_INVALID_USER_BUFFER
RPC_X_PIPE_APP_MEMORY            = ERROR_OUTOFMEMORY
RPC_X_INVALID_PIPE_OPERATION     = RPC_X_WRONG_PIPE_ORDER
RPC_C_NOTIFY_ON_SEND_COMPLETE    = 1h
MaxNumberOfEEInfoParams          = 4
RPC_EEINFO_VERSION               = 1
EEInfoPreviousRecordsMissing     = 1
EEInfoNextRecordsMissing         = 2
EEInfoUseFileTime                = 4
EEInfoGCCOM                      = 11
EEInfoGCFRS                      = 12
RPC_CALL_ATTRIBUTES_VERSION      = 2
RPC_QUERY_SERVER_PRINCIPAL_NAME  = 02h
RPC_QUERY_CLIENT_PRINCIPAL_NAME  = 04h
RPC_QUERY_CALL_LOCAL_ADDRESS     = 08h
RPC_QUERY_CLIENT_PID             = 10h
RPC_QUERY_IS_CLIENT_LOCAL        = 20h
RPC_QUERY_NO_AUTH_REQUIRED       = 40h
RPC_CALL_STATUS_CANCELLED        = 01h
RPC_CALL_STATUS_DISCONNECTED     = 02h
RPC_DE_USE_CURRENT_EEINFO        = 1
SEE_MASK_DEFAULT                 = 00000000h
NIIF_RESPECT_QUIET_TIME          = 00000080h
SHGNLI_USEURLEXT                 = 000000020h
KP_PIN_ID                        = 43
KP_PIN_INFO                      = 44
PP_SECURE_KEYEXCHANGE_PIN        = 47
PP_SECURE_SIGNATURE_PIN          = 48
BCRYPT_OBJECT_ALIGNMENT          = 16
KDF_HASH_ALGORITHM               = 0h
KDF_SECRET_PREPEND               = 1h
KDF_SECRET_APPEND                = 2h
KDF_HMAC_KEY                     = 3h
KDF_TLS_PRF_LABEL                = 4h
KDF_TLS_PRF_SEED                 = 5h
KDF_SECRET_HANDLE                = 6h
KDF_TLS_PRF_PROTOCOL             = 7h
KDF_ALGORITHMID                  = 8h
KDF_PARTYUINFO                   = 9h
KDF_PARTYVINFO                   = 0Ah
KDF_SUPPPUBINFO                  = 0Bh
KDF_SUPPPRIVINFO                 = 0Ch
KDF_USE_SECRET_AS_HMAC_KEY_FLAG  = 1h
BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_VERSION = 1
BCRYPT_AUTH_MODE_CHAIN_CALLS_FLAG = 00000001h
BCRYPT_AUTH_MODE_IN_PROGRESS_FLAG = 00000002h
BCRYPT_SUPPORTED_PAD_ROUTER      = 00000001h
BCRYPT_SUPPORTED_PAD_PKCS1_ENC   = 00000002h
BCRYPT_SUPPORTED_PAD_PKCS1_SIG   = 00000004h
BCRYPT_SUPPORTED_PAD_OAEP        = 00000008h
BCRYPT_SUPPORTED_PAD_PSS         = 00000010h
BCRYPT_PROV_DISPATCH             = 00000001h
BCRYPT_BLOCK_PADDING             = 00000001h
BCRYPT_PAD_NONE                  = 00000001h
BCRYPT_PAD_PKCS1                 = 00000002h
BCRYPT_PAD_OAEP                  = 00000004h
BCRYPT_PAD_PSS                   = 00000008h
BCRYPTBUFFER_VERSION             = 0
BCRYPT_RSAPUBLIC_MAGIC           = 31415352h
BCRYPT_RSAPRIVATE_MAGIC          = 32415352h
BCRYPT_RSAFULLPRIVATE_MAGIC      = 33415352h
BCRYPT_ECDH_PUBLIC_P256_MAGIC    = 314B4345h
BCRYPT_ECDH_PRIVATE_P256_MAGIC   = 324B4345h
BCRYPT_ECDH_PUBLIC_P384_MAGIC    = 334B4345h
BCRYPT_ECDH_PRIVATE_P384_MAGIC   = 344B4345h
BCRYPT_ECDH_PUBLIC_P521_MAGIC    = 354B4345h
BCRYPT_ECDH_PRIVATE_P521_MAGIC   = 364B4345h
BCRYPT_ECDSA_PUBLIC_P256_MAGIC   = 31534345h
BCRYPT_ECDSA_PRIVATE_P256_MAGIC  = 32534345h
BCRYPT_ECDSA_PUBLIC_P384_MAGIC   = 33534345h
BCRYPT_ECDSA_PRIVATE_P384_MAGIC  = 34534345h
BCRYPT_ECDSA_PUBLIC_P521_MAGIC   = 35534345h
BCRYPT_ECDSA_PRIVATE_P521_MAGIC  = 36534345h
BCRYPT_DH_PUBLIC_MAGIC           = 42504844h
BCRYPT_DH_PRIVATE_MAGIC          = 56504844h
BCRYPT_DH_PARAMETERS_MAGIC       = 4D504844h
BCRYPT_DSA_PUBLIC_MAGIC          = 42505344h
BCRYPT_DSA_PRIVATE_MAGIC         = 56505344h
BCRYPT_KEY_DATA_BLOB_MAGIC       = 4D42444Bh
BCRYPT_KEY_DATA_BLOB_VERSION1    = 1h
BCRYPT_DSA_PARAMETERS_MAGIC      = 4D505344h
BCRYPT_CIPHER_INTERFACE          = 00000001h
BCRYPT_HASH_INTERFACE            = 00000002h
BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE = 00000003h
BCRYPT_SECRET_AGREEMENT_INTERFACE = 00000004h
BCRYPT_SIGNATURE_INTERFACE       = 00000005h
BCRYPT_RNG_INTERFACE             = 00000006h
BCRYPT_ALG_HANDLE_HMAC_FLAG      = 00000008h
BCRYPT_CIPHER_OPERATION          = 00000001h
BCRYPT_HASH_OPERATION            = 00000002h
BCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION = 00000004h
BCRYPT_SECRET_AGREEMENT_OPERATION = 00000008h
BCRYPT_SIGNATURE_OPERATION       = 00000010h
BCRYPT_RNG_OPERATION             = 00000020h
BCRYPT_PUBLIC_KEY_FLAG           = 00000001h
BCRYPT_PRIVATE_KEY_FLAG          = 00000002h
BCRYPT_NO_KEY_VALIDATION         = 00000008h
BCRYPT_RNG_USE_ENTROPY_IN_BUFFER = 00000001h
BCRYPT_USE_SYSTEM_PREFERRED_RNG  = 00000002h
CRYPT_MIN_DEPENDENCIES           = 00000001h
CRYPT_PROCESS_ISOLATE            = 00010000h
CRYPT_UM                         = 00000001h
CRYPT_KM                         = 00000002h
CRYPT_MM                         = 00000003h
CRYPT_ANY                        = 00000004h
CRYPT_OVERWRITE                  = 00000001h
CRYPT_LOCAL                      = 00000001h
CRYPT_DOMAIN                     = 00000002h
CRYPT_EXCLUSIVE                  = 00000001h
CRYPT_OVERRIDE                   = 00010000h
CRYPT_ALL_FUNCTIONS              = 00000001h
CRYPT_ALL_PROVIDERS              = 00000002h
CRYPT_PRIORITY_TOP               = 00000000h
CRYPT_PRIORITY_BOTTOM            = 0FFFFFFFFh
NCRYPT_KEY_STORAGE_INTERFACE     = 00010001h
NCRYPT_SCHANNEL_INTERFACE        = 00010002h
NCRYPT_SCHANNEL_SIGNATURE_INTERFACE = 00010003h
NCRYPTBUFFER_VERSION             = 0
NCRYPTBUFFER_EMPTY               = 0
NCRYPTBUFFER_DATA                = 1
NCRYPTBUFFER_SSL_CLIENT_RANDOM   = 20
NCRYPTBUFFER_SSL_SERVER_RANDOM   = 21
NCRYPTBUFFER_SSL_HIGHEST_VERSION = 22
NCRYPTBUFFER_SSL_CLEAR_KEY       = 23
NCRYPTBUFFER_SSL_KEY_ARG_DATA    = 24
NCRYPTBUFFER_PKCS_OID            = 40
NCRYPTBUFFER_PKCS_ALG_OID        = 41
NCRYPTBUFFER_PKCS_ALG_PARAM      = 42
NCRYPTBUFFER_PKCS_ALG_ID         = 43
NCRYPTBUFFER_PKCS_ATTRS          = 44
NCRYPTBUFFER_PKCS_KEY_NAME       = 45
NCRYPTBUFFER_PKCS_SECRET         = 46
NCRYPTBUFFER_CERT_BLOB           = 47
NCRYPT_MACHINE_KEY_FLAG          = 00000020h
NCRYPT_SILENT_FLAG               = 00000040h
NCRYPT_OVERWRITE_KEY_FLAG        = 00000080h
NCRYPT_WRITE_KEY_TO_LEGACY_STORE_FLAG = 00000200h
NCRYPT_DO_NOT_FINALIZE_FLAG      = 00000400h
NCRYPT_PERSIST_ONLY_FLAG         = 40000000h
NCRYPT_PERSIST_FLAG              = 80000000h
NCRYPT_REGISTER_NOTIFY_FLAG      = 00000001h
NCRYPT_UNREGISTER_NOTIFY_FLAG    = 00000002h
NCRYPT_MAX_PROPERTY_NAME         = 64
NCRYPT_MAX_PROPERTY_DATA         = 100000h
NCRYPT_ALLOW_EXPORT_FLAG         = 00000001h
NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG = 00000002h
NCRYPT_ALLOW_ARCHIVING_FLAG      = 00000004h
NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG = 00000008h
NCRYPT_IMPL_HARDWARE_FLAG        = 00000001h
NCRYPT_IMPL_SOFTWARE_FLAG        = 00000002h
NCRYPT_IMPL_REMOVABLE_FLAG       = 00000008h
NCRYPT_IMPL_HARDWARE_RNG_FLAG    = 00000010h
NCRYPT_ALLOW_DECRYPT_FLAG        = 00000001h
NCRYPT_ALLOW_SIGNING_FLAG        = 00000002h
NCRYPT_ALLOW_KEY_AGREEMENT_FLAG  = 00000004h
NCRYPT_ALLOW_ALL_USAGES          = 00FFFFFFh
NCRYPT_UI_PROTECT_KEY_FLAG       = 00000001h
NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG = 00000002h
NCRYPT_EXPORT_LEGACY_FLAG        = 00000800h
CERT_RDN_ENABLE_PUNYCODE_FLAG    = 02000000h
CERT_BUNDLE_CERTIFICATE          = 0
CERT_BUNDLE_CRL                  = 1
CRYPT_ENCODE_ENABLE_PUNYCODE_FLAG = 20000h
CRYPT_DECODE_ENABLE_PUNYCODE_FLAG = 02000000h
CERT_ROOT_PROGRAM_FLAG_ORG       = 80h
CERT_ROOT_PROGRAM_FLAG_LSC       = 40h
CERT_ROOT_PROGRAM_FLAG_SUBJECT_LOGO = 20h
CERT_ROOT_PROGRAM_FLAG_OU        = 10h
CERT_ROOT_PROGRAM_FLAG_ADDRESS   = 08h
CRYPT_KDF_OID_GROUP_ID           = 10
CRYPT_OID_PREFER_CNG_ALGID_FLAG  = 40000000h
CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID = 84
CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID = 85
CERT_SUBJECT_DISABLE_CRL_PROP_ID = 86
CERT_CEP_PROP_ID                 = 87
CERT_SIGN_HASH_CNG_ALG_PROP_ID   = 89
CERT_SCARD_PIN_ID_PROP_ID        = 90
CERT_SCARD_PIN_INFO_PROP_ID      = 91
CERT_NAME_STR_ENABLE_PUNYCODE_FLAG = 00200000h
CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_DEFAULT = 100*1024*1024
CERT_CHAIN_OPTION_ENABLE_SIA_URL_RETRIEVAL = 4h
CERT_TRUST_IS_FROM_EXCLUSIVE_TRUST_STORE = 00002000h
CERT_CHAIN_REVOCATION_CHECK_OCSP_CERT = 04000000h
CRYPT_STRING_HASHDATA            = 10000000h
CRYPT_STRING_STRICT              = 20000000h
CERT_SELECT_MAX_PARA             = 500
CERT_SELECT_BY_ENHKEY_USAGE      = 1
CERT_SELECT_BY_KEY_USAGE         = 2
CERT_SELECT_BY_POLICY_OID        = 3
CERT_SELECT_BY_PROV_NAME         = 4
CERT_SELECT_BY_EXTENSION         = 5
CERT_SELECT_BY_SUBJECT_HOST_NAME = 6
CERT_SELECT_BY_ISSUER_ATTR       = 7
CERT_SELECT_BY_SUBJECT_ATTR      = 8
CERT_SELECT_BY_ISSUER_NAME       = 9
CERT_SELECT_BY_PUBLIC_KEY        = 10
CERT_SELECT_BY_TLS_SIGNATURES    = 11
CERT_SELECT_LAST                 = CERT_SELECT_BY_TLS_SIGNATURES
CERT_SELECT_ALLOW_EXPIRED        = 00000001h
CERT_SELECT_TRUSTED_ROOT         = 00000002h
CERT_SELECT_DISALLOW_SELFSIGNED  = 00000004h
CERT_SELECT_HAS_PRIVATE_KEY      = 00000008h
CERT_SELECT_HAS_KEY_FOR_SIGNATURE = 00000010h
CERT_SELECT_HAS_KEY_FOR_KEY_EXCHANGE = 00000020h
CERT_SELECT_HARDWARE_ONLY        = 00000040h
CERT_SELECT_ALLOW_DUPLICATES     = 00000080h
TIMESTAMP_VERSION                = 1
TIMESTAMP_STATUS_GRANTED         = 0
TIMESTAMP_STATUS_GRANTED_WITH_MODS = 1
TIMESTAMP_STATUS_REJECTED        = 2
TIMESTAMP_STATUS_WAITING         = 3
TIMESTAMP_STATUS_REVOCATION_WARNING = 4
TIMESTAMP_STATUS_REVOKED         = 5
TIMESTAMP_FAILURE_BAD_ALG        = 0
TIMESTAMP_FAILURE_BAD_REQUEST    = 2
TIMESTAMP_FAILURE_BAD_FORMAT     = 5
TIMESTAMP_FAILURE_TIME_NOT_AVAILABLE = 14
TIMESTAMP_FAILURE_POLICY_NOT_SUPPORTED = 15
TIMESTAMP_FAILURE_EXTENSION_NOT_SUPPORTED = 16
TIMESTAMP_FAILURE_INFO_NOT_AVAILABLE = 17
TIMESTAMP_FAILURE_SYSTEM_FAILURE = 25
TIMESTAMP_DONT_HASH_DATA         = 00000001h
TIMESTAMP_VERIFY_CONTEXT_SIGNATURE = 00000020h
TIMESTAMP_NO_AUTH_RETRIEVAL      = 00020000h
__REQUIRED_RPCSAL_H_VERSION__    = 100
__RPCNDR_H_VERSION__             = 500
__RPCSAL_H_VERSION__             = 100
TARGET_IS_NT61_OR_LATER          = 1
TARGET_IS_NT60_OR_LATER          = 1
TARGET_IS_NT51_OR_LATER          = 1
TARGET_IS_NT50_OR_LATER          = 1
TARGET_IS_NT40_OR_LATER          = 1
TARGET_IS_NT351_OR_WIN95_OR_LATER = 1
cbNDRContext                     = 20
USER_CALL_IS_ASYNC               = 0100h
USER_CALL_NEW_CORRELATION_DESC   = 0200h
USER_MARSHAL_FC_BYTE             = 1
USER_MARSHAL_FC_CHAR             = 2
USER_MARSHAL_FC_SMALL            = 3
USER_MARSHAL_FC_USMALL           = 4
USER_MARSHAL_FC_WCHAR            = 5
USER_MARSHAL_FC_SHORT            = 6
USER_MARSHAL_FC_USHORT           = 7
USER_MARSHAL_FC_LONG             = 8
USER_MARSHAL_FC_ULONG            = 9
USER_MARSHAL_FC_FLOAT            = 10
USER_MARSHAL_FC_HYPER            = 11
USER_MARSHAL_FC_DOUBLE           = 12
ROTREGFLAGS_ALLOWANYCLIENT       = 1h
APPIDREGFLAGS_ACTIVATE_IUSERVER_INDESKTOP = 1h
APPIDREGFLAGS_SECURE_SERVER_PROCESS_SD_AND_BIND = 2h
APPIDREGFLAGS_ISSUE_ACTIVATION_RPC_AT_IDENTIFY = 4h
DCOMSCM_ACTIVATION_USE_ALL_AUTHNSERVICES = 1h
DCOMSCM_ACTIVATION_DISALLOW_UNSECURE_CALL = 2h
DCOMSCM_RESOLVE_USE_ALL_AUTHNSERVICES = 4h
DCOMSCM_RESOLVE_DISALLOW_UNSECURE_CALL = 8h
DCOMSCM_PING_USE_MID_AUTHNSERVICE = 10h
DCOMSCM_PING_DISALLOW_UNSECURE_CALL = 20h
WDT_INPROC64_CALL                = 50746457h
FILE_DEVICE_FIPS                 = 0000003Ah
FILE_DEVICE_INFINIBAND           = 0000003Bh
FILE_DEVICE_VMBUS                = 0000003Eh
FILE_DEVICE_CRYPT_PROVIDER       = 0000003Fh
FILE_DEVICE_WPD                  = 00000040h
FILE_DEVICE_BLUETOOTH            = 00000041h
FILE_DEVICE_MT_COMPOSITE         = 00000042h
FILE_DEVICE_MT_TRANSPORT         = 00000043h
FILE_DEVICE_BIOMETRIC            = 00000044h
FILE_DEVICE_PMI                  = 00000045h
DeviceDsmActionFlag_NonDestructive = 80000000h
DeviceDsmAction_None             = 0
DeviceDsmAction_Trim             = 1
DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE = 00000001h
DEVICE_DSM_NOTIFY_FLAG_BEGIN     = 00000001h
DEVICE_DSM_NOTIFY_FLAG_END       = 00000002h
IOCTL_STORAGE_BC_VERSION         = 1
STORAGE_PRIORITY_HINT_SUPPORTED  = 0001h
PARTITION_OS2BOOTMGR             = 0Ah
GPT_ATTRIBUTE_PLATFORM_REQUIRED  = 0000000000000001h
GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER = 8000000000000000h
GPT_BASIC_DATA_ATTRIBUTE_HIDDEN  = 4000000000000000h
GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY = 2000000000000000h
GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY = 1000000000000000h
SMART_OFFLINE_ROUTINE_OFFLINE    = 0
SMART_SHORT_SELFTEST_OFFLINE     = 1
SMART_EXTENDED_SELFTEST_OFFLINE  = 2
SMART_ABORT_OFFLINE_SELFTEST     = 127
SMART_SHORT_SELFTEST_CAPTIVE     = 129
SMART_EXTENDED_SELFTEST_CAPTIVE  = 130
SMART_LOG_SECTOR_SIZE            = 512
SMART_READ_LOG                   = 0D5h
SMART_WRITE_LOG                  = 0D6h
ELEMENT_STATUS_PRODUCT_DATA      = 00000040h
CSV_INVALID_DEVICE_NUMBER        = 0FFFFFFFFh
USN_REASON_TRANSACTED_CHANGE     = 00400000h
MARK_HANDLE_PROTECT_CLUSTERS     = 00000001h
MARK_HANDLE_TXF_SYSTEM_LOG       = 00000004h
MARK_HANDLE_NOT_TXF_SYSTEM_LOG   = 00000008h
MARK_HANDLE_REALTIME             = 00000020h
MARK_HANDLE_NOT_REALTIME         = 00000040h
NO_8DOT3_NAME_PRESENT            = 00000001h
REMOVED_8DOT3_NAME               = 00000002h
PERSISTENT_VOLUME_STATE_SHORT_NAME_CREATION_DISABLED = 00000001h
VOLUME_SESSION_OPEN              = 00000004h
FILE_PREFETCH_TYPE_FOR_CREATE    = 1h
FILE_PREFETCH_TYPE_FOR_DIRENUM   = 2h
FILE_PREFETCH_TYPE_FOR_CREATE_EX = 3h
FILE_PREFETCH_TYPE_FOR_DIRENUM_EX = 4h
FILE_PREFETCH_TYPE_MAX           = 4h
FILESYSTEM_STATISTICS_TYPE_EXFAT = 3
SET_REPAIR_ENABLED               = 00000001h
SET_REPAIR_VOLUME_BITMAP_SCAN    = 00000002h
SET_REPAIR_DELETE_CROSSLINK      = 00000004h
SET_REPAIR_WARN_ABOUT_DATA_LOSS  = 00000008h
SET_REPAIR_DISABLED_AND_BUGCHECK_ON_CORRUPT = 00000010h
SET_REPAIR_VALID_MASK            = 0000001Fh
TXFS_RM_FLAG_LOGGING_MODE        = 00000001h
TXFS_RM_FLAG_RENAME_RM           = 00000002h
TXFS_RM_FLAG_LOG_CONTAINER_COUNT_MAX = 00000004h
TXFS_RM_FLAG_LOG_CONTAINER_COUNT_MIN = 00000008h
TXFS_RM_FLAG_LOG_GROWTH_INCREMENT_NUM_CONTAINERS = 00000010h
TXFS_RM_FLAG_LOG_GROWTH_INCREMENT_PERCENT = 00000020h
TXFS_RM_FLAG_LOG_AUTO_SHRINK_PERCENTAGE = 00000040h
TXFS_RM_FLAG_LOG_NO_CONTAINER_COUNT_MAX = 00000080h
TXFS_RM_FLAG_LOG_NO_CONTAINER_COUNT_MIN = 00000100h
TXFS_RM_FLAG_GROW_LOG            = 00000400h
TXFS_RM_FLAG_SHRINK_LOG          = 00000800h
TXFS_RM_FLAG_ENFORCE_MINIMUM_SIZE = 00001000h
TXFS_RM_FLAG_PRESERVE_CHANGES    = 00002000h
TXFS_RM_FLAG_RESET_RM_AT_NEXT_START = 00004000h
TXFS_RM_FLAG_DO_NOT_RESET_RM_AT_NEXT_START = 00008000h
TXFS_RM_FLAG_PREFER_CONSISTENCY  = 00010000h
TXFS_RM_FLAG_PREFER_AVAILABILITY = 00020000h
TXFS_LOGGING_MODE_SIMPLE         = 0001h
TXFS_LOGGING_MODE_FULL           = 0002h
TXFS_TRANSACTION_STATE_NONE      = 00h
TXFS_TRANSACTION_STATE_ACTIVE    = 01h
TXFS_TRANSACTION_STATE_PREPARED  = 02h
TXFS_TRANSACTION_STATE_NOTACTIVE = 03h
TXFS_RM_STATE_NOT_STARTED        = 0
TXFS_RM_STATE_STARTING           = 1
TXFS_RM_STATE_ACTIVE             = 2
TXFS_RM_STATE_SHUTTING_DOWN      = 3
TXFS_ROLLFORWARD_REDO_FLAG_USE_LAST_REDO_LSN = 01h
TXFS_ROLLFORWARD_REDO_FLAG_USE_LAST_VIRTUAL_CLOCK = 02h
TXFS_START_RM_FLAG_LOG_CONTAINER_COUNT_MAX = 00000001h
TXFS_START_RM_FLAG_LOG_CONTAINER_COUNT_MIN = 00000002h
TXFS_START_RM_FLAG_LOG_CONTAINER_SIZE = 00000004h
TXFS_START_RM_FLAG_LOG_GROWTH_INCREMENT_NUM_CONTAINERS = 00000008h
TXFS_START_RM_FLAG_LOG_GROWTH_INCREMENT_PERCENT = 00000010h
TXFS_START_RM_FLAG_LOG_AUTO_SHRINK_PERCENTAGE = 00000020h
TXFS_START_RM_FLAG_LOG_NO_CONTAINER_COUNT_MAX = 00000040h
TXFS_START_RM_FLAG_LOG_NO_CONTAINER_COUNT_MIN = 00000080h
TXFS_START_RM_FLAG_RECOVER_BEST_EFFORT = 00000200h
TXFS_START_RM_FLAG_LOGGING_MODE  = 00000400h
TXFS_START_RM_FLAG_PRESERVE_CHANGES = 00000800h
TXFS_START_RM_FLAG_PREFER_CONSISTENCY = 00001000h
TXFS_START_RM_FLAG_PREFER_AVAILABILITY = 00002000h
TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY_FLAG_CREATED = 00000001h
TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY_FLAG_DELETED = 00000002h
TXFS_TRANSACTED_VERSION_NONTRANSACTED = 0FFFFFFFEh
TXFS_TRANSACTED_VERSION_UNCOMMITTED = 0FFFFFFFFh
TXFS_SAVEPOINT_SET               = 00000001h
TXFS_SAVEPOINT_ROLLBACK          = 00000002h
TXFS_SAVEPOINT_CLEAR             = 00000004h
TXFS_SAVEPOINT_CLEAR_ALL         = 00000010h
OPLOCK_LEVEL_CACHE_READ          = 00000001h
OPLOCK_LEVEL_CACHE_HANDLE        = 00000002h
OPLOCK_LEVEL_CACHE_WRITE         = 00000004h
REQUEST_OPLOCK_INPUT_FLAG_REQUEST = 00000001h
REQUEST_OPLOCK_INPUT_FLAG_ACK    = 00000002h
REQUEST_OPLOCK_INPUT_FLAG_COMPLETE_ACK_ON_CLOSE = 00000004h
REQUEST_OPLOCK_CURRENT_VERSION   = 1
REQUEST_OPLOCK_OUTPUT_FLAG_ACK_REQUIRED = 00000001h
REQUEST_OPLOCK_OUTPUT_FLAG_MODES_PROVIDED = 00000002h
SD_GLOBAL_CHANGE_TYPE_MACHINE_SID = 1
ENCRYPTED_DATA_INFO_SPARSE_FILE  = 1
LOOKUP_STREAM_FROM_CLUSTER_ENTRY_FLAG_PAGE_FILE = 00000001h
LOOKUP_STREAM_FROM_CLUSTER_ENTRY_FLAG_DENY_DEFRAG_SET = 00000002h
LOOKUP_STREAM_FROM_CLUSTER_ENTRY_FLAG_FS_SYSTEM_FILE = 00000004h
LOOKUP_STREAM_FROM_CLUSTER_ENTRY_FLAG_TXF_SYSTEM_FILE = 00000008h
LOOKUP_STREAM_FROM_CLUSTER_ENTRY_ATTRIBUTE_MASK = 0FF000000h
LOOKUP_STREAM_FROM_CLUSTER_ENTRY_ATTRIBUTE_DATA = 01000000h
LOOKUP_STREAM_FROM_CLUSTER_ENTRY_ATTRIBUTE_INDEX = 02000000h
LOOKUP_STREAM_FROM_CLUSTER_ENTRY_ATTRIBUTE_SYSTEM = 03000000h
FILE_TYPE_NOTIFICATION_FLAG_USAGE_BEGIN = 00000001h
FILE_TYPE_NOTIFICATION_FLAG_USAGE_END = 00000002h
IOCTL_VOLUME_BASE                = 00000056h
SCARD_ATR_LENGTH                 = 33
SCARD_PROTOCOL_UNDEFINED         = 00000000h
SCARD_PROTOCOL_T0                = 00000001h
SCARD_PROTOCOL_T1                = 00000002h
SCARD_PROTOCOL_RAW               = 00010000h
SCARD_PROTOCOL_DEFAULT           = 80000000h
SCARD_PROTOCOL_OPTIMAL           = 00000000h
SCARD_POWER_DOWN                 = 0
SCARD_COLD_RESET                 = 1
SCARD_WARM_RESET                 = 2
MAXIMUM_ATTR_STRING_LENGTH       = 32
MAXIMUM_SMARTCARD_READERS        = 10
SCARD_CLASS_VENDOR_INFO          = 1
SCARD_CLASS_COMMUNICATIONS       = 2
SCARD_CLASS_PROTOCOL             = 3
SCARD_CLASS_POWER_MGMT           = 4
SCARD_CLASS_SECURITY             = 5
SCARD_CLASS_MECHANICAL           = 6
SCARD_CLASS_VENDOR_DEFINED       = 7
SCARD_CLASS_IFD_PROTOCOL         = 8
SCARD_CLASS_ICC_STATE            = 9
SCARD_CLASS_PERF                 = 7FFEh
SCARD_CLASS_SYSTEM               = 7FFFh
SCARD_T0_HEADER_LENGTH           = 7
SCARD_T0_CMD_LENGTH              = 5
SCARD_T1_PROLOGUE_LENGTH         = 3
SCARD_T1_EPILOGUE_LENGTH         = 2
SCARD_T1_MAX_IFS                 = 254
SCARD_UNKNOWN                    = 0
SCARD_ABSENT                     = 1
SCARD_PRESENT                    = 2
SCARD_SWALLOWED                  = 3
SCARD_POWERED                    = 4
SCARD_NEGOTIABLE                 = 5
SCARD_SPECIFIC                   = 6
SCARD_READER_SWALLOWS            = 00000001h
SCARD_READER_EJECTS              = 00000002h
SCARD_READER_CONFISCATES         = 00000004h
SCARD_READER_TYPE_SERIAL         = 01h
SCARD_READER_TYPE_PARALELL       = 02h
SCARD_READER_TYPE_KEYBOARD       = 04h
SCARD_READER_TYPE_SCSI           = 08h
SCARD_READER_TYPE_IDE            = 10h
SCARD_READER_TYPE_USB            = 20h
SCARD_READER_TYPE_PCMCIA         = 40h
SCARD_READER_TYPE_VENDOR         = 0F0h
FACILITY_SYSTEM                  = 0h
SCARD_E_PIN_CACHE_EXPIRED        = 80100032h
SCARD_E_NO_PIN_CACHE             = 80100033h
SCARD_E_READ_ONLY_CARD           = 80100034h
PSP_USEHICON                     = 00000002h
PSP_USEFUSIONCONTEXT             = 00004000h
PSPCB_ADDREF                     = 0
PSH_USEHICON                     = 00000002h
PSH_WIZARD97                     = 00002000h
PSH_WIZARD_LITE                  = 00400000h
PSH_NOCONTEXTHELP                = 02000000h
PSH_AEROWIZARD                   = 00004000h
PSH_RESIZABLE                    = 04000000h
PSH_HEADERBITMAP                 = 08000000h
PSH_NOMARGIN                     = 10000000h
PSCB_BUTTONPRESSED               = 3
PSN_TRANSLATEACCELERATOR         = PSN_FIRST-12
PSN_QUERYINITIALFOCUS            = PSN_FIRST-13
PSNRET_MESSAGEHANDLED            = 3
PSWIZBF_ELEVATIONREQUIRED        = 00000001h
PSWIZB_CANCEL                    = 00000010h
PSWIZB_SHOW                      = 0
PSWIZB_RESTORE                   = 1
PRINTER_ATTRIBUTE_TS_GENERIC_DRIVER = 00200000h
PRINTER_DRIVER_SANDBOX_ENABLED   = 00000004h
SERVER_NOTIFY_TYPE               = 02h
SERVER_NOTIFY_FIELD_PRINT_DRIVER_ISOLATION_GROUP = 00h
PRINTER_CHANGE_SERVER            = 08000000h
CF_INACTIVEFONTS                 = 02000000h
SYMBOL_FONTTYPE                  = 80000h
CHAR_BIT                         = 8
SCHAR_MIN                        = -128
SCHAR_MAX                        = 127
UCHAR_MAX                        = 0FFh
CHAR_MIN                         = SCHAR_MIN
CHAR_MAX                         = SCHAR_MAX
MB_LEN_MAX                       = 5
SHRT_MIN                         = -32768
SHRT_MAX                         = 32767
USHRT_MAX                        = 0FFFFh
INT_MAX                          = 2147483647
UINT_MAX                         = 0FFFFFFFFh
LONG_MAX                         = 2147483647
ULONG_MAX                        = 0FFFFFFFFh
LLONG_MAX                        = 9223372036854775807
ULLONG_MAX                       = 0FFFFFFFFFFFFFFFFh
_I8_MAX                          = 127
_UI8_MAX                         = 0FFh
_I16_MAX                         = 32767
_UI16_MAX                        = 0FFFFh
_I32_MAX                         = 2147483647
_UI32_MAX                        = 0FFFFFFFFh
_I64_MAX                         = 9223372036854775807
_UI64_MAX                        = 0FFFFFFFFFFFFFFFFh
SIZE_MAX                         = UINT_MAX
RSIZE_MAX                        = SIZE_MAX
_POSIX_ARG_MAX                   = 4096
_POSIX_CHILD_MAX                 = 6
_POSIX_LINK_MAX                  = 8
_POSIX_MAX_CANON                 = 255
_POSIX_MAX_INPUT                 = 255
_POSIX_NAME_MAX                  = 14
_POSIX_NGROUPS_MAX               = 0
_POSIX_OPEN_MAX                  = 16
_POSIX_PATH_MAX                  = 255
_POSIX_PIPE_BUF                  = 512
_POSIX_SSIZE_MAX                 = 32767
_POSIX_STREAM_MAX                = 8
_POSIX_TZNAME_MAX                = 3
ARG_MAX                          = 14500
LINK_MAX                         = 1024
MAX_CANON                        = _POSIX_MAX_CANON
MAX_INPUT                        = _POSIX_MAX_INPUT
NAME_MAX                         = 255
NGROUPS_MAX                      = 16
OPEN_MAX                         = 32
PATH_MAX                         = 512
PIPE_BUF                         = _POSIX_PIPE_BUF
SSIZE_MAX                        = _POSIX_SSIZE_MAX
STREAM_MAX                       = 20
TZNAME_MAX                       = 10
EXIT_SUCCESS                     = 0
EXIT_FAILURE                     = 1
RAND_MAX                         = 7FFFh
_MAX_PATH                        = 260
_MAX_DRIVE                       = 3
_MAX_DIR                         = 256
_MAX_FNAME                       = 256
_MAX_EXT                         = 256
_OUT_TO_DEFAULT                  = 0
_OUT_TO_STDERR                   = 1
_OUT_TO_MSGBOX                   = 2
_REPORT_ERRMODE                  = 3
_WRITE_ABORT_MSG                 = 1h
_CALL_REPORTFAULT                = 2h
_MAX_ENV                         = 32767
STGM_NOSCRATCH                   = 00100000h
STGM_NOSNAPSHOT                  = 00200000h
STGM_DIRECT_SWMR                 = 00400000h
ASYNC_MODE_COMPATIBILITY         = 00000001h
ASYNC_MODE_DEFAULT               = 00000000h
STGTY_REPEAT                     = 00000100h
STG_TOEND                        = 0FFFFFFFFh
STG_LAYOUT_SEQUENTIAL            = 00000000h
STG_LAYOUT_INTERLEAVED           = 00000001h
STGFMT_STORAGE                   = 0
STGFMT_NATIVE                    = 1
STGFMT_FILE                      = 3
STGFMT_ANY                       = 4
STGFMT_DOCFILE                   = 5
STGFMT_DOCUMENT                  = 0
COM_RIGHTS_EXECUTE               = 1
COM_RIGHTS_EXECUTE_LOCAL         = 2
COM_RIGHTS_EXECUTE_REMOTE        = 4
COM_RIGHTS_ACTIVATE_LOCAL        = 8
COM_RIGHTS_ACTIVATE_REMOTE       = 16
STGOPTIONS_VERSION               = 1
FMFD_SERVERMIME                  = 00000008h
UAS_EXACTLEGACY                  = 00001000h
URLACTION_ACTIVEX_OVERRIDE_DOMAINLIST = 0000120Bh
URLACTION_SCRIPT_XSSFILTER       = 00001409h
URLACTION_SHELL_REMOTEQUERY      = 0000180Eh
URLACTION_SHELL_PREVIEW          = 0000180Fh
URLACTION_DOTNET_USERCONTROLS    = 00002005h
URLACTION_FEATURE_DATA_BINDING   = 00002106h
URLACTION_INPRIVATE_BLOCKING     = 00002700h
PROPSETFLAG_DEFAULT              = 0
PROPSETFLAG_NONSIMPLE            = 1
PROPSETFLAG_ANSI                 = 2
PROPSETFLAG_UNBUFFERED           = 4
PROPSETFLAG_CASE_SENSITIVE       = 8
PROPSET_BEHAVIOR_CASE_SENSITIVE  = 1
PID_DICTIONARY                   = 0
PID_CODEPAGE                     = 1h
PID_FIRST_USABLE                 = 2h
PID_FIRST_NAME_DEFAULT           = 0FFFh
PID_LOCALE                       = 80000000h
PID_MODIFY_TIME                  = 80000001h
PID_SECURITY                     = 80000002h
PID_BEHAVIOR                     = 80000003h
PID_ILLEGAL                      = 0FFFFFFFFh
PID_MIN_READONLY                 = 80000000h
PID_MAX_READONLY                 = 0BFFFFFFFh
PIDDI_THUMBNAIL                  = 00000002h
PIDSI_TITLE                      = 00000002h
PIDSI_SUBJECT                    = 00000003h
PIDSI_AUTHOR                     = 00000004h
PIDSI_KEYWORDS                   = 00000005h
PIDSI_COMMENTS                   = 00000006h
PIDSI_TEMPLATE                   = 00000007h
PIDSI_LASTAUTHOR                 = 00000008h
PIDSI_REVNUMBER                  = 00000009h
PIDSI_EDITTIME                   = 0000000Ah
PIDSI_LASTPRINTED                = 0000000Bh
PIDSI_CREATE_DTM                 = 0000000Ch
PIDSI_LASTSAVE_DTM               = 0000000Dh
PIDSI_PAGECOUNT                  = 0000000Eh
PIDSI_WORDCOUNT                  = 0000000Fh
PIDSI_CHARCOUNT                  = 00000010h
PIDSI_THUMBNAIL                  = 00000011h
PIDSI_APPNAME                    = 00000012h
PIDSI_DOC_SECURITY               = 00000013h
PIDDSI_CATEGORY                  = 00000002h
PIDDSI_PRESFORMAT                = 00000003h
PIDDSI_BYTECOUNT                 = 00000004h
PIDDSI_LINECOUNT                 = 00000005h
PIDDSI_PARCOUNT                  = 00000006h
PIDDSI_SLIDECOUNT                = 00000007h
PIDDSI_NOTECOUNT                 = 00000008h
PIDDSI_HIDDENCOUNT               = 00000009h
PIDDSI_MMCLIPCOUNT               = 0000000Ah
PIDDSI_SCALE                     = 0000000Bh
PIDDSI_HEADINGPAIR               = 0000000Ch
PIDDSI_DOCPARTS                  = 0000000Dh
PIDDSI_MANAGER                   = 0000000Eh
PIDDSI_COMPANY                   = 0000000Fh
PIDDSI_LINKSDIRTY                = 00000010h
PIDMSI_EDITOR                    = 00000002h
PIDMSI_SUPPLIER                  = 00000003h
PIDMSI_SOURCE                    = 00000004h
PIDMSI_SEQUENCE_NO               = 00000005h
PIDMSI_PROJECT                   = 00000006h
PIDMSI_STATUS                    = 00000007h
PIDMSI_OWNER                     = 00000008h
PIDMSI_RATING                    = 00000009h
PIDMSI_PRODUCTION                = 0000000Ah
PIDMSI_COPYRIGHT                 = 0000000Bh
PRSPEC_INVALID                   = 0FFFFFFFFh
PRSPEC_LPWSTR                    = 0
PRSPEC_PROPID                    = 1
PROPSETHDR_OSVERSION_UNKNOWN     = 0FFFFFFFFh
CCH_MAX_PROPSTG_NAME             = 31
STDOLE_MAJORVERNUM               = 1h
STDOLE_MINORVERNUM               = 0h
STDOLE_LCID                      = 0000h
STDOLE2_MAJORVERNUM              = 2h
STDOLE2_MINORVERNUM              = 0h
STDOLE2_LCID                     = 0000h
FADF_AUTO                        = 1h
FADF_STATIC                      = 2h
FADF_EMBEDDED                    = 4h
FADF_FIXEDSIZE                   = 10h
FADF_RECORD                      = 20h
FADF_HAVEIID                     = 40h
FADF_HAVEVARTYPE                 = 80h
FADF_BSTR                        = 100h
FADF_UNKNOWN                     = 200h
FADF_DISPATCH                    = 400h
FADF_VARIANT                     = 800h
FADF_RESERVED                    = 0F008h
PARAMFLAG_NONE                   = 0
PARAMFLAG_FIN                    = 1h
PARAMFLAG_FOUT                   = 2h
PARAMFLAG_FLCID                  = 4h
PARAMFLAG_FRETVAL                = 8h
PARAMFLAG_FOPT                   = 10h
PARAMFLAG_FHASDEFAULT            = 20h
PARAMFLAG_FHASCUSTDATA           = 40h
IMPLTYPEFLAG_FDEFAULT            = 1h
IMPLTYPEFLAG_FSOURCE             = 2h
IMPLTYPEFLAG_FRESTRICTED         = 4h
IMPLTYPEFLAG_FDEFAULTVTABLE      = 8h
DISPID_UNKNOWN                   = -1
DISPID_VALUE                     = 0
DISPID_PROPERTYPUT               = -3
DISPID_NEWENUM                   = -4
DISPID_EVALUATE                  = -5
DISPID_CONSTRUCTOR               = -6
DISPID_DESTRUCTOR                = -7
DISPID_COLLECT                   = -8
VARIANT_NOVALUEPROP              = 01h
VARIANT_ALPHABOOL                = 02h
VARIANT_NOUSEROVERRIDE           = 04h
VARIANT_CALENDAR_HIJRI           = 08h
VARIANT_LOCALBOOL                = 10h
VARIANT_CALENDAR_THAI            = 20h
VARIANT_CALENDAR_GREGORIAN       = 40h
VARIANT_USE_NLS                  = 80h
VAR_TIMEVALUEONLY                = 00000001h
VAR_DATEVALUEONLY                = 00000002h
VAR_VALIDDATE                    = 00000004h
VAR_CALENDAR_HIJRI               = 00000008h
VAR_LOCALBOOL                    = 00000010h
VAR_FORMAT_NOSUBSTITUTE          = 00000020h
VAR_FOURDIGITYEARS               = 00000040h
LOCALE_USE_NLS                   = 10000000h
VAR_CALENDAR_THAI                = 00000080h
VAR_CALENDAR_GREGORIAN           = 00000100h
VTDATEGRE_MAX                    = 2958465
VTDATEGRE_MIN                    = -657434
NUMPRS_LEADING_WHITE             = 0001h
NUMPRS_TRAILING_WHITE            = 0002h
NUMPRS_LEADING_PLUS              = 0004h
NUMPRS_TRAILING_PLUS             = 0008h
NUMPRS_LEADING_MINUS             = 0010h
NUMPRS_TRAILING_MINUS            = 0020h
NUMPRS_HEX_OCT                   = 0040h
NUMPRS_PARENS                    = 0080h
NUMPRS_DECIMAL                   = 0100h
NUMPRS_THOUSANDS                 = 0200h
NUMPRS_CURRENCY                  = 0400h
NUMPRS_EXPONENT                  = 0800h
NUMPRS_USE_ALL                   = 1000h
NUMPRS_STD                       = 1FFFh
NUMPRS_NEG                       = 10000h
NUMPRS_INEXACT                   = 20000h
VARCMP_LT                        = 0
VARCMP_EQ                        = 1
VARCMP_GT                        = 2
VARCMP_NULL                      = 3
ID_DEFAULTINST                   = -2
DISPATCH_METHOD                  = 1h
DISPATCH_PROPERTYGET             = 2h
DISPATCH_PROPERTYPUT             = 4h
DISPATCH_PROPERTYPUTREF          = 8h
LOAD_TLB_AS_32BIT                = 20h
LOAD_TLB_AS_64BIT                = 40h
ACTIVEOBJECT_STRONG              = 0h
ACTIVEOBJECT_WEAK                = 1h
UPDFCACHE_NODATACACHE            = 1h
UPDFCACHE_ONSAVECACHE            = 2h
UPDFCACHE_ONSTOPCACHE            = 4h
UPDFCACHE_NORMALCACHE            = 8h
UPDFCACHE_IFBLANK                = 10h
UPDFCACHE_ONLYIFBLANK            = 80000000h
MK_ALT                           = 20h
DROPEFFECT_NONE                  = 0
DROPEFFECT_SCROLL                = 80000000h
DD_DEFSCROLLINSET                = 11
DD_DEFSCROLLDELAY                = 50
DD_DEFSCROLLINTERVAL             = 50
DD_DEFDRAGDELAY                  = 200
DD_DEFDRAGMINDIST                = 2
SERVICE_CONTROL_TIMECHANGE       = 00000010h
SERVICE_CONTROL_TRIGGEREVENT     = 00000020h
SERVICE_ACCEPT_TIMECHANGE        = 00000200h
SERVICE_ACCEPT_TRIGGEREVENT      = 00000400h
SERVICE_CONFIG_TRIGGER_INFO      = 8
SERVICE_CONFIG_PREFERRED_NODE    = 9
SERVICE_TRIGGER_TYPE_DEVICE_INTERFACE_ARRIVAL = 1
SERVICE_TRIGGER_TYPE_IP_ADDRESS_AVAILABILITY = 2
SERVICE_TRIGGER_TYPE_DOMAIN_JOIN = 3
SERVICE_TRIGGER_TYPE_FIREWALL_PORT_EVENT = 4
SERVICE_TRIGGER_TYPE_GROUP_POLICY = 5
SERVICE_TRIGGER_TYPE_CUSTOM      = 20
SERVICE_TRIGGER_DATA_TYPE_BINARY = 1
SERVICE_TRIGGER_DATA_TYPE_STRING = 2
SERVICE_TRIGGER_ACTION_SERVICE_START = 1
SERVICE_TRIGGER_ACTION_SERVICE_STOP = 2

;;;; end vc2010
